That's the way should be, never enter your database access info directly into
any type of script, be it PHP or Perl or what ever, store it in a separate file,
no accessible separate file, then have the related script(s) call up the
variables thru the PHP's include, or Perl's 'require' or 'use' ... or something
to that effect! :)


>>At 05:48 PM 07/10/2001 , you wrote:
>>>Joe,
>>>
>>>Are you assigning your database variables within the config.php file or 
>>>directly
>>>into the mysql_connet(...);
>>>
>>>config.php:
>>>// database parameters
>>>// alter this as per your configuration
>>>$database="database_name";
>>>$user = "username";
>>>$pass = "password";
>>>$hostname = "localhost";
>>
>>Thanks a MILLION!!

Mike(mickalo)Blezien
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Thunder Rain Internet Publishing
Providing Internet Solutions that work!
http://www.thunder-rain.com
Tel: 1(225)686-2002
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to