Re: [PHP-DEV] Property Overloading RFC

2005-08-08 Thread Roland Tapken
Hi! Sorry for wrong threading or if this solution was suggested before... i currently don't have access to my mail client:) > 3. There is no way for the magic methods to return a meaningfull error > when a property doesn't "exist". Of course it is possible to throw an > error with "trigger_error"

[PHP-DEV] mysql_connect('localhost') should use tcp/ip instead of socket

2004-10-02 Thread Roland Tapken
Hi! When using 'localhost' in mysql_connect(), php tries to use a socket to connect to the mysql daemon. Is there a way to force php to resolve the hostname of localhost, maybe by patching some source file? The reason is that a socket is not avaible because mysql and apache are running in differen