note 6140 deleted from shm_attach by ronabop
| From: | ronabop@php.net | Date: | Wed, 06 Sep 2000 06:39:44 +0000 |
| Subject: | note 6140 deleted from shm_attach by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-4219@lists.php.net to get a copy of this message | ||
I have a C program than creates a file at "/vclient.info", calls ftok() on the filename to
get a key, writes the key value to the file, then loop waiting for changes in shared memory. This
program works fine, but I have a problem with the PHP script that writes to it. The PHP script opens
the file, reads the key value, then calls shm_attach(keyvalue); the call to shm_attach causes the
script to end without outputing any HTML....anyone know whats up with this ?