[PHP] __call for existing methods?

2010-05-21 Thread Maximiliano Churichi
public function insert () { echo 'inserting'; } } $johnDoe = new Son(); $johnDoe->insert(); /* -- Expected return: something before called method inserting */ $johnDoe->foo(); /* -- Expected return: something before called method invalid method */ Greeti

Re: [PHP] running php script as a user?

2009-07-21 Thread Maximiliano Churichi
t; directory.  Since apache web server runs as the user nobody, how will I have > that script execute as that user so that it can write data to their home > directory? > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.ph

Re: [PHP] exasperated again

2009-07-01 Thread Maximiliano Churichi
--- p...@ptahhotep.com >   http://www.ptahhotep.com >   http://www.chiccantine.com/andypantry.php > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > Is that exactly your code? see your 4th line: > $result = msql_query($sql, $db); you forgot the "y" in mysql_query function... if you have a 500 error code maybe this is the problem -- Maximiliano Churichi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php