Forum Moderators: coopster
<?php
echo("<a href = "linkToMyFile.txt">File.txt</a>");
?>
And I want that to open a file or at least open a download box to download the text file.
Also, I noticed that if I paste the path into my web browser, firefox opens something like this say my file name is
\\computer\folder\file.txt
Firefox does this
file::////computer/folder/file.txt
and it opens in a browser. However, if I put that as the url i.e.
<a href = "file::////computer/folder/file.txt">file</a>
then when I click it doesn't go anywhere any idea why? Thanks,
Other than that, the user controls how text files are opened and with which default handler on the client machine.