[PHP] __call for existing methods?

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

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

2009-07-21 Thread Maximiliano Churichi
/username 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.php -- Maximiliano

Re: [PHP] exasperated again

2009-07-01 Thread Maximiliano Churichi
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