Page 1 of 1

images with php

Posted: Mon Jul 23, 2007 6:10 pm
by dt2k
I am creating a form and need to upload an image which will be displayed on the following page once the form is processed. I need a bit of help on how to get the image displayed using php and am struggling to find any suitable tutorials. Please could anybody help?

Thanks
David

Posted: Mon Jul 23, 2007 6:38 pm
by superdezign
You save the image and then just put that new filename into an <img /> tag.

Posted: Mon Jul 23, 2007 8:15 pm
by Benjamin
This should be a good starting point. Give it a go and if you get stuck just post on here and we will help you out..

http://www.php.net/manual/en/features.file-upload.php