HI,
I asked this question before and got a somewhat satisfactory answer, but it didn't answer my question.
For example in the following :
href="register.php">Not registered? Click here
Let's say the above code is in /var/www/html.
register.php is in /var/www/scripts. My code snippet will fail because it can't find register.php in the local directory(html).. If I try :
href="../scripts/register.php"
then register.php is executed. The problem is that any function and file references can not be resolved as the server thinks they should be in the html dir. In reality they are in the script directory. I guess is there a way to change the current working directory or have a PATH varialbe in php so it can find the scripts?
I'm beating my head on the wall with this. Input would be appreciated.😕