Re: Shopping Carts and Sessions

From: Date: Fri, 16 Mar 2001 18:22:36 +0000
Subject: Re: Shopping Carts and Sessions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-44297@lists.php.net to get a copy of this message
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 the file extensions, echo he mie tpye and readfile() it. -aaron At 1:15 PM -0500 3/16/01, DynamicHTML@aol.com wrote:
In a message dated 3/16/01 9:39:16 AM Eastern Standard Time, phpretard@yahoo.com 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/bar -- but on your server, it can be rewritten as: http://www.yourdomain.com/1.php?foo=bar. mod_rewrite is extremely cool. you can read more about it at: http://httpd.apache.org/docs/mod/mod_rewrite.html don


« previous php.general (#44297) next »