Re: all variables unset in w2k
| From: | Luis Moreira | Date: | Mon, 02 Sep 2002 12:00:05 +0000 |
| Subject: | Re: all variables unset in w2k | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-15635@lists.php.net to get a copy of this message | ||
Try
<?php
$variable = "This is a variable!";
echo "Echo Variable contents: $variable";
?>
Note that $variable is inside the pair of "
On my PC it works both ways, anyway...
----- Original Message -----
From: "Lasse Riis" <riis@braarup.dk>
To: <php-windows@lists.php.net>
Sent: Monday, September 02, 2002 12:05 PM
Subject: [PHP-WIN] all variables unset in w2k
> Hi
> I'm trying to setup php and apache on my w2k box, everything seems to
> work smoothly, only I CAN'T SET ANY VARIABLES!!!!
>
> this script for instance:
> <?php
> $variable = 'This is a variable!';
> echo 'Variable contents: '.$variable;
> ?>
> gives the following output:
> Variable contents:
>
> What's wrong? I've tried installing SP1 and SP2 but that makes no
> difference. Both the SAPiI module and the cgi binary does it, not only
> with apache, the cgi installed on IIS did the same thing. Sombeody help me!
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>