Jump to content

Archived

This topic is now archived and is closed to further replies.

7pm

ISSUE!! :)

Recommended Posts

If you surround your code with the bbcode "CODE" tags it'd be easier to read.

Also, I suggest being a little more specific with what your problem is instead of just saying it doesn't work.

Try and say what you want it to do, what it isn't doing and what data you're throwing at it - will increase the chances of some help.

But! Saying that I did see this little abnormality:
[code]if(!$name or !$email or !$address) {[/code]
Try changing to:
[code]if(!$name || !$email || !$address) {[/code]

Share this post


Link to post
Share on other sites
Well not sure how else to say it, "it doesn't work anymore", lol. But thank you for that code check i'll try that change up.
This was originally created and tested in [a href=\"http://www.phpfreaks.com/forums/index.php?showtopic=87985&st=\" target=\"_blank\"]THIS[/a] thread. I don't get why it's not working anymore.

I'm also checking with my webhost to make sure PHP is installed and working properly on the main server.



[!--quoteo(post=363218:date=Apr 10 2006, 04:40 AM:name=Yesideez)--][div class=\'quotetop\']QUOTE(Yesideez @ Apr 10 2006, 04:40 AM) [snapback]363218[/snapback][/div][div class=\'quotemain\'][!--quotec--]
If you surround your code with the bbcode "CODE" tags it'd be easier to read.

Also, I suggest being a little more specific with what your problem is instead of just saying it doesn't work.

Try and say what you want it to do, what it isn't doing and what data you're throwing at it - will increase the chances of some help.

But! Saying that I did see this little abnormality:
[code]if(!$name or !$email or !$address) {[/code]
Try changing to:
[code]if(!$name || !$email || !$address) {[/code]
[/quote]

Share this post


Link to post
Share on other sites
yeah oddly enuff, it worked fine at first...


[!--quoteo(post=363222:date=Apr 10 2006, 04:49 AM:name=Yesideez)--][div class=\'quotetop\']QUOTE(Yesideez @ Apr 10 2006, 04:49 AM) [snapback]363222[/snapback][/div][div class=\'quotemain\'][!--quotec--]
Was it sending emails before and not now?
[/quote]

Share this post


Link to post
Share on other sites
Just located another topic I helped with emails: [a href=\"http://www.phpfreaks.com/forums/index.php?showtopic=90555\" target=\"_blank\"]http://www.phpfreaks.com/forums/index.php?showtopic=90555[/a]

Make sure the header is formatted properly as I've had problems with it before myself and realised I'd been a bit too tired and missed something off the end.

If at the end you still have problems, try using ECHO to display the contents of the variables passed to mail() so you can see exactly what they contain - weird stuff can happen to their contents with a missing quote or misplaced full stop.

Share this post


Link to post
Share on other sites
The header in the php you mean between the <head> section like at the top of html? Like I said i'm bad with this stuff. Also, not sure how to use that ECHO feature.


[!--quoteo(post=363224:date=Apr 10 2006, 04:53 AM:name=Yesideez)--][div class=\'quotetop\']QUOTE(Yesideez @ Apr 10 2006, 04:53 AM) [snapback]363224[/snapback][/div][div class=\'quotemain\'][!--quotec--]
Just located another topic I helped with emails: [a href=\"http://www.phpfreaks.com/forums/index.php?showtopic=90555\" target=\"_blank\"]http://www.phpfreaks.com/forums/index.php?showtopic=90555[/a]

Make sure the header is formatted properly as I've had problems with it before myself and realised I'd been a bit too tired and missed something off the end.

If at the end you still have problems, try using ECHO to display the contents of the variables passed to mail() so you can see exactly what they contain - weird stuff can happen to their contents with a missing quote or misplaced full stop.
[/quote]

Share this post


Link to post
Share on other sites
Well I asked, and PHP is infact running properly on the main server, so then I am still lost as to what is up here. PLEASE people...i still need help with this, anyone????

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.