// Index.php file.
// Page header
<?
if ($contents == "HOME") {
include("home.inc");
} else {
include("someothercontent.inc");
?>
// Page footer
... Difficult to tell what's going wrong with just a url.
James.
> I thought you can pass variables in PHP as in CGI.
>
> http://www.xy.com/index.php?contents=HOME
>
> contents should be available as variable, but it does not seem to work.
Doe
> anyone has an idea why not?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]