[HELP]Account registration does not work
I've upgraded the server from ubuntu12.04 to 14.04.
However, PHP no longer work the account registration from getting to v5.5.
Someone rescue thank you.
---My server specification---
Ubuntu Linux 14.04.2
Apache version 2.4.7
PHP Version 5.5.9-1ubuntu4.9
MySQL version 5.5.41
---Part that is the problem---
PHP Code:
$Salt = base64_encode(md5($Login.$Pass, true));
MySQL_Query("call adduser('$Login', '$Salt', '0', '0', '0', '0', '$Email', '0', '0', '0', '0', '0', '0', '0', '', '', '$Salt')") or die ("adduser not calling");
echo "<font color=red>Account <b>".$Login."</b> has been created.</font>";
Re: [HELP]Account registration does not work
i got the same problem when i upgraded to that version, only way i knew how to fix it was downgrade back to 12.04
Re: [HELP]Account registration does not work
Quote:
Originally Posted by
HyperSin
i got the same problem when i upgraded to that version, only way i knew how to fix it was downgrade back to 12.04
Thank you for your comments.
But Web sites that are working in apache2 at my server can not downgrade because that in conjunction with the Facebook app. (Conditions of work of Facobook app PHP5.4 or more)
I'll try looking for a solution for a while.
Re: [HELP]Account registration does not work
only way you can downgrade is to make a new V.M. and transfer all server files
Re: [HELP]Account registration does not work
Quote:
Originally Posted by
HyperSin
only way you can downgrade is to make a new V.M. and transfer all server files
In PHP5.5 it seems to have become unusable mysql command from PHP.
I am trying to do not call a procedure now msqli or PDO Mysql.
Re: [HELP]Account registration does not work
Try to use PDO or MySQLi instead of MySQL. u only gain benefits...Like more security in ur server. =P
Re: [HELP]Account registration does not work