Just have a look around for a counter script which uses file locking, then
port it to suit your needs, or check out the flock() example that *i think*
there is in the manual.

phpbuilder.com or zend.com or the rest are bound to have a script.

Justin French

on 22/05/02 11:38 PM, Nick Wilson ([EMAIL PROTECTED]) wrote:

> Hash: SHA1
> hi all
> I have to build a php 'survey' app. but cannot use a db,
> clearly text files are the way but I wondered, before I start if any of
> you have done similar and might offer any words of wisdom?
> Are there any inherent problems I need be aware of for example (I can
> already think of one: what if 2 people try to vote at the same time?)
> Just some general thoughts would be greatly appreciated ;)
> - -- 
> Nick Wilson     //  www.explodingnet.com
> Version: GnuPG v1.0.6 (GNU/Linux)
> iD8DBQE8659rHpvrrTa6L5oRAu8PAJ48Xf71iv98nN9nTac+tyHX5PJ+VgCgrTuI
> dk/+Hf8S+L9NdBo02oDt25U=
> =ESei

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to