PHP - Java Script Question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alex79
    Confirmed User
    • Jun 2002
    • 996

    #1

    PHP - Java Script Question

    what is the php equivalent code for this Java Script function:

    Code:
    if ( document . referrer . index Of ('xxx') > -1
    Last edited by alex79; 02-15-2004, 05:29 AM.
  • feN
    Confirmed User
    • Aug 2003
    • 2547

    #2
    hahahaha

    Comment

    • jeffs
      Confirmed User
      • Oct 2002
      • 135

      #3
      if (strstr($_SERVER['HTTP_REFERER'], 'xxx'))

      Comment

      Working...