Posted by Bob Bruyn on 07/18/07 09:53
I've recently installed Apache 2 and php 5.2 on my WIndows XP
machine. Everything is up and running.
I'm passing some vars via the URL. It works fine online:
http://www.torusdesign.nl/spry/test.php?folder=schilderijen/vrij_werk&navColor=SchilderijenNAV
This is the code:
<?php echo $folder; ?>
<?php echo $navColor; ?>
The problem is that when I test it locally I get an error that the
variable in undefined.
Notice: Undefined variable: folder in F:\WEBSERVER\Apache2\htdocs\sonja
\test.php on line 14
Notice: Undefined variable: folder in F:\WEBSERVER\Apache2\htdocs\sonja
\test.php on line 15
Notice: Undefined variable: navColor in F:\WEBSERVER\Apache2\htdocs
\sonja\test.php on line 32
Can someone please help me out. Is there something wrong with my local
php configuration?
PS. You'll notice the Hello World at the top. That does work locally.
(if that's any help)
--
*******************
Bob Bruyn
Torus Design
Argonautenweg 45
3054 RP Rotterdam
010-4184349
http://www.torusdesign.nl
Navigation:
[Reply to this message]
|