dianagaby2002
-
Posts
8 -
Joined
-
Last visited
Posts posted by dianagaby2002
-
-
Which XAMPP version has a PHP that accepts this syntax:
mysql_connect();
-
Old 16 character long password hash?
Did php or mysql get updated?
http://dev.mysql.com/doc/refman/5.7/en/set-password.html
SET PASSWORD FOR 'username'@'localhost' = PASSWORD('thepassword')
Basically you need to set the password again
You can look in my.cnf and comment out this line, restart the server
old-passwords = 1
#1133 - Can't find any matching row in the user table
And I don't have my.cnf file
-
So what changed since yesterday? Because if it worked yesterday and not today then something did change.
Good question...I even reinstalled it and still...But my code is ok because it's the same I used 1 week ago...hmm
-
Warning: mysql_connect(): The server requested authentication method unknown to the client [mysql_old_password] in
mysql_connect($db_host, $db_user, $db_pass) or die(mysql_error());
It worked yesterday...
-
I've installed XAMPP win32-1.7.0 and I choose other port for Apache than 80(in config files) because 80 is used by other application. Still, when I open in the Browser the index page(the test page) of XAMPP or my page, I see a white page, not even errors.
-
So do you actually have 800 physical "page" files? If so, why?!
Yes...My colleague made the site and he wrote the menu in each page
-
I want to use a switch.....case like for example:
<a href="?link=1">Page 1</a> <a href="?link=2">Page 2</a> <a href="?link=3">Page 3</a> <?php $link = $_GET['link']; switch($link){ case 1: $page = "page1.php"; break; case 2: $page = "page2.php"; break; case 3: $page = "page3/page3.php"; break; } @include "$page"; ?>
will it be hard to process about 800 pages with switch...case?
thank you in advance;)
new mysqli syntax
in PHP Coding Help
Posted
I used the new mysqli syntax because with the mysql version I had errors on local BD and other BD.
However, when I use mysqli, I have NO errors in local BD, but got errors in the other BD:
Yup, I have these errors when connected to the OTHER BD, though I use mysqli.
If it has some importance, the local BD has no password(and user is ROOT), the other BD HAS password.