jazzman121
September 27th, 2003, 10:20 AM
ok what if i used ftp with user name and password to edit say a text file would it make things slower??
$handle = fopen ("ftp://user:password@example.com/somefile.txt", "r+");
say i had a text file on my server and a page that users can come to and add text into the text file but i dont want to make the text file(chmod) read/write to all users ... can i use this in the php thus making it safe coz users wont get the password ... but will it be slower or anything coz its accessing via ftp?? just wondering
hope that makes sense
$handle = fopen ("ftp://user:password@example.com/somefile.txt", "r+");
say i had a text file on my server and a page that users can come to and add text into the text file but i dont want to make the text file(chmod) read/write to all users ... can i use this in the php thus making it safe coz users wont get the password ... but will it be slower or anything coz its accessing via ftp?? just wondering
hope that makes sense