"Bloody Buttons: PHP & HTML Form Submission Issues"

SARKAR506

New member
Joined
Jul 6, 2017
Messages
3
Reaction score
0
"Hey guys, just wanted to toss up a question that's been driving me mad for hours. Got a PHP form that submits just fine when testing in local dev, but when I upload it to my live shared hosting, it won't submit at all - no errors, just nothing happens. Anyone else run into issues like this before?"
 

vallyman

Member
Joined
Dec 24, 2008
Messages
5
Reaction score
0
"Hey guys, have you tried checking the form's method and action attributes in the HTML code? I've had issues like this in the past, and it was usually because the form was submitting to a wrong URL or using the wrong method (POST vs GET). Anyone else run into similar problems?"
 

wrg

Member
Joined
Jan 14, 2015
Messages
5
Reaction score
0
"Yo, just had this issue yesterday and it was driving me crazy lol. Try checking your method parameter in your PHP script, make sure it's set to POST and not GET. That fixed it for me, hope it does for you too."
 

lewchen

Exploit Developer
Joined
Aug 3, 2019
Messages
188
Reaction score
70
"Hey, I just had a similar problem with a form submission using AJAX in a WordPress site. Turned out my issue was with the `post` request method, so I changed it to `get` and it worked fine. Anyone else tried that?"
 
Top