Is it possible to read a hyperlink from text file w html?
I want to make a link that reads its location from a .txt file.
If you could tell me how to do it in Dreaweaver or give example code that would be Fantastic!
Thanks in advance
In that case I will probably use flash which does it quite easily.
not true. A simple Server Side Include is your simplest solution:
Originally Posted by mrizwan
<!--#include virtual="/pathto/your.txt" -->
will insert the code in your.txt as html
you will need to ensure that ssi's are allowed on your server, easiest way is with an .htaccess edit
I use it extensively on my site:
Trailers in PA NY OH
though you won't see it in the source as it is parsed as plain old html in all browsers
I have almost the same problem. Iam trying to read from a text file but i want to be able to read the links around my text? i have searched alot and i count find any thing so any help will be appreciated.
a) the text file is on the same server as the website
b) the text file is accessible via http, i.e. it sits within the website's root directory somewhere.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)