K, read em all, and understood more than I thought I :)


I still don't see how you can 'sanitize' a URI, eg discard anything
including and after "//" or "??".  I think this is needed if you want to
discard a query string or irregular syntax from your URI.

ereg's don't work reliably, due to the possibility of special chars in the
URI.

regards,
jaxon

On 3/25/01 3:18 PM, "Philip Olson" <[EMAIL PROTECTED]> wrote:

> Hi!
> 
> Check out these two related articles (and user comments) :
> 
> Building Dynamic Pages With Search Engines in Mind     :
> --------------------------------------------------------
>   * http://phpbuilder.com/columns/tim19990117.php3
>   * http://phpbuilder.com/columns/tim20000526.php3
> 
> Also check phpinfo() for available predefined variables and plan
> accordingly.
> 
> Predefined Variables                                   :
> --------------------------------------------------------
>   * http://www.php.net/manual/en/language.variables.predefined.php
> 
> And for the brave, check out mod_rewrite :
> 
> Mod-Rewrite                                            :
> --------------------------------------------------------
>   * http://httpd.apache.org/docs/mod/mod_rewrite.html
>   * http://www.engelschall.com/pw/apache/rewriteguide/
>   * http://marc.theaimsgroup.com/?l=php-general&s=mod_rewrite
> 
> 
> Regards,
> 
> Philip Olson
> http://www.cornado.com/
> 
> 


-- 
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