Jump to content

Linking to local files


ben14

Recommended Posts

I am trying to link to a file that is local, but i can't seem to get the link to work when the page is located on a server.


Eg: I try open file:///C|/test.exe it won't open if it is running of the sever eg [a href=\"http://localhost\" target=\"_blank\"]http://localhost[/a], But the url is file:///C|/htdocs/test.html it will then open the file.

Does anyone know a way around to get the to open when it is running of a server?
Link to comment
https://forums.phpfreaks.com/topic/3503-linking-to-local-files/
Share on other sites

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.