Re: Simulating a FORM POST thing (HELP!)
| From: | Peter | Date: | Sun, 26 May 2002 19:15:03 +0000 |
| Subject: | Re: Simulating a FORM POST thing (HELP!) | ||
| References: | 1 | Groups: | php.db php.general |
| Request: | Send a blank email to php-db+get-19444@lists.php.net to get a copy of this message | ||
<?PHP
$im = createfrombmp("image");
print "<FORM METHOD=\"post\" ACTION=\"actionpage.php\">";
print "<INPUT TYPE=\"hidden\" NAME=\"image\"
VALUE=\"$im\">";
?>
you get the idea
I think PHP does have other funtions for file uplading though.
"Georgie Casey" <webmaster@filmfind.tv> wrote in message
news:20020526190801.8874.qmail@pb1.pair.com...
> Rite, when you see a web form, you know you can simulate the submit by
> filling in the values in the address field, just like a GET method, and it
> usually works the exact same. But how do you do it when one of the fields
in
> the form is a file upload?!?!?!
>
> For the record, its a GIF file you've to upload. Is there any way to do
this
> in PHP??
>
>
>
>