7pm Posted April 10, 2006 Share Posted April 10, 2006 MOVED TO 'PHP HELP' Quote Link to comment https://forums.phpfreaks.com/topic/7002-issue/ Share on other sites More sharing options...
Yesideez Posted April 10, 2006 Share Posted April 10, 2006 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 Link to comment https://forums.phpfreaks.com/topic/7002-issue/#findComment-25423 Share on other sites More sharing options...
7pm Posted April 10, 2006 Author Share Posted April 10, 2006 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] Quote Link to comment https://forums.phpfreaks.com/topic/7002-issue/#findComment-25425 Share on other sites More sharing options...
Yesideez Posted April 10, 2006 Share Posted April 10, 2006 Was it sending emails before and not now? Quote Link to comment https://forums.phpfreaks.com/topic/7002-issue/#findComment-25427 Share on other sites More sharing options...
7pm Posted April 10, 2006 Author Share Posted April 10, 2006 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] Quote Link to comment https://forums.phpfreaks.com/topic/7002-issue/#findComment-25428 Share on other sites More sharing options...
Yesideez Posted April 10, 2006 Share Posted April 10, 2006 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 Link to comment https://forums.phpfreaks.com/topic/7002-issue/#findComment-25429 Share on other sites More sharing options...
7pm Posted April 10, 2006 Author Share Posted April 10, 2006 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] Quote Link to comment https://forums.phpfreaks.com/topic/7002-issue/#findComment-25431 Share on other sites More sharing options...
7pm Posted April 10, 2006 Author Share Posted April 10, 2006 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???? Quote Link to comment https://forums.phpfreaks.com/topic/7002-issue/#findComment-25570 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.