File permissions have nothing to do with the matter, but it's generally considered a poor security practice to make PHP files 666, and is illegal on some servers. Files should be left as the default (presumably 644) unless there's an instruction saying to chmod them.
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on Problem with mysql.php
Usergroup: Customer
Joined: Jun 18, 2007
Total Topics: 3
Total Comments: 10
I'm now getting these errors when importing links:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/sitename/public_html/links/databases/mysql.php on line 19
I've checked the permissions on mysql.php, and they are set to 666.
I'm tempted to bail on WSNLinks on this site, except that it is working so well on another site on the same server.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Please read scripts.webmastersite.net/w...icles/mysql-errors-66.html
File permissions have nothing to do with the matter, but it's generally considered a poor security practice to make PHP files 666, and is illegal on some servers. Files should be left as the default (presumably 644) unless there's an instruction saying to chmod them.