Date: 12/29/00
- Next message: Teodor Cimpoesu: "Re: [PHP] adduser on a Linux Redhat 7"
- Previous message: Vinay Bharel: "[PHP] Test - Please Ignore"
- Next in thread: jeremy brand: "Re: [PHP] How secure is this?"
- Reply: jeremy brand: "Re: [PHP] How secure is this?"
- Reply: WreckRman2: "RE: [PHP] How secure is this?"
- Reply: Philip Olson: "Re: [PHP] How secure is this?"
- Reply: Richard Lynch: "Re: [PHP] How secure is this?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I have setup a page that accesses mysql. The page has to included the
account login name and password to access the mysql database.
Example...
<?php
$user = "username"; //actual username goes here
$pass = "password"; //actual password goes here
$db = mysql_connect("localhost", $user, $pass)OR DIE("Unable to connect
to database");
?>
If you get the idea.
My concern is what if somebody can get to the source code. It could ruin me.
I realise the php is a server side language, but is there any way that
somebody could read this. If so how do i stop it? or is there another way to
store my username & password that cannot be read.
Please help
Thanks
Chris
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Teodor Cimpoesu: "Re: [PHP] adduser on a Linux Redhat 7"
- Previous message: Vinay Bharel: "[PHP] Test - Please Ignore"
- Next in thread: jeremy brand: "Re: [PHP] How secure is this?"
- Reply: jeremy brand: "Re: [PHP] How secure is this?"
- Reply: WreckRman2: "RE: [PHP] How secure is this?"
- Reply: Philip Olson: "Re: [PHP] How secure is this?"
- Reply: Richard Lynch: "Re: [PHP] How secure is this?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

