Jump to content

thefonz22

New Members
  • Posts

    2
  • Joined

  • Last visited

thefonz22's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Simple question, I want to add an OR statement to the example below. I can't remember what the syntax is. if($ref !== 'http://www.example.com/prestige/') { die("Hotlinking not permitted"); } echo "Successful Login!"; Why wont this work? This is how I'm trying to do my OR statement with 2 URL's. if($ref !== 'http://www.example.com/prestige/') || ($ref !== 'http://www.example2.com/prestige/') { die("Hotlinking not permitted"); } echo "Successful Login!"; Please help! Thanks in advance.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.