POST file transferring
| From: | Maris Kalnins | Date: | Wed, 30 Oct 2002 17:27:18 +0000 |
| Subject: | POST file transferring | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-90324@lists.php.net to get a copy of this message | ||
Hi guys!
The situation is following:
I need to transfer a file from one server to another by POST
method. Goal server has a getfile.php script that actually
is placing the file in temp directory for further opening and reading
using fopen(..)
the thing i cannot get into is how to send from one php script
(without any forms) to another a file and get this filename and
the file itself out of some POST variables in getfile.php
could somebody explain me this?
Thanks
P.S. I saw some partially and poor documented info about using
curl, but the whole picture didnt come clear!