Click here to get back home

in-client local src replace. Possible?

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
in-client local src replace. Possible? douglas.gennetten 04-09-2005
Posted by douglas.gennetten on April 9, 2005, 3:42 pm
Please log in for more thread options


I would like to present a page that would show a default image along
with a button. The button would do a local file upload of sorts. I
would replace the image with the locally selected file, then refresh
the page.

Is this possible?


Thanks,

Douglas


Posted by David Ross on April 9, 2005, 7:34 pm
Please log in for more thread options


douglas.gennetten@hp.com wrote:
>
> I would like to present a page that would show a default image along
> with a button. The button would do a local file upload of sorts. I
> would replace the image with the locally selected file, then refresh
> the page.
>
> Is this possible?

If this is going on a Web server where others can access the page,
some browsers might block any DIRECT attempt to access a local
file. This is a security feature to prevent privacy violations
(that is, to prevent someone's Web page from grabbing a file from
your computer).
However, it is possible to design a Web page to use your operating
system's file-selection capabilities. You might want to look at
the source HTML at <URL:http://validator.w3.org/>. When viewed on
my PC (Windows 98SE), the "Browse" button there makes use the
Windows 98 "File Upload" dialogue. That system-specific capability
is chosen as a result of the Web page's interface with my browser
(which is a version for Windows).

--

David E. Ross
<URL:http://www.rossde.com/>

I use Mozilla as my Web browser because I want a browser that
complies with Web standards. See <URL:http://www.mozilla.org/>.

Similar ThreadsPosted
Use local W3C validator on local site? September 17, 2005, 11:56 am
Playing a local mpeg file from a local HTML file... July 24, 2005, 6:02 pm
clearing only local floats November 11, 2006, 11:22 am
Open local folder from a link in IE/Firefox + XP SP2 November 17, 2004, 12:22 pm
Question about making links point to local October 3, 2007, 7:56 pm
PHP pages, problems with W3C Validator Local installation on Windows January 21, 2006, 7:36 am
An editor with better search/replace options... April 29, 2005, 12:22 pm
Another great search and replace tool May 18, 2008, 2:54 pm
How can I replace a with an aka IE6/strict box model (and hacks). March 30, 2007, 10:32 am
Country list with iso1366 codes and local country names November 8, 2005, 6:51 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap