Web Hosting Talk







View Full Version : Allowing POST Action


orsinial
03-21-2004, 08:56 PM
Hello,
I have a problem with my website.
http://arcadiaphp.freeidz.us

Click on the Search button and you will get an error saying the the POST action is not allowed.

How do I stop this?

speedy007h
03-21-2004, 10:08 PM
You only have two *actual* forms on the page but three form tags. Looks like one form is nested within another form and this could cause problems. The code needs to be cleaned up. That search button is supposed to submit the form to http://arcadiaphp.freeidz.us/cgi-sys/entropysearch.cgi but it seems its trying to submit to index.html which probably due to the nesting of the forms.

orsinial
03-22-2004, 06:45 PM
Oh, I completely forgot to change that part. I can't believe it was that simple, I looked over it like a million times and never saw that. Thank you.

speedy007h
03-22-2004, 11:32 PM
Yes sometimes it just takes a fresh set of eyes to spot simple errors. Good luck! :)