I need PHP help ASAP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • iguess
    Confirmed User
    • Aug 2005
    • 691

    #1

    I need PHP help ASAP

    I have a Submit Form ( implemented ) with '' browse '' picture upload on my website ready to go.

    All I need is the form info along with the pictures uploaded sent to my email address.

    I would say a mysql database for storage but with spam it would shut down email.
    SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR. Unless your sig is for a GFY top banner sponsor, then you may use a 624x80 instead of a 120x60.
  • paterson3713
    Confirmed User
    • Nov 2005
    • 190

    #2
    What is your icq?

    Comment

    • SilverTab
      Confirmed User
      • Nov 2001
      • 5060

      #3
      use the mail function...its pretty straight forward...ex:

      Code:
      $to      = '[email protected]';
      $subject = 'the subject';
      $message = 'hello';
      $headers = 'From: [email protected]' . "\r\n" .
         'Reply-To: [email protected]' . "\r\n" .
         'X-Mailer: PHP/' . phpversion();
      
      mail($to, $subject, $message, $headers);
      check out http://www.php.net/manual/en/function.mail.php
      mmm my sig was too big... no more cool animation
      but hey still! need php? ICQ: 94586959

      Comment

      • iguess
        Confirmed User
        • Aug 2005
        • 691

        #4
        My ICQ is 334147994

        I have the code but it wont go to my cox email address.
        if( $okNow ) {
        $to = "[email protected]";
        //$to = "[email protected]";
        $subject = "New Contact Info";
        $headers = 'MIME-Version: 1.0' . "\r\n";
        $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
        $headers .= 'Content-Length: '.strlen( $message ).'' . "\r\n";
        $headers .= "From: [email protected]\r\n";
        $headers .= "Cc: [email protected]\r\n";
        $headers .= "Bcc: [email protected]\r\n";

        if( !mail( $to, $subject, $message, $headers ) )
        echo "Unable to retrieve email. Problem sending email!!";
        else{
        SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR. Unless your sig is for a GFY top banner sponsor, then you may use a 624x80 instead of a 120x60.

        Comment

        • d00t
          Confirmed User
          • Sep 2002
          • 3766

          #5
          what do you think that tells you if it doesn't get to cox but does everywhere else?

          Comment

          • iguess
            Confirmed User
            • Aug 2005
            • 691

            #6
            I dont know doot you tell me buddy ol pal?
            I would like it to go to COX. So I thought it was a small error I am missing somewhere.
            SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR. Unless your sig is for a GFY top banner sponsor, then you may use a 624x80 instead of a 120x60.

            Comment

            • d00t
              Confirmed User
              • Sep 2002
              • 3766

              #7
              Originally posted by iguess
              I dont know doot you tell me buddy ol pal?
              I would like it to go to COX. So I thought it was a small error I am missing somewhere.
              obviously there is nothing wrong with the actual code if it works with another email address, right?

              Comment

              • iguess
                Confirmed User
                • Aug 2005
                • 691

                #8
                So why you think my cox email is tripping?
                SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR. Unless your sig is for a GFY top banner sponsor, then you may use a 624x80 instead of a 120x60.

                Comment

                • ssp
                  Confirmed User
                  • Jan 2005
                  • 7990

                  #9
                  It must have something to do with the fact that there is not enough header information, which causes the COX spamfilter to hold off the email.

                  Comment

                  Working...