Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12
  1. #11
    Join Date
    Dec 2006
    Posts
    3,970
    Tokens
    0

    Latest Awards:

    Default

    PHP Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head>
    <title>Job Application</title>
    <style type="text/css">
      <!--
        body {
          font-family: tahoma;
          font-size: 11px;
          font-weight: bold;
      -->
    </style>
    </head>
    <body>
    <?php

        
    if( ! $_POST'submit' ] ) { 
            echo 
    '<form action="" method="post">
            Real Name:<br /><input type="text" name="name" /><br />
            Age:<br /><input type="text" name="age" /><br />
            Habbo Name:<br /><input type="text" name="habbo" /><br />
            Job Applying For:<br /><input type="text" name="job" /><br />
            Experience:<br /><textarea rows="2" cols="20" name="experience"></textarea><br />
            Message:<br /><textarea rows="2" cols="20" name="message"></textarea><br />
            <input type="submit" name="button" id="button" value="Submit" />
            
            </form>'
    ;
            
        } else { 
        
            
    $headers .= 'To: Me <[email protected]>' "\r\n";
            
    $headers .= 'From: <[email protected]>' "\r\n";
            
            
    $subject $_POST'habbo' ] . ' - Job Application';
            
            
    $to $_POST'email' ];
            
    $message $_POST'name' ] ."<br />"$_POST'age' ] ."<br />"$_POST'habbo' ] ."<br />"$_POST'job' ] ."<br />"$_POST'experience' ] ."<br />"$_POST'message' ];    
            
            
    mail($to$subject$message$headers);
        
        }
    ?> 
    </body>
    </html>
    Easy mystake
    Last edited by Decode; 25-11-2008 at 08:24 AM.
    Lets set the stage on fire, and hollywood will be jealous.

  2. #12
    Join Date
    Sep 2008
    Posts
    718
    Tokens
    0

    Default

    Lol, forgot to say I got it, thanks to all
    +.net - omg it's coming o_o

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •