I use MyCart for the sites I've built around Shopping Carts. In MyCart
there is some combination of ip address and date or time (I haven't looked
at the source recently) concatenated together.
You might want to take a look at MyCart for ideas...or as a solution to
avoid having to build a cart fr
I use sessions combinded with utc
function mtime()
{
$mtime = microtime();
$mtime = ereg_replace('\.', '', $mtime);
$mtime = explode(' ', $mtime);
$mtime = $mtime[1] . $mtime[0];
return($mtime);
}
will ALLWAYS return a unique number, store this number in a session, each
user get
hi Brandon,
we use php's session handing functions to set cookies, they are obviously
hashed, etc before the values are sent.
as part of the authentication system, we check to see that the user's client
matches the last access with that session id, if not, we request a sign in.
if you're not ta
http://l-i-e.com/compare/
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
- Original Message -
From: Christopher Raymo
In a message dated 3/16/01 9:39:16 AM Eastern Standard Time,
[EMAIL PROTECTED] writes:
> I thought Search engines couldnt spyder dynamic pages such as
> "1.php?foo=bar"
>
True - but with the magic of Apache's mod_rewrite -- you can make a URL
appear to a browser as: http://www.yourdomain.com
or you can use Apache to ForceType bar to use PHP.
then just write a generic URL parsing script and you're done.
if you want it for all of your URL's, make DocumentRoot a PHP script.
you might tricky problems with images and other non-script files, but
that's ok because you can just check for
Can this be used via .htaccess in a shared hosting situation?
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 16, 2001 10:15 AM
Subject: Re: [PHP] Shopping Carts and Sessions
> In a message dated 3/16/01 9:39:16 AM Easter
In a message dated 3/16/01 2:02:07 PM Eastern Standard Time,
[EMAIL PROTECTED] writes:
> Can this be used via .htaccess in a shared hosting situation?
>
I believe it can -- never done it personally though...
don
8 matches
Mail list logo