Jump to content

formamil.php problem


musgod

Recommended Posts

i downloaded the formmail.php file (http://dtheatre.com/scripts/source_view.php?path=formmail_code/formmail.txt) and the sample html file. i changed the necessary vars ($require, $recipeint and $refers) and uploaded to my site. the php file  will return errors on the required field but when everything is good, the file does nothing.

if i remove
line 340 $content = parse_form($HTTP_POST_VARS, $sort);

the script will complete, either printing confirmation message or goes to $redirect. i tried replacing $HTTP_POST_VARS with $_POST but it wasnt succesful. I AM GETTING REALLY FRUSTRATED!!!!
Link to comment
https://forums.phpfreaks.com/topic/29467-formamilphp-problem/
Share on other sites

well its got to be something to do with the parse_form() function which is located near the top. I had a quick look, but from what i can gather the error has to be in there. i'll read it soon and tell you what i find, thats if someone dosnt beat me to it.
Link to comment
https://forums.phpfreaks.com/topic/29467-formamilphp-problem/#findComment-135337
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.