Posted by tony on 06/13/06 10:35
In article <OGijg.9242$iF6.2180@pd7tw2no>, e01@removethis.toao.net
says...
> Hi everybody :)
>
> I am trying to write a script that makes cURL submit the following form:
>
> <form method="post" action="script.php" enctype="multipart/form-data">
> <input type="file" name="somefile">
> <input type="submit" value="Send File">
> </form>
>
> I've found a few examples of how to do this, but they all require me
> creating a file first. I have the data I would like to submit in a PHP
> variable, and for security reasons, I would prefer not to write this to
> a file.
>
> If anyone has any ideas on this, that would rock all kinds of worlds.
>
> HC :)
>
HC
I don't know if this helps but you may want to look at my thread
"about posting forms" I updated 12/12/06 - that may point you in
a useful direction.
I do something that sounds similar to your needs if I understand you
correctly. It won't help if you must use "cURL" though (I dont know what
that does I' afraid)
tony
[Back to original message]
|