help with ftp command
| From: | Kansas Territory | Date: | Sun, 09 Dec 2001 17:32:18 +0000 |
| Subject: | help with ftp command | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-77158@lists.php.net to get a copy of this message | ||
Trying to use the ftp function in PHP3. I've been able to use it to ftp an existing file, but what I would like to do is create a file on the fly, and then ftp that file to a remote location.
for example, if I have some text defined in a variable like so:
$mytext = "here is some text"
I would like to be able to ftp this file and save it as "myfile.txt"
any suggestions would be appreciated.
Kansast