At 09:23 23.01.2001, Kristofer Widholm said:
--------------------[snip]--------------------
>>If you want to be totally searchengine-safe, do not use variables on the
>>url, do not rely on cookies and do not rely on POST variables for the pages
>>you want to have the searchengine spider.
>
>How the heck do you build a dynamic site without URL variables, 
>cookies, or POST variables?
--------------------[snip]-------------------- 

You could, for example, use a 404 handler. Assume your site,
www.yoursite.com, has an existing virtual directory /myapp. However this
directory is empty, and directory browsing id forbidden. For this folder
you setup a 404 handler that will be called by the web server whenever a
folder or page cannot be found.

Then you format your urls like this:
http://www.yoursite.com/myapp/<PHPSESSID>/<theapp>.php/param1/param2/param3/

This URL does not exist and will be passed to the 404 handler. Within the
404 handler, parse the url, extract the session id and parameters, and
execute the <theapp>.php file.

Just as an example,


     ...ebird

   >O     Ernest E. Vogelsinger
   (\)    http://www.1-at-web.at/
    ^     ICQ#   13394035


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to