Forum Moderators: coopster
after submitting a form on my website, php say the $_POST array is empty. i am using mod_rewrite and i think this might be the problem. it works completely fine on my computer, but when i upload to my host it seems the form variables are getting deleted. before i was having a problem with my host's mod_rewrite actually changing what the address bar says. this made me believe there was an external redirect happening on top of mine. i'm curious if this is creating havoc with my forms. has anyone ever has this problem before? or know what I can do to fix it?
thanks for your help,
steve
Try using $HTTP_POST_VARS["form_item_name_here"] instead.
Also: be sure that your <form> tag uses the method="post" attribute.
More... [php.net...]
Added:If it IS mod_rewrite causing the problem, move the form action to a URL that wil not be rewritten via mod_rewrite.