Write the file with ftp right away:

// Define the filename to write to.
$filename = 'ftp://username:[EMAIL PROTECTED]/your_webdir/test.txt';
// Open the file for overwriting.
$fp = fopen($filename, "w");
// Write the string to the file
$write = fputs($fp, $string);
// Close the file
fclose($fp);



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to