No.  The only way they can get your source is by ftping or having shell
access to your server.  And even then, they'd have to have read perms on
your web folder/files.  If you were to have a lot of unknown people
jacking around on your server, you have a lot of other stuff to worry
about that who's gonna steal your mysql username/password.

They can't just say:

and get the php-source, all they'd get is the HTML source.

Tyler Longren
Captain Jack Communications

On Tue, 25 Jun 2002 20:46:04 +0100
"Peter" <[EMAIL PROTECTED]> wrote:

> When you have the standard
> $link = mysql_connect("localhost","username","secretpassword");
> Would it not be possible for someone to use PHP from another server to
> download your source and find out your MySQL details including
> password?
> -- 
> PHP General Mailing List (
> To unsubscribe, visit:

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to