Posted 05 August 2006 - 07:21 PM
I have a small members area under-way it is for my company,
However I wanted to use $_GET as a navigation and Include
to add the pages into the area I wish.
well I have got my files and folders as the below; And when I try
using the links provided i get dual directories...
When I link the logout script using this code: <a href="../ezone/index.php?cat=acc&pg=logout">...</a>
I get this link output...
I try changing it to remove the ../ so the link is: <a href="ezone/index.php?cat=acc&pg=logout">...</a>
I get this...
Is there any way of getting around this?
Posted 05 August 2006 - 07:32 PM
echo '<a href="' . $_SERVER['HTTP_HOST'] . '/ezone/index.php?cat=acc&pg=logout">';
Posted 05 August 2006 - 07:40 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users