images with php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dt2k
Forum Newbie
Posts: 1
Joined: Mon Jul 23, 2007 6:01 pm

images with php

Post 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
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

You save the image and then just put that new filename into an <img /> tag.
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post 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
Post Reply