Jump to content

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/90374-loads-blank-page/#findComment-463809
Share on other sites

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 {

Link to comment
https://forums.phpfreaks.com/topic/90374-loads-blank-page/#findComment-463810
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.