Click to See Complete Forum and Search --> : upload the image in php


anupriya
06-21-2006, 04:53 AM
hi to allllllllllllllll

i want to upload the image and display in php file how to write code for that anyone help me


html code

<form action="im2.php" method="POST" enctype="multipart/form-data">
<input type="hidden" name="MAX_FILE_SIZE" value="25000"> Upload Image: <input type="file" name="imgfile">
<font size="1">Click browse to upload a local file</font>
<input type="submit" value="Upload Image">
</form>

then how to write php code for that.................

can u help me..................

use of the browse button select the image path then it will display in the php file while i click submit button.

thanks

NogDog
06-21-2006, 06:38 AM
Have you looked at the "sticky" threads at the top of this PHP forum?

anupriya
06-21-2006, 06:47 AM
No way its not getting ya thats why i post the thread no image will display in php file ok

LiLcRaZyFuZzY
06-21-2006, 09:32 AM
No way its not getting ya thats why i post the thread no image will display in php file ok
erm..what?!

bokeh
06-21-2006, 09:44 AM
No way its not getting ya thats why i post the thread no image will display in php file okDownload the zip file and upload the contents to your server. No need to do anything more. The script is ready to run.

DaveinLondon
06-21-2006, 10:13 AM
Unupira - hope you sorted it

Bokers script in the sticky is really what you need.
You'll learn a lot by working through it as well - I did!

Take your time - its worth it.!