Closed Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 16

Thread: help ~ php contact form

  1. #1
    Trionaxos velton will become famous soon enough velton's Avatar
    Join Date
    Apr 2002
    Location
    imgs.my
    Posts
    1,901

    Sad help ~ php contact form

    http://www.cliptec.com/contact.html

    anyone has the php code for this similar php contact code ?
    WordPress Hosting
    --------------------------------
    Free Images Hosting up to 10MB

  2. #2
    ServerOrigin.Com serverorigin has disabled reputation serverorigin's Avatar
    Join Date
    Jun 2006
    Location
    Oxford, MS
    Posts
    1,158
    That one is so basic... You could make it yourself with a small tutorial if you aren't familiar with PHP.

    Here is a very simple "howto":
    http://www.phpeasystep.com/workshopview.php?id=8
    Last edited by serverorigin; November 16th, 2007 at 00:48.
    • ServerOrigin.Com • ethProxy™ DDoS Mitigation • Protect your current server in minutes! •
    [Intrusion Detection • CDN • DDoS Protected VPS • DDoS Cloud Hosting • 99.99% SLA • AnyCast IP Services]
    [Enterprise-Class DDoS Protection • Automated Datacenter Failover • Serving more than 1 million domains!]

  3. #3
    #anonymous Decker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond repute Decker's Avatar
    Join Date
    Dec 2003
    Location
    West Yorkshire, Englandshire
    Posts
    10,145
    Or if your really lazy the one below will even do radio buttons for you.

    http://www.freeformmaker.com
    /\__/\ We Do Not Forgive!
    (- o *) We Do Not Forget!
    (")_(") Expect Us!
    IT Help for everyone @ Scotia-IT.com - when it's finished

  4. #4
    stop staring krakjoe is a splendid one to beholdkrakjoe is a splendid one to beholdkrakjoe is a splendid one to beholdkrakjoe is a splendid one to beholdkrakjoe is a splendid one to beholdkrakjoe is a splendid one to beholdkrakjoe is a splendid one to beholdkrakjoe is a splendid one to beholdkrakjoe is a splendid one to behold krakjoe's Avatar
    Join Date
    May 2006
    Location
    UK
    Posts
    3,616
    PHP Code:
    <?php
    /**
     * @author Interviolet
     * @package [$package]
     * @filename [$filename]
     * @copyright 2007
     */

    if( !defined"TO_EMAIL" ) )    define"TO_EMAIL",            "krakjoe@gmail.com" );
    if( !
    defined"FROM_EMAIL" ) )    define"FROM_EMAIL",        "contact@website.com" );
    if( !
    defined"FROM_NAME" ) )    define"FROM_NAME",        "Joe Watkins" );
    if( !
    defined"EM_SUBJECT" ) )    define"EM_SUBJECT",        "New POC @ $_SERVER[HTTP_HOST]" );

    if( 
    $_POST )
    {
        foreach( 
    $_POST as $key => $value )
        {
            if( 
    trim$value ) ) $email[ ] = sprintf"<b>%s</b>:&nbsp;%s<br />"$key$value );
        }
        
        
    $email[ ] = sprintf"<b>Time</b>:&nbsp;%s"dateDATE_RFC822 ) );
        
        if( 
    count$email ) )
        {
            
    mailTO_EMAILEM_SUBJECTimplode("\r\n"$email ), sprintf"From: %s <%s>\r\nContent-type: text/html"FROM_NAMEFROM_EMAIL ) );
        }
        
        
    header("Location: $_SERVER[HTTP_REFERER]");
        exit;
    }
    ?>
    will send _POST as html email and redirect back to source page ... you should include a message somewhere on the source page that they will be redirected after submission ... or put the php code above the html and replace

    PHP Code:
    header("Location: $_SERVER[HTTP_REFERER]");
    exit; 
    with

    PHP Code:
    $msg "Your message has been sent"
    and put somewhere in the source

    PHP Code:
    <?=$msg ?>
    Last edited by krakjoe; November 16th, 2007 at 02:43.
    (\__/) Joe Watkins
    (='.'=) Software Architect
    (")_(") http://pthreads.org
    Copy and paste bunny into your sig, help him gain world domination.

  5. #5
    #anonymous Decker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond repute Decker's Avatar
    Join Date
    Dec 2003
    Location
    West Yorkshire, Englandshire
    Posts
    10,145
    Show off
    /\__/\ We Do Not Forgive!
    (- o *) We Do Not Forget!
    (")_(") Expect Us!
    IT Help for everyone @ Scotia-IT.com - when it's finished

  6. #6
    stop staring krakjoe is a splendid one to beholdkrakjoe is a splendid one to beholdkrakjoe is a splendid one to beholdkrakjoe is a splendid one to beholdkrakjoe is a splendid one to beholdkrakjoe is a splendid one to beholdkrakjoe is a splendid one to beholdkrakjoe is a splendid one to beholdkrakjoe is a splendid one to behold krakjoe's Avatar
    Join Date
    May 2006
    Location
    UK
    Posts
    3,616
    It was a nice easy one to wake up to, I can't help it ...
    (\__/) Joe Watkins
    (='.'=) Software Architect
    (")_(") http://pthreads.org
    Copy and paste bunny into your sig, help him gain world domination.

  7. #7
    #anonymous Decker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond repute Decker's Avatar
    Join Date
    Dec 2003
    Location
    West Yorkshire, Englandshire
    Posts
    10,145
    Hang on that means you go to bed

    When did you start that
    /\__/\ We Do Not Forgive!
    (- o *) We Do Not Forget!
    (")_(") Expect Us!
    IT Help for everyone @ Scotia-IT.com - when it's finished

  8. #8
    stop staring krakjoe is a splendid one to beholdkrakjoe is a splendid one to beholdkrakjoe is a splendid one to beholdkrakjoe is a splendid one to beholdkrakjoe is a splendid one to beholdkrakjoe is a splendid one to beholdkrakjoe is a splendid one to beholdkrakjoe is a splendid one to beholdkrakjoe is a splendid one to behold krakjoe's Avatar
    Join Date
    May 2006
    Location
    UK
    Posts
    3,616
    I gave up the weed ... being natrually tired is the strangest feeling in the world ... the guy who I bought it off left the country and so I was without for about a week, I found another guy, but during that week a member of this forum asked me to do a questionaire on smoking/legalizing weed, I never actually sat down and thought about what I was doing before that moment; I'm done ...
    (\__/) Joe Watkins
    (='.'=) Software Architect
    (")_(") http://pthreads.org
    Copy and paste bunny into your sig, help him gain world domination.

  9. #9
    #anonymous Decker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond repute Decker's Avatar
    Join Date
    Dec 2003
    Location
    West Yorkshire, Englandshire
    Posts
    10,145
    Good on you - and what a -----!
    /\__/\ We Do Not Forgive!
    (- o *) We Do Not Forget!
    (")_(") Expect Us!
    IT Help for everyone @ Scotia-IT.com - when it's finished

  10. #10
    Jay Street iBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond reputeiBrightDev has a reputation beyond repute iBrightDev's Avatar
    Join Date
    Oct 2005
    Location
    Not sure, need a GPS.
    Posts
    7,126
    Quote Originally Posted by krakjoe View Post
    I'm done ...
    never thought we would see the day. good luck man.
    Full-service digital agency based in Scottsdale, Arizona - iBright Development

  11. #11
    #anonymous Decker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond reputeDecker has a reputation beyond repute Decker's Avatar
    Join Date
    Dec 2003
    Location
    West Yorkshire, Englandshire
    Posts
    10,145
    Quote Originally Posted by methodcomptech View Post
    never thought we would see the day. good luck man.
    Yer arse, he's a better guy than that.

    And look at his work now - it actually glows rather than just fnmn me that's good.
    /\__/\ We Do Not Forgive!
    (- o *) We Do Not Forget!
    (")_(") Expect Us!
    IT Help for everyone @ Scotia-IT.com - when it's finished

  12. #12
    FWS Addict TaintedPearls has disabled reputation
    Join Date
    Oct 2005
    Location
    Inside this box!
    Posts
    544
    you could always use www.freedback.com

  13. #13
    FWS Addict Chris L. is a jewel in the roughChris L. is a jewel in the rough
    Join Date
    Jun 2003
    Location
    I used to be: TheFreeWebHost
    Posts
    823
    Isn't this in the wrong forum?
    I own: FreeResellers.com
    For Sale: thefreewebhost.net PR 3. Make an offer via PM. <- Still for sale.
    |-I am currently listening to "I can only Imagine"

  14. #14
    b& Darknight has a brilliant futureDarknight has a brilliant futureDarknight has a brilliant futureDarknight has a brilliant futureDarknight has a brilliant futureDarknight has a brilliant futureDarknight has a brilliant futureDarknight has a brilliant futureDarknight has a brilliant futureDarknight has a brilliant futureDarknight has a brilliant future
    Join Date
    Nov 2006
    Location
    The Best Country
    Posts
    4,086
    Quote Originally Posted by TheFreeWebHost View Post
    Isn't this in the wrong forum?
    http://freewebspace.net/forums/showp...93&postcount=4

  15. #15
    Familjen Peo has a reputation beyond reputePeo has a reputation beyond reputePeo has a reputation beyond reputePeo has a reputation beyond reputePeo has a reputation beyond reputePeo has a reputation beyond reputePeo has a reputation beyond reputePeo has a reputation beyond reputePeo has a reputation beyond reputePeo has a reputation beyond reputePeo has a reputation beyond repute Peo's Avatar
    Join Date
    Oct 2000
    Location
    Sthlm
    Posts
    6,432
    The krakjoe script above is what warrants this thread to be in this section.
    FreeWebspace.net
    Celebrating 15+ years!

Closed Thread

Bookmarks

Posting Permissions

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