[FX.php List] php 5 problems: I have tried to copy my existing
scripts to php5 enabled servers
Dale Bengston
dbengston at preservationstudio.com
Mon Mar 5 08:00:03 MST 2007
With PHP 4, I used to do a lot of evaluations like
if ($_SESSION['whatever'])
...using the presence or absence of a variable to decide action. PHP
5 requires more explicit references, like
if (isset($_SESSION['whatever']))
if (!empty($_SESSION['whatever']))
...so I can't be sloppy any more. Maybe you're running into this?
Dale
On Mar 5, 2007, at 6:30 AM, Gjermund Gusland Thorsen wrote:
> php 5 problems: I have tried to copy my existing scripts to php5
> enabled servers
>
> It has problems, especially with ifs while traversing arrays in
> _REQUEST and _SESSION
>
> anyone else encountered this?
>
> ggt667
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
More information about the FX.php_List
mailing list