Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

If URL then script

$
0
0

The first block of code is what i want to use since i know it works, but i dont know how to use it with the code already there.

<?php

 if
 (strpos($_SERVER['REQUEST_URI'], 'upload.php') == false) {
echo 'the stuff below is removed, or if the URL is something else, its not removed'
?>

This code is already in my form and can not be changed!!! This is what I want to remove totally if the URL is upload.php

<div class="navbar" name"navbar" Id="navbar">
    <div class="navbar-inner" name="navbar-inner" Id="navbar-inner">'     
      <?php  echo  a_view('core/account/login_dropdown'); ?>
      <?php  echo  a_view_menu('topbar', array('sort_by' => 'priority', array('menu-hz'))); ?>
       <?php echo  a_view('search/search_box', array('class' => 'search-header')); ?>
    </div>
</div>

Can anyone help?


Viewing all articles
Browse latest Browse all 13200

Trending Articles