Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

illusive

Members
  • Joined

  • Last visited

  1. sure il give it a shot, thanks
  2. Thank you for the reply my only concern is , i want the person to know there email , was sent . i edited my first code to show a emailsent.html then i want after 5sec it redirects to index.html only thing with my code is , its sends regardless of anything in the fields , i need to some validation, atleast to see if anything is in the fields i would like to show emailsent.html on sucess fill.html if one of the lines was left empty and noemail.html if it didnt work at all i had to do some funky stuff to get this thing to even work. <?php $email = $_REQUEST['email']; $cname = $_REQUEST['cname']; $rname = $_REQUEST['rname']; $age = $_REQUEST['age']; $timezone = $_REQUEST['timezone']; $receive = $_REQUEST['receive']; $contribute = $_REQUEST['contribute']; /*Sending Email*/ $to = "illusive@leagueofdestruction.sitefrost.com"; $subject = "LoD App"; $message = " Form1 Information Email = $email Character name = $cname Real name = $rname Age = $age Playtime / Timezone = $timezone Receive = $receive Contribute = $contribute"; $from = "applicant@leagueofdestruction.com"; if(mail($to, $subject, $message, "From: $from")){ ?> <style type="text/css"> <!--body { background-image: url(images/greenmarble.jpg); } .style1 {font-size: 36px} .style2 { font-family: "Lucida Calligraphy"; color: #FFFFFF; } .style3 {font-size: 36px; font-family: "Lucida Calligraphy"; } .style4 {font-size: 36px; font-family: "Lucida Calligraphy"; color: #FFFFFF; } --> </style> <p align="center" class="style1 style2">Congratulations</p> <p class="style3 style1 style2"> </p> <p align="center" class="style4">Email Has Been Sent You Will Be Redirected In 5 Seconds</p> <? }else{ ?> <p align="center" class="style1">Sorry....</p> <p class="style3"> </p> <p align="center" class="style1">Your Email Did Not Make it. Try Again Later. </p> <p align="center" class="style1">You Will Be Redirected In 5 Seconds</p> <? } ?> <meta http-equiv="refresh" content="4;URL=index.html"> as stated above i have no validation.
  3. i have a script that allows me to gather data from a form and post it in a email , then away it goes <?php $email = $_REQUEST['email']; $cname = $_REQUEST['cname']; $rname = $_REQUEST['rname']; $age = $_REQUEST['age']; $timezone = $_REQUEST['timezone']; $recieve = $_REQUEST['recieve']; $contribute = $_REQUEST['contribute']; /*Sending Email*/ $to = "illusive@leagueofdestruction.sitefrost.com"; $subject = "LoD App"; $message = " Form1 Information Email = $email Character name = $cname Real name = $rname age = $age Playtime / Timezone = $timezone Recieve = $recieve contribute = $contribute"; $from = "applicant@leagueofdestruction.com"; if(mail($to, $subject, $message, "From: $from")) echo "Mail sent You will be Redirected in 5 Seconds"; else echo "Mail send failure - message not sent You will be Redirected in 5 Seconds"; ?> <meta http-equiv="refresh" content="4;URL=index.html"> now i need to be able to validate that there is something in each box , if not redirect to fill.html if successfully sends the email , direct them to emailsent.html for 5seconds then onto index.html if unsuccessful , then redirect to noemail.html for 5 seconds then to index.html i have this code and need help editing it to what i need <?php // get posted data into local variables $EmailFrom = Trim(stripslashes($_POST['EmailFrom'])); $EmailTo = "illusive@leagueofdestruction.sitefrost.com"; $Subject = Trim(stripslashes($_POST['Subject'])); $Name = Trim(stripslashes($_POST['Name'])); $CurrentWebAddress = Trim(stripslashes($_POST['CurrentWebAddress'])); $Comments = Trim(stripslashes($_POST['Comments'])); // validation $validationOK=true; if (Trim($EmailFrom)=="") $validationOK=false; if (!$validationOK) { print "<meta http-equiv=\"refresh\" content=\"0;URL=fill.html\">"; exit; } // prepare email body text $Body = ""; $Body .= "Name: "; $Body .= $Name; $Body .= "\n"; $Body .= "CurrentWebAddress: "; $Body .= $CurrentWebAddress; $Body .= "\n"; $Body .= "Comments: "; $Body .= $Comments; $Body .= "\n"; // send email $success = mail($EmailTo, $Subject, $Body, "From: <$EmailFrom>"); // redirect to success page if ($success){ print "<meta http-equiv=\"refresh\" content=\"0;URL=emailsent.html\">"; } else{ print "<meta http-equiv=\"refresh\" content=\"0;URL=noemail.html\">"; } ?>

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.