![]() |
Strange Problem Driving me mad! Wamp or Include code
3 Attachment(s)
Hi Guys,
Basically I'm working on a website in my local host which is WAMP...the directory for the site is localhost/shirts4mike/index.php....This takes you too the homepage which works okay. The problem is when you click on one of the links on the homepage..contacts...this should take you too the contract.php page...however it just doesn't take you anywhere and takes you too localhost/shirts4mike/# What's also strange is...when you go too localhost/shirts4mike/contact.php it takes you too the correct page! index.php code: PHP Code:
PHP Code:
PHP Code:
|
try
../contact.phpEdit: Your header is inside a folder called inc This exists in header.php <li class="contact"><a href="contact.php">Contact</a></li>that link means its in the same folder & not on the root, in this case the root folder being shirts4mike |
Quote:
It looks like it should, just to make sure if turned off the WAMP server and put back on again just to make sure that my browser wasn't displaying some kind of cached code but it still just resolves too localhost/shirts4mike/index.php# (when i click contact, the hash is added) Any more ideas guys!? |
Still unresolved?
|
This problem is neither the include nor the wamp, rather its an HTML or a browser issue.
Clear your browser cache and try again, or append a random querystring to force a non-cached request. I have no problem with running the above. You should be able to verify after forcing a non-cached request and clicking the link or viewing the HTML source code. |
| All times are GMT +1. The time now is 11:13 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.