Re: Windows PHP vs Linux PHP
| From: | Jim Lucas | Date: | Wed, 15 Jan 2003 20:28:32 +0000 |
| Subject: | Re: Windows PHP vs Linux PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-131747@lists.php.net to get a copy of this message | ||
it has to do with declaring all php variables before using them in the
script.
$var='';
then do something with the variable.
Jim
----- Original Message -----
From: "Beauford.2002" <beauford.2002@rogers.com>
To: "PHP General" <php-general@lists.php.net>
Sent: Wednesday, January 15, 2003 9:52 AM
Subject: [PHP] Windows PHP vs Linux PHP
> Hi,
>
> I asked previously about the differences between the two and the concensus
> was any differences are in the operating systems themselves and not with
> PHP. Knowing this, how do I get rid of these errors that keep coming up in
> Windows, that don't in Linux. One specific one is "Notice: Undefined
> variable: add in E:\IIS Webs\address.php on line 3"
>
> Someone said to turn on register_globals which I have. Another suggestion
> was to put a @ sign in from of all variables. This is a real pain. Anyone
> have any other suggestions, or is this basically it?
>
> Also, is there anything else that anyone can think of that I may have to
> look forward to using PHP under Windows?
>
> TIA
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>