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
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/step2.php:2) in /home/portsmou/public_html/step2.php on line 16
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?
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.
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/step2.php:1) in /home/fellipe56/public_html/step2.php on line 10
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:
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: '); ?>
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
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.
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.
great tutorial!
but i have a problem - i receive the messages into the junk
plz help?
thanx however
TheClevo 2 months ago in playlist Liked videos
thx Sir, Gud tutorial..
shankerramchand 4 months ago in playlist More videos from gorilla3d
thanks! :D
appuvaz 5 months ago
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
Hyperpaperclip1987 8 months ago
When i send the mail, it just sends the title of the mail, not what the person wrote
MrGtyuy 8 months ago
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
Samr3D 8 months ago
awesome vids thank you :)
jago125 9 months ago
awww.. now i have to type it plz fix links!
Belhelmiel 10 months ago
that was easy
HawxTeamDelta 11 months ago
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/step2.php:2) in /home/portsmou/public_html/step2.php on line 16
Line 16 is: header('Location: step3.html');
Any help please??
MrLFenner 11 months ago
it works like a charm. don't listen those retarded shits. they are to stupid to live up in this world.
cazangeorgian 11 months ago
I've been watching video for html info. Cheers. Mate
howtocreatewebsite 1 year ago
i keep getting:
Parse error: syntax error, unexpected T_VARIABLE in /home/u125032458/public_html/script.php on line 4
it looks exactly like ur code... what am i doing wrong?
killswitch921 1 year ago
@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
d0pyy 1 year ago
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 .
keyzoner 1 year ago
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.....
ajanthanm12 1 year ago
@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??????????
NJRman1 1 year ago
@ieatgalapples How?
MUTORIALS 1 year ago
i don't see results! please, try again!
copoquebrado 1 year ago
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?
phonebooth19 1 year ago
Thanks!!!! Great Tutorial!!!
TacticalHelp 1 year ago
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.
rnguard 1 year ago
Thanks...
VanGavran 1 year ago
Comment removed
2ardangel 2 years ago
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.
tomtmj 2 years ago
Header Fix!
In other words, only have what's between <?php and ?
russ30339 2 years ago
Comment removed
garym1408 1 year ago
Header Fix! Everyone, regarding the header error, fix it like this: make step2.php only contain the PHP part, and no HTML.
russ30339 2 years ago
dfgfg
russ30339 2 years ago
Thank you very much. Very good tutorial. five stars...
oliviergeekdude 2 years ago
THANX , GR8 TUTORIAL
4rmplanet 2 years ago
header ('location: step3.html');
get header error
JamesA8757 2 years ago
something wrong here: header("location:step3.html"); please advise
JamesA8757 2 years ago
Great tutorial, thanks so much.
kunondrum 2 years ago
mate i keep getting an error saying "Cannot modify header information"
vanmaarwijk 2 years ago
Thank you . Great tutorial.
RedOjin 2 years ago
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
woo88die 2 years ago
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!
vqrola 2 years ago 2
Warning: Cannot modify header information - headers already sent by (output started at /home/fellipe56/public_html/step2.php:1) in /home/fellipe56/public_html/step2.php on line 10
Danieloncarevic 2 years ago
i have exactly the same problem,, dont knw wats wrong
vanmaarwijk 2 years ago
u r a good teacher i am a student i want your more help. in sending mail forms.
shaheentrader 2 years ago
Nice tutorial
dacoder96 2 years ago
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.
magnet101 2 years ago
What is the program you use???
nicelll 3 years ago
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.
dazmandawson 3 years ago
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?
svizy 3 years ago 2
Yeah it has the same with me and i have a server...
nicelll 3 years ago
Yeah it has the same with me and i have a server...
nicelll 3 years ago
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
josuesalomon20 3 years ago
Thaaanks ;)
jogvanandersen 3 years ago
I send you a message in your website please answer :]
thanks !
Nipelll 3 years ago
hm.. I dont get any email when i try??
jogvanandersen 3 years ago
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
kennethcole02 3 years ago
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.
gorilla3d 3 years ago
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
mejiamovies 4 years ago
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
mejiamovies 4 years ago
It doesn't help for spam only user error, but you did give me a new topic to work on for my next video.
gorilla3d 4 years ago
awesome! :D
junghokim 4 years ago
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.
junghokim 4 years ago