zero-perfoliate
zero-perfoliate

Author Topic: Free Scripts  (Read 1913 times)

erothchild

  • Guest
Free Scripts
« on: September 27, 2007, 02:49:17 PM »
I have a TON of scripts, post here if you need anything in paticullar.

Eric

Offline edgardo19

  • New PHP Members
  • Posts: 4
  • Karma: +0/-0
Re: Free Scripts
« Reply #1 on: July 09, 2008, 12:01:07 PM »
i need help with php


CAN U HELP ME



<?PHP

/*SUBJECT AND EMAIL VARIABLES - ESTES ES UN COMENTARIO*/
 
  $emailsubject ='CONTACT FORM From hulk website';
  $webmaster="edgardo@vapprinting.com';

/*gathering Data Variables*/

   $nameField = $_POST['name'];
   $lastnameField = $_POST['lastname'];
   $ageField = $_POST['age'];
   $emailField = $_POST['email'];
   $commentsField = $_POST['comments'];
 
      $body = <<<EOD
<BR><HR><BR>
Name: $name

Last Name: $lastname

Age: $age

Email: $email

Comments: $comments

EOD;

   $headers = "from: $email\r\n";
   $headers .= "Content-type: text/html\r\n";
   $success = mail($webMaster, $emailSubject, $body,
$headers);

/*results rendered as HTML*/

   $theResults = <<<EOD

<html>

<head>
<title>Gracias</title>
</head>

<body bgcolor="#000000" text="ffffff">





<h1>Thank you !!!</h1>

De Click <a href="index.html">AQui<a/> Para Regresar A La PAGINA PRINCINPAL

</body>
</html>
EOD"
echo "$theResults";

?>


icestormz

  • Guest
Re: Free Scripts
« Reply #2 on: July 09, 2008, 12:11:55 PM »
What exactly do you need help with i see the code but can you please tell me whats wrong with it