Jump to content

HNX

Members
  • Posts

    102
  • Joined

  • Last visited

    Never

Posts posted by HNX

  1. ok this time it didnt even show me the msg sayin "ur msg has been received"

     

    2. im attaching the picture of the outcome and also the picture of what i want it to look like

     

    first one is the outcome of the script u gave me and the name appears in the message field and the second one is what i want it to look like

     

    and ill be back in like 20 min cuz i have to pray "isha"

     

    Assalam 'Aleikum

     

    [attachment deleted by admin]

  2. ook this is the top codings:

    <?php
    
    $form = true;
    if(isset($_POST['Submit'])){
    	$to = "my email";
    	$subject = $_POST['subject'];
    	$message = $_POST['detail'];
    	$from = $_POST['customer_mail'];
    	$headers = "From: $from";
    
    if(($to == "")||($subject == "")||($message == "")||($from == "")){
    
    echo "Please fill in all the fields";
    $form = true;
    }
    else{
    	if(mail($to,$subject,$message,$headers)) {
    		//echo "Thank you for your interest, your e-mail was sent.";
                       echo "Thank you for your interest, your e-mail was sent."; 
    
                                  $form = false;

     

    now im receiving the email but the guys name....

  3. euh what did u change??

     

    old

    $form = true;
       if(isset($_POST['Submit'])){
          $to = "my email";
          $subject = $_POST['subject'];
          $message = $_POST['detail'];
          $from = $_POST['name'];
          $headers = "From: $from";
    
    if(($to == "")||($subject == "")||($message == "")||($from == "")){

     

    new

    $form = true;
       if(isset($_POST['Submit'])){
          $to = "my email";
          $subject = $_POST['subject'];
          $message = $_POST['detail'];
          $from = $_POST['customer_mail'];
          $headers = "From: $from";
    
    if(($to == "")||($subject == "")||($message == "")||($from == "")){
    

  4. no u didnt get it the previous code si working FINe, the only problem is, well look

     

    this is the form:

    Subject:

    Message:

    Name:

    Email:

     

    when i filll all the above fields and submit i receive all of them except! the EMAIL!!! so maybe im missing a tag somewhere in the code

  5. ok when i go to my site its "big", my layouts are big if thats what u guys call it ok but thats not what i want. But once i refresh the site it all becomes normal and i have to refresh it every time to make look normal again :s

     

    Please help,

    HNX

     

    ok the first picture is before refreshing and the second one is after refreshing

     

    [attachment deleted by admin]

  6. ok here is my code

    <?php
    
    $form = true;
    if(isset($_POST['Submit'])){
    	$to = "capcom_azn@hotmail.com";
    	$subject = $_POST['subject'];
    	$message = $_POST['detail'];
    	$from = $_POST['name'];
    	$headers = "From: $from";
    
    if(($to == "")||($subject == "")||($message == "")||($from == "")){
    
    echo "Please fill in all the fields";
    $form = true;
    }
    else{
    
    		//echo "Thank you for your interest, your e-mail was sent.";
                       echo "Thank you for your interest, your e-mail was sent."; 
    
                                  $form = false;
                         
                       }
    
    }
    
                              if($form == true){
    	print '<form action="" method=post name=form1 id=form1>';
    	print '<table width="100%" border="0" cellspacing="1" cellpadding="3">';
    	print '<tr>';
    	print '<td width="16%"><span class="style108">Subject</span></td>';
    	print '<td width="2%"><span class="style104">:</span></td>';
    	print '<td width="82%"><input name="subject" type="text" id="subject" size="50" /></td>';
    	print '</tr>';
    	print '<tr>';
    	print '<td><span class="style108">Message</span></td>';
    	print '<td><span class="style104">:</span></td>';
    	print '<td><textarea name="detail" cols="50" rows="4" id="detail"></textarea></td>';
    	print '</tr>';
    	print '<tr>';
    	print '<td><span class="style108">Name</span></td>';
    	print '<td><span class="style104">:</span></td>';
    	print '<td><input name="name" type="text" id="name" size="50" /></td>';
    	print '</tr>';
    	print '<tr>';
    	print '<td><span class="style108">Email</span></td>';
    	print '<td><span class="style104">:</span></td>';
    	print '<td><input name="customer_mail" type="text" id="customer_mail" size="50" /></td>';
    	print '</tr>';
    	print '<tr>';
    	print '<td> </td>';
    	print '<td> </td>';
    	print '<td><input type="submit" name="Submit" value="Submit" />';
    	print '<input type="reset" name="Submit2" value="Reset" /></td>';
    	print '</tr>';
                    print'</table>';
                    print'</form>';
    
    }
    
    ?>

     

    its all working but theres one problem when i fill the field where it says Email and i submit i dont receive the email i entered in :s

  7. wht the fuck is all that crap Lol dude im muslim too Assalam 'Aleikum Btw  Loll

     

    kewl now everytime i need to pray instead of tellin u ill be right back i can just tell u i gtg go pray Loll

     

    anyway

     

    Jazak Allah Khair,

    HNX ill bother u some more after i test everything

     

    Assalam 'Aleikum

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