hi guys
is there ne programmer in php+mysql ?
bcuz in php we get connected to mysqld with the strings like
<?
$hostname="urhostname";
$username="username";
$passwd="urpasswd";
MYSQL_CONNECT($hostname,$username,$passwd);
?>
now my problem is this .php3/.phtml file is world readable
evn if the directory in which it is placed is not having r/w access on
webserver
but ne 1 who is having telnet access (in case of webserver the other guys
who r hosting on the same server)
can copy the file without getting ne problem...thus he can get the database
passwd (which is very critical)
i've tried that n i could successfully get passwd for many sites(i mean the
DB passwd) on my server which r running php scripts
will ne 1 working on securing weserver help me out plz....
or is there ne diff way of defining username+passwd in php script?
can external exec file EXPORT these variables ?how to get them in php script
working?
expecting a reply from u guys
ranjeet
______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com?sr=mc.mk.mcm.tag001
To subscribe / unsubscribe goto the site www.ilug-bom.org ., click on the mailing list
button and fill the appropriate information
and submit. For any other queries contact the ML maintener