note 8044 modified in parse_url by ronabop
| From: | ronabop@php.net | Date: | Sat, 26 Aug 2000 07:04:48 +0000 |
| Subject: | note 8044 modified in parse_url by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-3399@lists.php.net to get a copy of this message | ||
Re: Using a URL to control PHP's loaded pages. Try it this way:
<?php
echo $sh; // writes the value of $sh to the page, in this case = 1
echo $debug; // writes the value of $debug to the page, in this case = 1
if ($sh == 1)
require ( 'include/file.inc' );
?>
but not sure if it needs to be: if ($sh == 1)
http://www.php.net/manual/function.parse-url.php