Jump to content

Open Files Localy Via Browser


benaust

Recommended Posts

Hi There

 

I have an html file with some hyperlinks. These hyperlinks are pointing to my pc to some designated folder, let’s say "C:/X-Folder/Y-File.pdf"

 

The html file is on the server on the internet like any website page, and when I open this html page in my browser on the net, I like the hyperlinks to open the local files in the above example for instance.

 

Anyone can help?

Any work around or ideas?

 

Thanks in advance.

 

Ben

 

Link to comment
https://forums.phpfreaks.com/topic/200790-open-files-localy-via-browser/
Share on other sites

  • 1 month later...

Very Right, Specially IE Browsers.

 

We had to do a workaround. We did this by installing a small apache - PHP server like  "Server2Go" on local PC, Then used the URL to pint to http://127.0.0.1/MyFolder/TestFile.pdf  for example which is the localhost address. Using HTTP protocol we got it to work. Offcourse now there is a small apache running locally on this PC.

 

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.