Ask about general coding issues or problems here.
Moderators: macek, egami, gesf
- New php-forum User
- Posts: 10
- Joined: Tue Oct 07, 2003 5:04 am
This is driving me nuts
If I use this URL - http://www.dtbt.com/contact.php
everything works fine.
However if I add a '/' character after the URL like this -
it falls to pieces. Why??
Comments, suggestions, clues all gratefully accepted
- Posts: 2272
- Joined: Sat Jul 05, 2003 1:18 pm
- Location: A bunk in the back
Because when you add a / to the end of something, the browser assumes it's a directory, so all your paths (particularly the one to your stylesheet) get screwed up. The solution: don't add a / at the end of a filename. Or just use absolute paths for everything.
Who is online
Users browsing this forum: No registered users and 1 guest