Re: Script stops working since activate new php version

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/03/15 13:22, Christoph Becker wrote:
> Lester Caine wrote:
> 
>> On 03/03/15 12:22, Release Edl wrote:
>>> I just ad (as Aziz) suggests:
>>>
>>> <?php
>>> error_reporting(-1);
>>> ini_set('display_errors', 'on');
>>> ?>
>>>
>>> And now I think we're going to a solution, as page shows:
>>>
>>> PHP Notice: Undefined variable: id in
>>> D:\web\localuser\guizzardibelavista\www\vertudo.php on line 24 PHP
>>> Notice: Use of undefined constant php - assumed 'php' in
>>> D:\web\localuser\guizzardibelavista\www\vertudo.php on line 36 PHP
>>> Notice: Undefined variable: id in
>>> D:\web\localuser\guizzardibelavista\www\vertudo.php on line 54 PHP
>>> Notice: Undefined variable: id in
>>> D:\web\localuser\guizzardibelavista\www\vertudo.php on line 116
>>
>> The problem is that those are only notices which should be able to be
>> switched of without breaking the flow. I think I would have expected an
>> 'error' ...
> 
> An undefined variable *might* be caused by the script requiring
> register_globals=On, though.

Good call - since we don't know which versions of PHP are involved ...

-- 
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux