DayDreamer16 Posted July 23, 2010 Share Posted July 23, 2010 I haven't tested with this script in like 2 years and I find now that its completely recoded. Can someone please help me with this line of code? This is the error I get Deprecated: Function ereg() is deprecated in /home/chad/public_html/phpmylogin.com/public/includes/functions.php on line 135 and here's the code line if(strlen($key)<>32||ereg("[^a-f0-9]",$key)) I've configured everything else now I just need to know how to get this activation working. Quote Link to comment https://forums.phpfreaks.com/topic/208721-phpmylogin-help/ Share on other sites More sharing options...
.josh Posted July 23, 2010 Share Posted July 23, 2010 That error means you are using a function that is being removed from the core. the posix compatible regular expression functions are being removed by php6, so you should switch to the pcre regex function equivalent: if(strlen($key)<>32||preg_match("~[^a-f0-9]~",$key)) Quote Link to comment https://forums.phpfreaks.com/topic/208721-phpmylogin-help/#findComment-1090442 Share on other sites More sharing options...
DayDreamer16 Posted July 24, 2010 Author Share Posted July 24, 2010 Never mind, it was a whole different problem. It was sending me to the official PhpMyLogin website for activation for some reason. I still do not know how I fixed it. So just disregard this whole thread. Quote Link to comment https://forums.phpfreaks.com/topic/208721-phpmylogin-help/#findComment-1090508 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.