Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


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

PHP question



Jerry Feldman wrote:
> On Fri, 30 Mar 2007 11:58:54 -0400
> "John Abreau" <abreauj at gmail.com> wrote:
> 
>> The old behavior is dangerous, and would leave the website
>> vulnerable to compromise in the presence of sloppy PHP code.
>> So enabling the old behavior is not an option.
> I agree. At the time I wrote the script I used what had been acceptable
> behavior. What I need to do is to find the specific cases that cause
> the script to fail and correct it in the PHP 5 context. It's more of a
> case that I don't do much PHP coding. 
> 
Log files can also help a lot.

error_reporting(E_ALL);
ini_set('display_errors', 1);
ini_set('display_startup_errors ',1);

at the very top of the script.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org