dcsimg
www.webdeveloper.com
Results 1 to 4 of 4

Thread: Is it possible to upload an image using GET?

  1. #1
    Join Date
    May 2009
    Location
    Rochester, NY
    Posts
    372

    Question Is it possible to upload an image using GET?

    I would like to add an image uploader to my site. From what I can tell, I need to use POST methods to send the data from the uploaded file to the next page. If I use the GET method, the $files variables don't get the information.

    Is there a way to use the GET method? The way my site's set up, it would be much easier to use GET.

  2. #2
    Join Date
    Apr 2010
    Posts
    227
    Pretty sure GET is heavily limited in size.

    Say 2K to 8K maximum.

    GET cant be used IMHO

  3. #3
    Join Date
    May 2009
    Location
    Rochester, NY
    Posts
    372
    I'm wondering if it has something to do with character encoding. Maybe GET will cause problems with encoding, but POST preserves the characters?

  4. #4
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    19,614
    Besides the size restrictions, I don't think that enctype="multipart/form-data" has any meaning for GET. Besides, since uploading a file makes a change on the server, you should not use GET, anyway.
    "Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
    ~ Terry Pratchett in Nation

    eBookworm.us

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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



Recent Articles