Re: Hi all & Help :D
| From: | Analysis & Solutions | Date: | Thu, 30 May 2002 18:47:10 +0000 |
| Subject: | Re: Hi all & Help :D | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-99970@lists.php.net to get a copy of this message | ||
On Thu, May 30, 2002 at 07:26:41PM -0700, Anthony wrote:
>
> Im working on a FTP uploader in php, but not for my own site, I want to
> offer it was a service to so over people can upload to there sites using my
> FTP script... but when you put the destonation (once they have connected) to
> / it trys to upload to a path in my site.
The upload process only goes to your site, since that's where the script
is and that's how the file upload process works. Do the upload, save
the file in a temporary location, then use your script to open an FTP
socket to the remote host then transfer the file there, finally, delete
the temporary file.
--Dan
--
PHP classes that make web design easier
SQL Solution | Layout Solution | Form Solution
sqlsolution.info | layoutsolution.info | formsolution.info
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409