Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 268
  • Last Modified:

PHP or (||) question


With my attached code, how can I have if rootURL == index.php or login.php?
if(RootURL() ==  'index.php')

Open in new window

Computer Guy
Computer Guy
1 Solution
Guy Hengel [angelIII / a3]Billing EngineerCommented:
if( (RootURL() ==  'index.php') || (RootURL() ==  'login.php' ))


Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now