Jump to content

[SOLVED] moving back through directories when linking to pages


barbs75

Recommended Posts

hey guys,

 

I'm having a slight problem to do with directories.....

 

i have my login script within a folder called 'function' so when the login page is called, it goes:

 

/function/login.php

 

so when i try redirecting to a page not in this directory it can't find it, because it isn't the same directory as the login script, say if i was trying to redirect to index.php it would do the following:

 

/function/index.php

 

does anyone know how i go back through a directory??

 

cheers for your help guys

 

Craig

Archived

This topic is now archived and is 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.