fork download
  1. <?php
  2.  
  3. $page_name="galeria.php?pagina=2";
  4.  
  5. if (strstr($page_name,"about.php")){
  6.  
  7. echo "entrei no if";
  8.  
  9. }elseif (strstr($page_name,"galeria.php")){
  10.  
  11. echo "tentrei no elseif";
  12.  
  13. }
Success #stdin #stdout 0.02s 23756KB
stdin
Standard input is empty
stdout
tentrei no elseif