Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199903

Re: [PHP3] shopcart w/o cookies From: Richard Lynch (lynch <email protected>)
Date: 03/18/99

At 12:56 PM 3/18/99, pete collins wrote:
>yea I know but i'm using IP address combined with the date down to
>seconds for the
>user ID
>so that makes the id pretty unique

So you're issuing/storing the ID, and then maintaining it across pages via
GET URLs or HIDDEN INPUTs in FORMs, right?

#1. The uniqueid() function will be better than IP + date.
#2. You are wide open to semi-intelligent hackers with this implementation.

Check out PHPLIB, if you haven't already.

-- "TANSTAAFL" Rich lynch <email protected> webmaster@ and www. all of:
R&B/jazz/blues/rock - jademaze.com music industry org - chatmusic.com
acoustic/funk/world-beat - astrakelly.com sculptures - olivierledoux.com
my own nascent company - l-i-e.com cool coffeehouse - uncommonground.com

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3
List administrator:  zeev-list-admin <email protected>