fwrite to FTP
Posted: Sun Apr 17, 2005 12:29 pm
My problem is that when I run the script...
... I get the error...
I tried to add this line, in the php script file:
ini_set('allow_url_fopen', 1);
...But the same error, still comes. Any ideas?
Code: Select all
$file = fopen("e;ftp://username:password@swede-wow.kicks-ass.org/somefile.txt"e;,"e;w"e;);
fwrite ($file, $text);
fclose ($file);Code: Select all
fopen(): URL file-access is disabled in the server configurationini_set('allow_url_fopen', 1);
...But the same error, still comes. Any ideas?