In article <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (John Cuthbert) wrote:

> 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.


Include() brings in the content of a file just as if you'd copy/pasted it 
there.  It's not an HTTP GET request.


PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to