hi all
i got another problem, i want to save a file at a ftp server, so i use the ftp_put() function of php. i uses the script below. i searched every fourum and mailinglist, but i do not find a solution or i am too stupid (as stupid as my german english must sound...). because i got the following error:
error opening Resource id#4
when i used this code:
$conn_id = ftp_connect($ftp_server);
$destination_file = \"filename.html\";
$tmp_source_file = tmpfile();
fwrite($tmp_source_file, $return);
$upload = ftp_put($conn_id, $destination_file, $tmp_source_file, FTP_ASCII);
fclose($tmp_source_file);
ftp_quit($conn_id);
and how can i stretch the time, iis permit php to process one script?
thanks a lot
morem