Skip to main content
Participant
February 25, 2008
Question

Image Form Field

  • February 25, 2008
  • 1 reply
  • 423 views
Hello,

I'm trying to make a form that a user can insert a picture into. Essentially, the user puts his name, address, etc., and also a picture of himself. How do I make a form to do this?

Thanks!
This topic has been closed for replies.

1 reply

Inspiring
February 26, 2008
Insert a file field, thats the easy part, then you need to code for the file to be uploaded to the server, how to do that depends on what scripting language you are using. Search for file upload in the language you are using ex. ASP file upload, or PHP file upload
Participant
February 27, 2008
I am using php and am new to coding. Could you please tell me how to do that? Thanks for your help, I appreciate it.
Inspiring
February 28, 2008
Here is a page for a basic file upload in PHP, one thing the only validation is to check if the file is a image-jpeg, you can change this and i would.