|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-02-01 00:05 UTC] mfischer@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 23 14:00:02 2025 UTC |
I'm sorry about my lack of experience with these things, and I'm not sure if this is a problem with PHP or with my server configuration. Whenever I use the mysql_connect function and store the result in a variable, the arguements aren't parsed. mysql_connect("localhost", "username", "password"); works perfectly fine. The problem arises when I use $link=mysql_connect("localhost", "username", "password"); and it says "Access denied for user apache@localhost (Using password: NO)". Yes, I recoded the script for the main page of my site, but there are many things that I shouldn't have to (i.e. it should work like that ^), like vBulletin. Like I said, I'm new at this and I don't know if it's my configuration or a problem with PHP...but I hope it's the former, and any help would be appreciated.