I have the following code:
include "http://www.website.com/config.php";
When I try and use this code on the page http://www.website.com/profile/profile.php it gives me the following error:
Warning: mysql_query(): Access denied for user: 'root@localhost' (Using password: NO) in /home/website/public_html/profile/profile.php on line 38
Warning: mysql_query(): A link to the server could not be established in /home/website/public_html/profile/profile.php on line 38
Does anyone know why this is? I have the right link for it, when I put in the actual connectivity to the db in the code though it works fine. Please help.
Thanks!