[peruser] Tip for using MySQL with PHP

Ben Kennedy ben at zygoat.ca
Sat Jul 16 08:34:35 MDT 2005

Blaubaer wrote at 12:13 PM (+0200) on 7/16/05:

>But when we use chroot with peruser, we have no access on this file. We can 
>type or the original server ip, but its not a nice work.
>        if (strcmp(host,"localhost")==0)
>            host="";

What is the difference here, then?  If I understand correctly, you are
just hiding yourself from having to type "" in mysql_connect()
instead of "localhost".  So this is a purely cosmetic difference; why
would you patch mysql just to achieve that?


Ben Kennedy, chief magician
zygoat creative technical services
613-228-3392 | 1-866-466-4628

More information about the Peruser mailing list