开发者

Problems submitting form in hosting provider

开发者 https://www.devze.com 2023-01-17 19:14 出处:网络
I uploaded a form to my serve开发者_JS百科r. but no values are posted. which means the form isnt submitting . Ive run the same script in my local machine and it works perfectly.

I uploaded a form to my serve开发者_JS百科r. but no values are posted. which means the form isnt submitting . Ive run the same script in my local machine and it works perfectly.

ive been in web development for a year now and i've never seen a problem quite like this one.

The form is just a simple one (plain html too with php to check the posted variables) so it shouldve worked.


Try this code.

<form name="frm" id="frm" action="" method="post" enctype="application/x-www-form-urlencoded">
elements....
</form>


for some browser have to set action, use something like this:

<form action='process_form.php' method='post'>
elements....
</form>
0

精彩评论

暂无评论...
验证码 换一张
取 消