|
Posted by HC on 05/05/06 10:04
One of the websites I work with has a form to fill in which includes an
input to allow me to upload a file. I'm trying to write a PHP script to
automate the process, but I can't figure out how to make PHP upload the
file. I've been playing about with curl, but haven't had any luck.
The issue is that the data I want to upload isn't actually in a file;
it's sitting in a variable in a PHP script, and all the examples I've
found seem to assume an existing file, which for various reasons I want
to avoid.
If anyone could point me in the right direction, I would really
appreciate it!
HC
Navigation:
[Reply to this message]
|