include with call
| From: | John Cuthbert | Date: | Sun, 13 Jan 2002 14:06:38 +0000 |
| Subject: | include with call | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-80348@lists.php.net to get a copy of this message | ||
Hello,
I have a file which does several different things depending on how its
called Ie
file?mode=show is to show it etc
But I want to include the output from the show so I tried
<?php include("file.php?mode=show"); ?> but this causes errors. It goes away
with including as only file.php but doing that also causes problems because
mode isnt set yet.
Anyone know how to get around this?