Process locking in PHP

Matt Alexander plug-discuss@lists.plug.phoenix.az.us
Wed, 29 Jan 2003 14:11:46 -0700 (MST)


You should forward this to the AZPHP user group.
http://azphp.org


> A customer of ours is using a program named microcom called from his own
> php scripts to interface with it. He wants to know how he can put an
> exlusive lock on the program from php and then release it. He's doing
> this so more than one person can use microcom (which is hooked up to a
> device sitting on the serial port). He said that flock() in php only
> works with file pointers, not processes.