Page 1 of 1

LINKS DON'T WORK ON MY LOCALHOST

Posted: Sat Jun 18, 2005 2:13 pm
by Parody
In my php pages, I cannot link (with html) to other pages. I am running easyphp. Even just the basic text links dont work :(

Any ideas?

Posted: Sat Jun 18, 2005 2:16 pm
by Chris Corbyn
A bit vague... you wanna show an exaple or give is some more info?

What happens when u click a link?

Posted: Sat Jun 18, 2005 3:12 pm
by Parody
It doesnt do anything. This is an example:

Code: Select all

<a href=&quote;file:///C|/Program%20Files/Eas1yPHP1-8/www/top2.jpg&quote;>hello</a>
When I click it, nothing happens :(

Posted: Sat Jun 18, 2005 3:26 pm
by hawleyjr
Firefox doesn't link to drives like IE does. Assuming your using Firefox...(And if you not. then I don't care to answer your question)


:lol: :lol: :lol: :lol:


J/K

Try something like this:

Code: Select all

//note the 3 ///

<a href=&quote;file:///Program%20Files/Eas1yPHP1-8/www/top2.jpg&quote;>hello</a>

Posted: Sat Jun 18, 2005 3:27 pm
by hawleyjr
Also...If your not trying to link to a specific drive letter

Try this:

Code: Select all

<a href=&quote;http://localhost/top2.jpg&quote;>hello</a>

Posted: Sat Jun 18, 2005 3:29 pm
by Parody
Thanks, it worked :)