Hi all!
I have a strange problem caused by URI mapping.
I have a php file located in the following path of my web site:
htdocs/AJAX/myscript.php
If I switch URI mapping off and type http://myURL.com/AJAX/myscript.php in to my browser address bar, the script executes correctly.
If I switch it on and do the same test, I get a 404 Not Found error.
I've narrowed it down to the following 2 lines in myscript.php:
Code:
chdir('../');
include('includes/application_top.php');
Can you tell me how I can get this to work with URI mapping enabled please?
Bookmarks