Hi All,
I have a login page to a webbased system. It works perfectly when I use it in my own machine. I had to upload it to another server and its behaving strangely. The login.php accepts the userID and password and the form is submitted to the same script (i.e. <form action = <?php echo $PHP_SELF; ?>...). When I submit userID and Password the same script should take care of it and redirect me to appropriate script depending on the user. But when I submit I get an error message saying
Forbidden
You don't have access to the file ....
But its the same script (ie login script) how could it let me open it in the first place and then when I submit form it won't? PHP_SELF giving me correct script name.
Any help would be very much appreciated.
Mahmud