note 31761 added to ref.shmop

From: Date: Fri, 02 May 2003 17:48:33 +0000
Subject: note 31761 added to ref.shmop
Groups: php.notes 
Request: Send a blank email to php-notes+get-47397@lists.php.net to get a copy of this message
Just so you know, the ftok function is probably the best for getting the key.. just so there are not people confused with how they are coming up with these hex codes for the id. $fsize = filesize("/home/joeldg/testdata"); $fdata = file_get_contents("/home/joeldg/testdata"); $shm_id = shmop_open(ftok("/home/joeldg/testdata", 'R'), "c", 0644, $fsize); -- http://www.php.net/manual/en/ref.shmop.php http://master.php.net/manage/user-notes.php?action=edit+31761 http://master.php.net/manage/user-notes.php?action=delete+31761 http://master.php.net/manage/user-notes.php?action=reject+31761

« previous php.notes (#47397) next »