bobrick82 Posted February 10, 2008 Share Posted February 10, 2008 I'm getting a error with this file I'm pretty sure its on line 40 but not 100 sure [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/90374-loads-blank-page/ Share on other sites More sharing options...
paul2463 Posted February 10, 2008 Share Posted February 10, 2008 for a start off there are semi colons missing from lines 12 - 21 Quote Link to comment https://forums.phpfreaks.com/topic/90374-loads-blank-page/#findComment-463339 Share on other sites More sharing options...
bobrick82 Posted February 11, 2008 Author Share Posted February 11, 2008 i re did it and still get errors i am still new to php and still learning here is one more shot i redid some parts to it[pre][/pre] [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/90374-loads-blank-page/#findComment-463806 Share on other sites More sharing options...
peranha Posted February 11, 2008 Share Posted February 11, 2008 What errors are you getting Quote Link to comment https://forums.phpfreaks.com/topic/90374-loads-blank-page/#findComment-463808 Share on other sites More sharing options...
KrisNz Posted February 11, 2008 Share Posted February 11, 2008 The problem is with the way you're trying to use the mail function. A basic usage would be mail("bobrick82@gmail.com", 'online registration',$message); If you want to include all the other pieces of data you are going to have to concatenate each piece together, and store that into one variable. Quote Link to comment https://forums.phpfreaks.com/topic/90374-loads-blank-page/#findComment-463809 Share on other sites More sharing options...
sasa Posted February 11, 2008 Share Posted February 11, 2008 try if((md5($verif_box).'a4xn') == $_COOKIE['tntcon']){ // if verification code was correct send the message and show this page mail("bobrick82@gmail.com", 'online registration: '. "\n\n".$message."Lastname: $lastname"."Phone: $phone"."Address: $address"."City: $city"."Zip: $zip"."Date of birth: $dob"."Wife: $wife"."Husband $husband"."Childred: $children"."more info: $moreinfo". "From: $from"); // delete the cookie so it cannot sent again by refreshing this page setcookie('tntcon',''); } else { Quote Link to comment https://forums.phpfreaks.com/topic/90374-loads-blank-page/#findComment-463810 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.