Jump to content

Slight problem...


xyn

Recommended Posts

Hey,
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.

[b]My problem...[/b]
well I have got my files and folders as the below; And when I try
using the links provided i get dual directories...



[b]Folder Layout...[/b]
+en/
      +inc/
      -config.php
      -nav1.php
      -[b][color=red]nav2.php[/color][/b]
+ezone/
    -[color=red][b]index.php[/b][/color]



[b][color=red]Problem 1[/color][/b]
When I link the logout script using this code: [color=blue]<a href="../ezone/index.php?cat=acc&pg=logout">...</a>[/color]

I get this link output...
en/en/ezone/index.php?


[b][color=red]Problem 2[/color][/b]
I try changing it to remove the ../ so the link is:  [color=blue]<a href="ezone/index.php?cat=acc&pg=logout">...</a>[/color]

I get this...
en/ezone/ezone

Is there any way of getting around this?
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.