I was running a php application written in php 4 on an Apache server running php 5. After filling an employee form and
clicking submit button, it actually saved the data to the MySQL database but gave this error:
Forbidden
You don’t have permission to access /admin/teacher/teacheraddsuccess.php on
this server.
Additionally, a 404 Not Found error was encountered while trying to use an
ErrorDocument to handle the request.
Apache Server at www.mywebsite.com Port 80
The offending script is:
Header(“Location:teacheraddsuccess.php?pg_src=$pg_src&appno=$appno&successful=”.urlencode($successful)."&empid=".$empid);
Please help.
Joel