Welcome to WebmasterWorld Guest from 188.8.131.52
$something = "this";
Same configuration, only this time the mother document is php
I notice you are including the file with the query string. This is not something that should be done, now and again I have done it and got away with it...
-- both .html and .php support SSIs (as distinct from php includes)
the Panda Page behaved as intended on MAMP but not on the live site. It couldn't have anything to do with php version or similar arcana, because Alonzo and Melissa-- a more complex set of files-- behaved properly in both places.
[06-Dec-2013 08:57:19 Europe/Berlin] PHP Warning: include(): Failed opening '/Users/myname/Documents/www_example/directories/fun/funbanner.php?page=panda' for inclusion (include_path='.:/Applications/MAMP/bin/php/php5.4.10/lib/php') in /Users/myname/Documents/www_example/directories/fun/panda.php on line 123
[06-Dec-2013 08:57:59 Europe/Berlin] PHP Notice: Undefined variable: thispage in /Users/myname/Documents/www_example/directories/fun/funbanner.php on line 20
[07-Dec-2013 06:45:41 Europe/Berlin] PHP Fatal error: Cannot redeclare linkbanner() in /Users/myname/Documents/www_example/directories/fun/funbanner.php on line 16
[07-Dec-2013 06:51:35 Europe/Berlin] PHP Notice: Array to string conversion in /Users/myname/Documents/www_example/directories/fun/AlonzoMelissa/amlinks.php on line 91
PHP Fatal error: Cannot redeclare linkbanner()...
PHP Notice: Array to string conversion
"Undefined index" which, as I understand it, doesn't necessarily mean anything in particular.
Here I think it's because I have an "if empty" condition and obviously the only way to find out if something is empty is to ask, which then yields a low-grade error.
I don't know why MAMP thinks I live in Berlin. Maybe it's where MAMP came from.