I keep receiving an error when trying to process a form I've created.
Here's the form action line:
"<form method="post" action="<?php echo $PHP_SELF?>">"
When I process the form I get:
"HTTP Error 405
405 Method Not Allowed
The method specified in the Request Line is not allowed for the resource identified by the request. Please ensure that you have the proper MIME type set up for the resource you are requesting.
Please contact the server's administrator if this problem persists."
I'm running PHP 4.2.2 on PWS (couldn't get Apache to work correctly) on a WIN 98 operating system.
I've checked all of the properties in PWS and all of my bin directories are set to execute so I don't think that's a problem.
I am concerned about the $PHP_SELF variable, because I don't think that is returning a value. I wrote a simple script to print the value of the $PHP_SELF variable and I got an "undefined variable" error.
Has anybody else experienced this error?
Thanks in advance.