views:

18

answers:

2

I uploaded a form to my server. 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.

A: 

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

<form action='process_form.php' method='post'>
elements....
</form>
jatt
Which browsers? I never set action, and as far as I know it works. At least in Chrome, Firefox, Internet Explorer (7 or higher), Opera and Safari. At least as my code is written; if the code is written in some other way perhaps you have to set action.
matsolof
A: 

Hi,

Try this code.

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