Re: Simulating a FORM POST thing (HELP!)

From: Date: Sun, 26 May 2002 20:42:32 +0000
Subject: Re: Simulating a FORM POST thing (HELP!)
References: 1 2 3 4 5  Groups: php.db php.general 
Request: Send a blank email to php-db+get-19453@lists.php.net to get a copy of this message
Have a look in the manual. It's something like createfrombmp(). Might be imagecreatefrombmp(). It's in the images section of functions. You might need to have the gd library installed for it to work. You could always use fopen() and fread() to open and read the file. Use it in binary mode for images and stuff. "Georgie Casey" <webmaster@filmfind.tv> wrote in message news:20020526203019.51934.qmail@pb1.pair.com... > that function doest exist! > > "Peter" <newsaddress@saracenvsu.org.uk> wrote in message > news:20020526201501.42693.qmail@pb1.pair.com... > > Windows Bitmap = BMP file > > a WBMP is a wireless bitmap image and is designed for display on mobile > > phones. A lot of software doesn't understand the format. > > > > You need to use createfrombmp() not createfromwbmp() > > > > > > "Georgie Casey" <webmaster@filmfind.tv> wrote in message > > news:20020526200452.34356.qmail@pb1.pair.com... > > > i'm getting an error message saying my BMP file i'm trying to convert > isnt > > a > > > valid WBMP file? is dere a difference between BMP and WBMP? I just > opened > > my > > > GIF file into PSP7 and and saved as a windows bmp. > > > > > > why isnt it working? > > > "Peter" <newsaddress@saracenvsu.org.uk> wrote in message > > > news:20020526191546.18529.qmail@pb1.pair.com... > > > > <?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?? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >

« previous php.db (#19453) next »