php - using jquery FileTree to access a different server? -
php - using jquery FileTree to access a different server? -
i attempting access files on different server using file tree. wondering if possible? it's using php script pull data. able root of own server, can't seem direct link server.
you seek creating own custom php connector , set utilize ftp rather scandir. should not hard - create new version of /connectors/jqueryfiletree.php file. below basic illustration of connecting ftp server using php going.
$conn = ftp_connect("ftp.hostname.com"); $login = ftp_login($conn, "username", "password"); $n = ftp_nlist($conn, "dir"); foreach($n $value){ echo $value, "<br />"; }
php javascript jquery
Comments
Post a Comment