fbsd_user wrote:
Need to set the initial value for an counter and save it, then
bump the saved value by one every time the php script is executed.
This must be a very basic function, but not being an php
script coder my self this is all new to my.
Can anyone provide sample code I can use to
Peter Risdon wrote:
whoops... delete junk |characters inserted by my paste:
|$counter_file = '/tmp/counter.txt';
^
and
?|
^
PWR
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe,
29, 2004 9:09 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED] ORG
Subject: Re: Counter in php script
fbsd_user wrote:
Need to set the initial value for an counter and save it, then
bump the saved value by one every time the php script is executed.
This must be a very basic function, but not being
fbsd_user wrote:
Thanks, a really great reply.
Have some questions about the fine details.
I haven't used this script, just happened to notice it the other day
while looking something up, but ...
The counter file is an single line with any size numeric
field starting in position 1?
Like