|
-
Someone from my hosting support offered me a solution. Instead of redirecting, I can put my html code down there. 
PHP Code:
<?php
$message = ''; $success = false;
foreach($_POST as $t => $v) $message .= $t.': '.$v."\n\n";
if( strlen($message) > 2) { $message = "Someone recently used the form submission. Here are the details:\n\n".$message; $success = mail ( "[email protected]" , "Form Sumission" , $message ); }
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> </head> <body> </body> </html>
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|