Re: Given only one mySQL user account by Host Company

From: Date: Sun, 23 Jan 2005 21:15:05 +0000
Subject: Re: Given only one mySQL user account by Host Company
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-38292@lists.php.net to get a copy of this message
Yes they gave me phpMyAdmin to use, and no, I have no access to the user/privilege table. So the only way to output database entries is to connect with the single super account they gave me. I have a question about what you said Doug: >Use INCLUDEs for the login portions of the script(s) and place them in a >protected directory. If >you are unable to protect directories (.htaccess) >with this host, they are begging for trouble and >victimizing their >subscribers. In other words, call on an external function to connect to the database, and place the file with this function in a directory that is .htaccess protected. Is this correct? I do have a separate file with a database connect function that all the pages on my site use, I just don't have it in a .htaccess protected directory.

« previous php.db (#38292) next »