Dev Shed Lounge
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherDev Shed Lounge

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Avoid common pitfalls of incorporating spreadsheets into Java apps. Read about it in the free white paper: “Five Biggest Blunders when Building Spreadsheet Applications in JavaDownload Now!
  #1  
Old February 6th, 2002, 10:04 AM
homerdooh homerdooh is offline
php newbie
Dev Shed Novice (500 - 999 posts)
 
Join Date: Nov 2001
Posts: 505 homerdooh User rank is Corporal (100 - 500 Reputation Level)homerdooh User rank is Corporal (100 - 500 Reputation Level)homerdooh User rank is Corporal (100 - 500 Reputation Level)homerdooh User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 3 Days 3 h 12 m 13 sec
Reputation Power: 11
drag and drop

Hi,

I didnt know where to ask this question, i guess this is the best place to do it.

How do i drag a file from my windows explorer (or desktop) to my upload webpage on the net, so when i drag the file and place it in the upload text box the link to the file will appear in the text box? (At the moment it just open the files you drag and drop into the text box)

I hope that made some sense. I clearify it if anyone asks me.

I dont know how i would go about it? Is it PHP? Java? ActiveX? If anyone could point me in the right direction it would be great.

Thanks.
__________________
"They have the internet on computers now" - Homer

Reply With Quote
  #2  
Old February 7th, 2002, 11:29 AM
webgremlin webgremlin is offline
small, green, and connected
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Location: FL, SC
Posts: 63 webgremlin User rank is Private First Class (20 - 50 Reputation Level)webgremlin User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
if it can be done cross-browser, it's javascript. if it can't, there might be something activex that can do it (I generally refuse to learn about such). one could certainly write a java program/applet to upload files dragged on to it, but this might be more trouble than it's worth if you don't already know java. PHP (along with perl, JSP, ColdFusion, ASP) never has anything to do with cute stuff happening on the client side (like the behavior of the browser when you drag a file on to it) because it runs on the server and is over and done with by the time someone can drag something on to a web page.

-Joshua <><

Reply With Quote
  #3  
Old February 15th, 2002, 04:26 PM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
i tried that too some time ago. anyone got any further than me?

the <input type="file"> tag cannot be scripted for security reasons. i think there is no way to use drag and drop for uploading...

activeX is probably possible but you need to get it signed by micros*** or thawte or any other "trusted" root certificate owner for a lot of money. or users will get security alerts... same for java applets.

Reply With Quote
  #4  
Old February 15th, 2002, 11:49 PM
webgremlin webgremlin is offline
small, green, and connected
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Location: FL, SC
Posts: 63 webgremlin User rank is Private First Class (20 - 50 Reputation Level)webgremlin User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
signed javascripts can probably do it. basically, it looks like however you do it would require signing. the only alternative I can think is to actually have the user download a java program (this requires them having sun's java runtime on their computer) and having a setup program that makes convenient shortcuts and stuff for them. in short, it's ugly no matter what way you go.

-wg <><

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherDev Shed Lounge > drag and drop


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway