bmconnect Posted May 23, 2011 Share Posted May 23, 2011 Hi, I'm new here and new to php. My first attempt at a php project actually so I'm hoping to get some help. I want people to register at my site but I don't want them to put false emails on it. So I used the coding from this website http://www.phpeasystep.com/workshopview.php?id=24 to provide codings for forms and email confirmation links. The process worked up to when I click on the confirmation link (at testing) from the email and the link returns to a blank webpage. No data is transferred from "temp_members_db" table to "registered_members" table at all. I'll attach print screen of my tables. Hoping that someone can point out to me where I'm going wrong as I can't seem to get myself out of this one. Quote Link to comment https://forums.phpfreaks.com/topic/237177-verification-of-email-thru-email-confirmation-link-im-stuck/ Share on other sites More sharing options...
anupamsaha Posted May 23, 2011 Share Posted May 23, 2011 Please add the following at the top of the PHP script which creates a blank output. error_reporting(E_ALL); ini_set("display_errors", 1); This will enable you to see what the error is. Quote Link to comment https://forums.phpfreaks.com/topic/237177-verification-of-email-thru-email-confirmation-link-im-stuck/#findComment-1218971 Share on other sites More sharing options...
bmconnect Posted May 24, 2011 Author Share Posted May 24, 2011 Hi, I put those lines in the beginning of the php script but it still returned a blank webpage. Quote Link to comment https://forums.phpfreaks.com/topic/237177-verification-of-email-thru-email-confirmation-link-im-stuck/#findComment-1219423 Share on other sites More sharing options...
Pikachu2000 Posted May 24, 2011 Share Posted May 24, 2011 Using runtime (adding those lines to the script) error reporting will not work if there is a fatal parse error in the script. While developing, you should have the following in your php.ini file: error_reporting = -1 display_errors = On Another thing to note is that the vast majority of the tutorials on phpeasystep are outdated, obsolete and use deprecated functions. I can't recommend using any of the information on that site. Quote Link to comment https://forums.phpfreaks.com/topic/237177-verification-of-email-thru-email-confirmation-link-im-stuck/#findComment-1219429 Share on other sites More sharing options...
bmconnect Posted May 24, 2011 Author Share Posted May 24, 2011 Oh... Is there a site I can get script for what I need that is current and up to date? Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/237177-verification-of-email-thru-email-confirmation-link-im-stuck/#findComment-1219442 Share on other sites More sharing options...
Pikachu2000 Posted May 24, 2011 Share Posted May 24, 2011 I haven't looked at many of them, so I'd hesitate to recommend one. Quote Link to comment https://forums.phpfreaks.com/topic/237177-verification-of-email-thru-email-confirmation-link-im-stuck/#findComment-1219608 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.