Hi everyone. I am new to Apache / PHP / MySQL / phpMyAdmin and stuff but I am having fun.
After installing all of the above and can run with success most of my script except for one type. It seems that all script that have the following code :
<form action="<?=$_SERVER['PHP_SELF']?>" method="post">
...
</form>
generate the an error when I click the Submit button:
Forbidden
You don't have permission to access /< on this server.
then there is the version of Apache 1.3.34 Server at localhost Port 80.
It is funny that they work fine when run from a folder in my Web server. Only when I run it with localhost that it will have this error. The simple scripts write a record in a MySQL table when I click Submit.
For example if I type :
then fill the blanks and click my Submit button the address becomes:
['PHP_SELF']?>
and the error appears.
Any ideas please because everytime I need to test the script I need to copy the script on the server. I thought that all this setup was suppose to install a PWS in my machine that I could use through
Thank for your time.
D Lamarche
After installing all of the above and can run with success most of my script except for one type. It seems that all script that have the following code :
<form action="<?=$_SERVER['PHP_SELF']?>" method="post">
...
</form>
generate the an error when I click the Submit button:
Forbidden
You don't have permission to access /< on this server.
then there is the version of Apache 1.3.34 Server at localhost Port 80.
It is funny that they work fine when run from a folder in my Web server. Only when I run it with localhost that it will have this error. The simple scripts write a record in a MySQL table when I click Submit.
For example if I type :
then fill the blanks and click my Submit button the address becomes:
['PHP_SELF']?>
and the error appears.
Any ideas please because everytime I need to test the script I need to copy the script on the server. I thought that all this setup was suppose to install a PWS in my machine that I could use through
Thank for your time.
D Lamarche