Jump to content

PhpMyLogin Help


DayDreamer16

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/208721-phpmylogin-help/
Share on other sites

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))

Link to comment
https://forums.phpfreaks.com/topic/208721-phpmylogin-help/#findComment-1090442
Share on other sites

Archived

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

×
×
  • Create New...

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.