site Search:


 
    All Forums Hot Topics Gallery






how-to block ads


 
Search Topic:
Uniqs:
452
Share Topic
Posting?
Post a:
Post a:
Links: ·How To Get Noticed ·Web Monks FAQ ·Webhosting FAQ ·Posting Code ·How To Post ·Webhosting forum
AuthorAll Replies


inGearX
3.1415 9265

join:2000-06-11
New York

2 edits

file upload

ultimately what I am looking for is when I take a screenshot of an area, for the file to be auto uploaded to an image hosting site or my domain; any software out there that can do that?

else I need my own solution:

when you upload a file, say to upload.php like one found here: »www.webcheatsheet.com/php/file_upload.php

one needs to open up a dialog and select a file from C drive...

is there any way to include the PATH of file on C drive right into the GET of the URL?

details:

When I take a screen shot with Gadwin PrintScreen it is displayed in firefox as

file:///C:/_S/ScreenShot_041.jpg

or so

I wish I could upload it easily - I could just make a reference to a custom "search engine" which is actually an upload script and thus just by prefixing the URL in the address bar with something like "upload"

resulting in

"upload file:///C:/_S/ScreenShot_041.jpg"

what would be activated is something like

myDomain.com/upload.php&uploaded_fil=file:///C:/_S/ScreenShot_041.jpg

and file would be uploaded right away...

hmm I can't even pre populate type=file with a value=* must be a security thing?

<input value="C:\_S\ScreenShot_030.jpg" name="uploaded_file" type="file" />
 

security thing? correct?

so it can't really be done?


Tenar

join:2008-01-02
Midland, ON

Yes, I believe you can not auto fill in a file input type for security reasons. The user has to select the file, otherwise you could auto upload sensitive information about their computer.

You may want to look at Snag-it You can upload your screen shots via FTP.



PingPong

join:2001-02-02
Overhere, HI

reply to inGearX
Using Flash/Java/ActiveX you can do pretty much anything. Google something like "flash upload" and you'll get tons of ideas.



PToN

join:2001-10-04
Houston, TX

reply to inGearX
You could also save all your screen shots in a folder and have a script to regularly scan for new files, when a new file is detected, it gets uploaded and then moved/deleted/renamed/etc.



inGearX
3.1415 9265

join:2000-06-11
New York

said by PToN:

You could also save all your screen shots in a folder and have a script to regularly scan for new files, when a new file is detected, it gets uploaded and then moved/deleted/renamed/etc.
like a local batch or Perl file or something that runs all the time in the background

Sunday, 03-Jun 00:59:07 Terms of Use & Privacy | feedback | contact | Hosting by nac.net - DSL,Hosting & Co-lo
over 12.5 years online © 1999-2012 dslreports.com.
Most commented news this week
Hot Topics