> I don't quite know how I can write a bite into a file. I also looked into a
> manual and couldn't find a mention of FLock-ing in the explaination for
> FOpen parameters.
Ok, from memory:
fwrite(fopen('/tmp/counter', 'a'), '1');
The 1 could be any single byte character I guess.
HTML5 graphing: RGraph - www.rgraph.net (updated 25th July)
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php