LINKS DON'T WORK ON MY LOCALHOST

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
Parody
Forum Contributor
Posts: 252
Joined: Fri May 06, 2005 7:06 pm
Location: Great Britain

LINKS DON'T WORK ON MY LOCALHOST

Post 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?
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

A bit vague... you wanna show an exaple or give is some more info?

What happens when u click a link?
Parody
Forum Contributor
Posts: 252
Joined: Fri May 06, 2005 7:06 pm
Location: Great Britain

Post 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 :(
User avatar
hawleyjr
BeerMod
Posts: 2170
Joined: Tue Jan 13, 2004 4:58 pm
Location: Jax FL & Spokane WA USA

Post 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>
User avatar
hawleyjr
BeerMod
Posts: 2170
Joined: Tue Jan 13, 2004 4:58 pm
Location: Jax FL & Spokane WA USA

Post 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>
Parody
Forum Contributor
Posts: 252
Joined: Fri May 06, 2005 7:06 pm
Location: Great Britain

Post by Parody »

Thanks, it worked :)
Post Reply