User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Web Developers' Lounge section within the Web Development category of DaniWeb, a massive community of 391,550 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,583 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Web Developers' Lounge advertiser:
Views: 1625 | Replies: 1 | Solved
Reply
Join Date: Jul 2006
Location: Deptford, London
Posts: 936
Reputation: MattEvans has a spectacular aura about MattEvans has a spectacular aura about 
Rep Power: 5
Solved Threads: 47
Moderator
Featured Poster
MattEvans's Avatar
MattEvans MattEvans is online now Online
Posting Shark

Image Upload/Acquisition

  #1  
Nov 12th, 2006
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?
If it only works in Internet Explorer; it doesn't work.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2006
Location: Deptford, London
Posts: 936
Reputation: MattEvans has a spectacular aura about MattEvans has a spectacular aura about 
Rep Power: 5
Solved Threads: 47
Moderator
Featured Poster
MattEvans's Avatar
MattEvans MattEvans is online now Online
Posting Shark

Re: Image Upload/Acquisition

  #2  
Nov 13th, 2006
w00t. sorted/solved it.
<form enctype="multipart/form-data" method=post action="{removed}">
    <input type="file" name="file"/>
    <input type="submit"/>
</form>
If it only works in Internet Explorer; it doesn't work.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Web Developers' Lounge Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the Web Developers' Lounge Forum

All times are GMT -4. The time now is 9:18 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC