Displaying uploaded images

Discussion in 'PHP' started by Ayuk Roland, Apr 1, 2008.

  1. #1
    Please I need a PHP script that can dislpay and image once it is uploaded into a form.
    I don't know if PHP is the best programming language to handle this problem.Please I have been stock here for days now.
    This is necessary such that the user ser the picture he has uploaded before submitting the form.
     
    Ayuk Roland, Apr 1, 2008 IP
  2. crazynp

    crazynp Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    you just need to show the image from where it has been uploaded. Here is the idea :

    if image uploaded without error
    use the img tag to show the image
    else
    print "invalid image file" error

    Hope this solves your problem.
     
    crazynp, Apr 4, 2008 IP