Ken2k7 Posted January 5, 2008 Share Posted January 5, 2008 well, the file that has the email code in it seems to be actm.php in the php folder which is the script the other folders are for flashcom. then the other file that holds email code is for operators signup and it's the same but that file is called actop.php Okay just to note, you shouldn't say $_GET[uID], it should be $_GET['UID']. And you need { } around the $_GET if you are to use it in a string directly. And I mean the file for the submission form. Quote Link to comment https://forums.phpfreaks.com/topic/84615-registration-emails-not-being-sent/page/2/#findComment-431294 Share on other sites More sharing options...
dellee Posted January 5, 2008 Author Share Posted January 5, 2008 I believe you but I didn't write it. lol. about 15 hours ago when this issue first started to get on my nerves a guy installed it on his server and it was shooting emails like it was meant to but he said he had to change some code and then he never replied back to me...He did say something about it being red flagged as spam also, I think he just changed some email text to get around that part but I don't know how he got the emails to start sending. Quote Link to comment https://forums.phpfreaks.com/topic/84615-registration-emails-not-being-sent/page/2/#findComment-431298 Share on other sites More sharing options...
dellee Posted January 7, 2008 Author Share Posted January 7, 2008 Should I close this topic out and if so how do I do it? I don't think anybody is gonna be able to fix this so no use wasting space. Quote Link to comment https://forums.phpfreaks.com/topic/84615-registration-emails-not-being-sent/page/2/#findComment-432347 Share on other sites More sharing options...
Ken2k7 Posted January 7, 2008 Share Posted January 7, 2008 Hey. Took a few minutes looking over the PHP file to see which one registers the username one. Finally found it. Interesting site I should say I guess I shouldn't check it out. :-X Take a look at operator.php in the registration folder. The top portion should be the one sending the emails. Of course I'm not 100% sure. Find the mail portion and rather saying $_SESSION['email'] try $_POST['email']. Not sure if that would solve it, but try it. I haven't 100% examined the entire code. If that doesn't work, try finding: if ($errorMsg==""){ header ("Location: sopregistered.php"); in the same page and remove the header. Edit: You really should hash your password. Don't insert it into the database like that. The account is more vulnerable that way. Quote Link to comment https://forums.phpfreaks.com/topic/84615-registration-emails-not-being-sent/page/2/#findComment-432361 Share on other sites More sharing options...
dellee Posted January 7, 2008 Author Share Posted January 7, 2008 Thanks for the reply, there are 3 different signups, user.php, model.php & operator.php would this be the same for each one? I will try this with the operator.php and see what I get. Quote Link to comment https://forums.phpfreaks.com/topic/84615-registration-emails-not-being-sent/page/2/#findComment-432378 Share on other sites More sharing options...
dellee Posted January 7, 2008 Author Share Posted January 7, 2008 Woo, Hooo. Your awesome!!! That sent the operator registration email but the other 2 signup forms don't appear to be written the same so I can't make that same change. Any ideas. I can't believe you fixed that. Quote Link to comment https://forums.phpfreaks.com/topic/84615-registration-emails-not-being-sent/page/2/#findComment-432397 Share on other sites More sharing options...
Ken2k7 Posted January 7, 2008 Share Posted January 7, 2008 Woo, Hooo. Your awesome!!! That sent the operator registration email but the other 2 signup forms don't appear to be written the same so I can't make that same change. Any ideas. I can't believe you fixed that. ??? I don't even know what went wrong. Was it the $_POST or header? Quote Link to comment https://forums.phpfreaks.com/topic/84615-registration-emails-not-being-sent/page/2/#findComment-432398 Share on other sites More sharing options...
dellee Posted January 7, 2008 Author Share Posted January 7, 2008 I changed it to $post and it worked great. Now I am looking at user.php in the registration folder and it is already set to $post but it looks weird, kinda the same but weird. The model.php for model signup does not need reg mail sent. Quote Link to comment https://forums.phpfreaks.com/topic/84615-registration-emails-not-being-sent/page/2/#findComment-432405 Share on other sites More sharing options...
Ken2k7 Posted January 7, 2008 Share Posted January 7, 2008 Oh, lol that's not good news. That's telling me something is wrong with sessions. Anyways, where are the other two forms? (sorry, I can't afford to look through any more files. Not fun, sorry ) Quote Link to comment https://forums.phpfreaks.com/topic/84615-registration-emails-not-being-sent/page/2/#findComment-432407 Share on other sites More sharing options...
dellee Posted January 7, 2008 Author Share Posted January 7, 2008 You know what I have no clue of what happend, I changed that back to the way it was and it still works. So sessions is working it must just be a problem with the user.php not sending the mail, I am sorry to say I may not have checked the operator signup before. I am strapped as far as cash goes but if you are interested in finding the error for the user.php signup I will give you a copy of all 3 flash media server applications on my website with an unlimited license. You can take a look camscripts.com, If not no big deal. Quote Link to comment https://forums.phpfreaks.com/topic/84615-registration-emails-not-being-sent/page/2/#findComment-432419 Share on other sites More sharing options...
Ken2k7 Posted January 7, 2008 Share Posted January 7, 2008 Put this: error_reporting(E_ALL); under session_start() and tell me if any errors pop up. Edit: Find all the $_POST like $_POST[userName] and put single quotes around the field so it's $_POST['UserName']. Do that for all the $_POST Quote Link to comment https://forums.phpfreaks.com/topic/84615-registration-emails-not-being-sent/page/2/#findComment-432426 Share on other sites More sharing options...
dellee Posted January 7, 2008 Author Share Posted January 7, 2008 wow, nothing but errors. Notice: Use of undefined constant UserName - assumed 'UserName' in /home/fmsdesig/public_html/payperview/registration/user.php on line 16 Notice: Undefined index: UserName in /home/fmsdesig/public_html/payperview/registration/user.php on line 16 Thats just at the top of the page when I go to it, it seems all these errors are because of the lack of ' ' like username needs to be 'username'. Could this stop the emails from sending out? And was there ever a time when the ' ' were not needed or was the creator of this script just a poor coder? Also like I said if you go to my site and email me from the contact form I'll send you a link to download those apps. Quote Link to comment https://forums.phpfreaks.com/topic/84615-registration-emails-not-being-sent/page/2/#findComment-432440 Share on other sites More sharing options...
Ken2k7 Posted January 7, 2008 Share Posted January 7, 2008 I edited that part in my post. Fill in the single quotes and run it again. Keep the error_reporting in there Quote Link to comment https://forums.phpfreaks.com/topic/84615-registration-emails-not-being-sent/page/2/#findComment-432442 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.