Re: should I force globals=on? (your opinion please)
| From: | Jim Lucas | Date: | Sat, 03 May 2003 17:17:32 +0000 |
| Subject: | Re: should I force globals=on? (your opinion please) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-146292@lists.php.net to get a copy of this message | ||
If I were you , I would force the register_globals to off for everybody.
When I switched my code from working on PHP 4.0.1pl9 to working on php
4.2.2< I had to convert over 700 scripts to use the new SUPER GLOBALS
arrays.
20 scripts shouldn't be a problem.
Jim Lucas
----- Original Message -----
From: "Ryan A" <ryan@jumac.com>
To: <php-general@lists.php.net>
Sent: Saturday, May 03, 2003 9:59 AM
Subject: [PHP] should I force globals=on? (your opinion please)
> Hi,
> I have successfully changed globals in my hosting server to off, its just
> too much problem it seems to convert my one large script and 17 others to
be
> "globals safe".
>
> I just want to know do you think it is ok to force my clients to have
> globals on with the same .htaccess file which reads:
> (in the .htaccess file)
> php_flag register_globals On
>
> or do you think that it wont work in many of the servers?
>
> The reason I ask is because i want to sell this collection of scripts on
my
> site.
>
> Kindly reply,
> -Ryan
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>