Re: Wildcards???

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Jeff thank you.....i must have had a blonde moment or something..

this should work but to avoid the none use of www simply do this:

if((substr($_SERVER["HTTP_REFERER"],0,32) 
== "http://www.domain.com/index.php";)XOR (substr($_SERVER
["HTTP_REFERER"],0,28) == "http://domain.com/index.php";))

--- In php-objects@xxxxxxxxxxxxxxx, Urb LeJeune <urb@xxxx> wrote:
> 
> >if (substr($_SERVER["HTTP_REFERER"],0,31) ==
> >"http://www.domain.com/index.php";) {
> >}
> 
>          In most cases someone could enter the site without the www.
> 
> Urb





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

PHP Data object relational mapping generator - http://www.meta-language.net/ 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-objects/

<*> To unsubscribe from this group, send an email to:
    php-objects-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 




[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux