first remove the space between GET and [
I think this keeps your script from find the variable "page"

secondly the variable "page" already has the php extension being passed to
it via the GET statement
make the include like:

{include($_GET['page']);}

try it and let us know.

Mark Cain

> >>The code that I'm trying to do this is the following:
> >><?php
> >>              if(isset($_GET ['page']))
> >>              {include($_GET ['page'].".php");}
> >>              else
> >>              {echo("Page Not Set.");}
> >>?>
> >>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to