Announcement

Collapse
No announcement yet.

Variableschmariable

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Variableschmariable

    I was wondering if someone can help me. Im working on a little script right now and I have the following:
    PHP Code:
    if ($tlurl[host] and !eregi($tlurl[host], $GLOBALS[HTTP_HOST]) and $tlurl[host] != '$tl_site' and $tlurl[host] != 
    'www.$tl_site') { 
    What I was wondering is if there is a way, instead of this to check a setting to see if a site is in the list.

    In other words, now $tl_site="talkloud.net" I would like it to be $tl_site="talkloud.net,hotmail.com,etc.com" and have it check to make sure its none on the list.

    Also is their an easier way to check to see if it has the www.?
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X