[PHP] Re: remote call

2005-04-25 Thread Jeremiah Fisher
For RMI/RPC/Object Proxying/Remoting in PHP, check out PHPBeans (http://www.phpbeans.com/) and memcached (http://www.danga.com/memcached/). I was going to combine the two until the alloted time for the project got slashed. The result would have been a PHP driven system with the only single poin

[PHP] Re: cache class

2005-03-22 Thread Jeremiah Fisher
I usually encounter this when there's an error of some sort. Tail your error log and see if the apache child thread is seg faulting (if you're using httpd). The web server may still be up, but your code is causing the particular connection to fail. Because the connection just dies, the browser

[PHP] Re: Ensure only one instance of a script is running

2005-03-17 Thread Jeremiah Fisher
Test for a lock file when the script starts, and remove it when the script ends. This isn't 100% reliable, but it's the typical solution to this problem. If the script fails, the lock file may not be removed (ever have a Mozilla browser crash and tell you the default profile is locked?), so be

[PHP] Re: recommending a PHP book?

2005-03-15 Thread Jeremiah Fisher
"PHP 5 Power Programming" by Andi Gutmans, Stig Bakken, and Derick Rethans may be worth the read for you. It doesn't mention an MVC, but they do talk a little about patterns in PHP. However, you probably won't find much in-depth coverage of patterns in PHP. There are alot of good books written