upload image

Results 1 to 2 of 2

Thread: upload image

  1. #1
    Join Date
    Dec 1969
    Posts
    2

    Default upload image

    How can I upload an image from the web without using any components ? I could do it for text files by specifying the FILE ENCTYPE as MULTIPART/FORM-DATA and reading the text from the http header at the server. How can I do it for images ?? Thanks in advance ...<BR>Nibu

  2. #2
    Louis Toyama Guest

    Default RE: upload image

    Nibu,<BR><BR>Try the below codes. Also, could you send me the code of how you can read the text from the http header at the server. My email address is louis@gsu.edu<BR><BR>Thanks a lot.<BR><BR>&#060;HTML><BR>&#060;HEAD>&#060;TITLE> File Upload &#060;/TITLE>&#060;/HEAD><BR>&#060;BODY><BR><BR>&#060;FORM ENCTYPE="multipart/form-data"<BR>ACTION="uploadresult.asp" METHOD=POST><BR><BR>Please choose a picture to upload:<BR><BR>&#060;INPUT NAME="picture" TYPE=FILE ACCEPT="image/*"><BR><BR>&#060;INPUT TYPE=SUBMIT VALUE="Submit Me!"><BR>&#060;/FORM><BR><BR>&#060;/BODY><BR>&#060;/HTML>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •