944,028 Members | Top Members by Rank

Ad:
Nov 12th, 2006
0

Image Upload/Acquisition

Expand Post »
I'm putting this here because I don't really know where would be best, if I could pick a language-categorised solution I probably wouldn't be asking atall...I don't need a solution so much as a pointer.

How do you get a file from a user's computer to a server, from a browser? I'm thinking the multitude of sites that do this: Browse > Upload > Image Sent for "Checking" >(some time layer)> Image appears on site.

How does the very first bit work? Javascript frontend to a SS backend? A binary post request initialised by JavaScript? How does it get past the security on browsers like Firefox? I found out by accident that I can view all my local files (if I know where they are) in Internet Explorer, but thats another topic entirely.

Any ideas?
Similar Threads
Moderator
Featured Poster
Reputation Points: 522
Solved Threads: 64
Veteran Poster
MattEvans is offline Offline
1,091 posts
since Jul 2006
Nov 13th, 2006
0

Re: Image Upload/Acquisition

w00t. sorted/solved it.
<form enctype="multipart/form-data" method=post action="{removed}">
    <input type="file" name="file"/>
    <input type="submit"/>
</form>
Moderator
Featured Poster
Reputation Points: 522
Solved Threads: 64
Veteran Poster
MattEvans is offline Offline
1,091 posts
since Jul 2006

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in IT Professionals' Lounge Forum Timeline: mesa gl with x/gnome/kde
Next Thread in IT Professionals' Lounge Forum Timeline: LNX-BCC USB Mouse





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC