Added: 4 years ago
From: gorilla3d
Views: 24,943
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (68)

Sign In or Sign Up now to post a comment!
  • great tutorial!

    but i have a problem - i receive the messages into the junk

    plz help?

    thanx however

  • thx Sir, Gud tutorial..

  • thanks! :D

  • Is there a way to turn this code into a guestbook code as well? I like the fact that you can have it send emails, but I would also like it be a guestbook so the messages post on the website and yet still send an email verification? Please let me know if this is possible :) Thnx

  • When i send the mail, it just sends the title of the mail, not what the person wrote

  • Thanx

    can any one help me please my email keep going to the junk mail!

    can any one tell me what I have to do to get that email in the inbox ?

    my code is :

    ini_set ("SMTP", "smtp.myname.com");

    mail ($email, $subject, $body, $headers);

    thanx

  • awesome vids thank you :)

  • awww.. now i have to type it plz fix links!

  • that was easy

  • It works great! I recieve the email but I get the same error as some others when it should go to step3.html I get :

    Warning: Cannot modify header information - headers already sent by (output started at /home/portsmou/public_html/ste­p2.php:2) in /home/portsmou/public_html/ste­p2.php on line 16

    Line 16 is: header('Location: step3.html');

    Any help please??

  • it works like a charm. don't listen those retarded shits. they are to stupid to live up in this world.

  • I've been watching video for html info. Cheers. Mate

  • i keep getting:

    Parse error: syntax error, unexpected T_VARIABLE in /home/u125032458/public_html/s­cript.php on line 4

    it looks exactly like ur code... what am i doing wrong?

  • @killswitch921

    i dont really know the answer but i think this will work when you upload your files to a host and then try it again.

    because you cant send a mail from your pc , i think but im not sure

    hope it helps you

  • Ok, the e-mail confirmation notification with the built in method: mail()

    thanks buddy what's your text-code editor please?

    It gives you intuitive writing and definitions, cool stuff I 'd like to use it .

  • Wow.... Thats Pretty Cool yar... thanks man...

    I need some more info... I jus need an Alert of Thank you instead of going to step3.html...

    I need an alert of thank you in the contact us page itself.....

  • @gorilla3d what if you have a drop down

    does the coding change for example

    $designer = $_POST['designer'];

    does because its a drop down in my html file affect it??????????

  • @ieatgalapples How?

  • i don't see results! please, try again!

  • It's not working. I read from somewhere else that I need to change my php.ini file and put the smtp adress to my ISP and port to 25. So.. to use my ISP SMTP server. But still nothing, it doesn't give me any errors but it doesn't send the mail. I am usin WAMP Server and I have access to the Internet. Should I forward port 25 in my router and firewall?

  • Thanks!!!! Great Tutorial!!!

  • mmuuh yhea, i have a problem when i press submit i get the error:

    Method Not Allowed

    The requested method POST is not allowed for the URL /step2.php.

  • Thanks...

  • Comment removed

  • Not sure if I'm making a mistake somewhere. I have tested by turning off css in my browser and filling out the both forms. I'm getting this in my inbox from the fake one: NVALID_ADDRESS SYNTAX-ERROR

    any ideas?

    I'm new to PHP and finding your vids really helpful. Thanks very much for making them.

  • Header Fix!

    In other words, only have what's between <?php and ?

  • Comment removed

  • Header Fix! Everyone, regarding the header error, fix it like this: make step2.php only contain the PHP part, and no HTML.

  • dfgfg

  • Thank you very much. Very good tutorial. five stars...

  • THANX , GR8 TUTORIAL

  • header ('location: step3.html');

    get header error

  • something wrong here: header("location:step3.html"); please advise

  • Great tutorial, thanks so much.

  • mate i keep getting an error saying "Cannot modify header information"

  • Thank you . Great tutorial.

  • I have tried to learn php for so long, but i keep giving up asa soon as i start. You make it look so easy, so i think ill trt again and use your videos

  • Quick question. how do I go about adding more fields on the PHP code like company name and phone number? I just want it in the message section when I get their email but can't figure it out. Help!

  • Warning: Cannot modify header information - headers already sent by (output started at /home/fellipe56/public_html/st­ep2.php:1) in /home/fellipe56/public_html/st­ep2.php on line 10

  • i have exactly the same problem,, dont knw wats wrong

  • u r a good teacher i am a student i want your more help. in sending mail forms.

  • Nice tutorial

  • I didn't want to use an "inquiry box" so I deleted it but everytime I type in the name and password a blank page appears with the following writing on:

    '); ?>

    What gives?

    Yes...I'm an uber noob.

  • What is the program you use???

  • hey i know this may sound like a stupid question, i've made a form and it emails no problems, what i would love to know is how can you make the "confirmed email sent" page load in the same window as the form was in. so the user fills out the form, clicks send and the confirmed page loads in that same window. i've tried your code, ive tried others but it still loads in a seperate window. anyone can help would really appreaciate.

  • I have one problem, when I press submit on my form it goes to step2.php (as normaly), but there it's not completly blank, it has this writen in it on the top left corner: '); ?>

    Could you help me please?

  • Yeah it has the same with me and i have a server...

  • Yeah it has the same with me and i have a server...

  • This is a great video, I followed each of your steps... but, I'm not getting any email I don't know what might be the problem... I'd really appreciate your help

  • Thaaanks ;)

  • I send you a message in your website please answer :]

    thanks !

  • hm.. I dont get any email when i try??

  • MAN this aint work properly .

    does not send to yahoo nor to gmail n not even to a specific email , well ...

    we need a strong code that ccould send to any E-mail adress\ peace out man

  • we need a strong code? This code is presented with the purpose to teach. Not only that its "Sendmail" Read up on that you'll figure out quickly, if your mailer server send spam, then companies like google or yahoo can block your mail form even getting to them.

  • Dude! 5 Stars. This helped me out a lot. Even the company I go through couldnt figure it out! Thanks a bunch. Keep up the good work!

    ~ Nick

  • Dude! 5 Stars. This helped me out a lot. Even the company I go through couldnt figure it out! Thanks a bunch. Keep up the good work!

    ~ Nick

  • It doesn't help for spam only user error, but you did give me a new topic to work on for my next video.

  • awesome! :D

  • great video, does the separation into 3 parts also help block robots trying to send spam? I just want them to be able to submit stuff without needing to test them if they are human, using one of those image to text matching forms.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more