Vote for BP.Net for the 2013 Forum of the Year! Click here for more info.

» Site Navigation

» Home
 > FAQ

» Online Users: 691

0 members and 691 guests
No Members online
Most users ever online was 47,180, 07-16-2025 at 05:30 PM.

» Today's Birthdays

None

» Stats

Members: 75,903
Threads: 249,097
Posts: 2,572,069
Top Poster: JLC (31,651)
Welcome to our newest member, wkeith67
Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    BPnet Veteran firehop's Avatar
    Join Date
    10-19-2006
    Location
    South Chicago Burbs
    Posts
    380
    Thanks
    9
    Thanked 10 Times in 8 Posts
    Images: 4

    Anyone familiar with PHP programming

    Hey all,

    I am about to pull my hair out....ok thats a lie I have no hair. Anyway Does anyone have web building experiance? I cannot get my php script to work and I have been at it for 10 hours trying different things. If anyone could help that would be great! Thanks

    www.bartolinis.com/mail_test.html
    www.bartolinis.com/php_test.php
    Rick

    I'm 42 feel like I'm 70 and act like I'm 12
    Ball Projects, and too many other animals to list, 2.0 human children 0.1 supreme ruler aka wife

  2. #2
    BPnet Veteran TekWarren's Avatar
    Join Date
    07-07-2004
    Location
    Fremont, MI
    Posts
    1,644
    Thanks
    0
    Thanked 6 Times in 1 Post
    Images: 6

    Re: Anyone familiar with PHP programming

    your forms seem to be working fine...is your host's php configured to allow the email function or are you trying to relay through some other email server?
    www.ASFRats.info African soft-furred rats information and exchange.

    www.WarrenReptiles.com
    Website Hosting available see site for details

  3. #3
    BPnet Veteran firehop's Avatar
    Join Date
    10-19-2006
    Location
    South Chicago Burbs
    Posts
    380
    Thanks
    9
    Thanked 10 Times in 8 Posts
    Images: 4

    Re: Anyone familiar with PHP programming

    According to my server company they accept php. I just dont receive the e-mails. I will give them a call to see if she had any clue what she was talking about. Thanks
    Rick

    I'm 42 feel like I'm 70 and act like I'm 12
    Ball Projects, and too many other animals to list, 2.0 human children 0.1 supreme ruler aka wife

  4. #4
    VP of Cool
    Join Date
    02-28-2004
    Location
    Bing
    Posts
    5,927
    Thanks
    0
    Thanked 7 Times in 2 Posts

    Re: Anyone familiar with PHP programming

    Can you post ur code?
    When I let go of what I am, I become what I might be ~ Lao Tzu

  5. #5
    BPnet Veteran firehop's Avatar
    Join Date
    10-19-2006
    Location
    South Chicago Burbs
    Posts
    380
    Thanks
    9
    Thanked 10 Times in 8 Posts
    Images: 4

    Re: Anyone familiar with PHP programming

    I will send it to you.
    Rick

    I'm 42 feel like I'm 70 and act like I'm 12
    Ball Projects, and too many other animals to list, 2.0 human children 0.1 supreme ruler aka wife

  6. #6
    VP of Cool
    Join Date
    02-28-2004
    Location
    Bing
    Posts
    5,927
    Thanks
    0
    Thanked 7 Times in 2 Posts

    Re: Anyone familiar with PHP programming

    Sent you a rework. Let me know how it goes.
    When I let go of what I am, I become what I might be ~ Lao Tzu

  7. #7
    BPnet Veteran firehop's Avatar
    Join Date
    10-19-2006
    Location
    South Chicago Burbs
    Posts
    380
    Thanks
    9
    Thanked 10 Times in 8 Posts
    Images: 4

    Re: Anyone familiar with PHP programming

    Didnt work. Im gonna get ahold of my provider tomarrow and find out what the heck is going on. Anything I can do for you Ice let me know. I knew there would be someone here in the know that could help. That why I like reptile and motercycle people, always helping out.
    Rick

    I'm 42 feel like I'm 70 and act like I'm 12
    Ball Projects, and too many other animals to list, 2.0 human children 0.1 supreme ruler aka wife

  8. #8
    BPnet Veteran jhall1468's Avatar
    Join Date
    08-04-2005
    Posts
    496
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Images: 4

    Re: Anyone familiar with PHP programming

    If you can post your code I can attempt to help (PHP developer for 7 years now). It's likely that the headers are screwed up in the mail() function, or the lesser possibility that the mail function is disabled (although, this would throw an error if you haven't put an error suppressor before the function).
    Justin Hall

  9. #9
    VP of Cool
    Join Date
    02-28-2004
    Location
    Bing
    Posts
    5,927
    Thanks
    0
    Thanked 7 Times in 2 Posts

    Re: Anyone familiar with PHP programming

    Quote Originally Posted by firehop
    Didnt work. Im gonna get ahold of my provider tomarrow and find out what the heck is going on. Anything I can do for you Ice let me know. I knew there would be someone here in the know that could help. That why I like reptile and motercycle people, always helping out.
    Sorry to hear that man. It looks like pretty standard stuff. Maybe jhall might be able to shed some light on it.
    When I let go of what I am, I become what I might be ~ Lao Tzu

  10. #10
    VP of Cool
    Join Date
    02-28-2004
    Location
    Bing
    Posts
    5,927
    Thanks
    0
    Thanked 7 Times in 2 Posts

    Re: Anyone familiar with PHP programming

    Quote Originally Posted by jhall1468
    If you can post your code
    Pretty standard stuff actually...I won't post his code...so here's a simplified/tutorialized version of it.


    <?php
    if(isset($_POST['submit'])) {

    $to = "you@you.com";
    $subject = "Form Tutorial";
    $name_field = $_POST['name'];
    $email_field = $_POST['email'];
    $message = $_POST['message'];

    $body = "From: $name_field\n E-Mail: $email_field\n Message:\n $message";

    echo "Data has been submitted to $to!";
    mail($to, $subject, $body);

    } else {

    echo "blarg!";

    }
    ?>
    When I let go of what I am, I become what I might be ~ Lao Tzu

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBadvanced CMPS v4.2.1