PHP Classes

Vars possible hole

Recommend this page to a friend!

      PHP Classes blog  >  Automating Backup Tas...  >  All threads  >  Vars possible hole  >  (Un) Subscribe thread alerts  
Subject:Vars possible hole
Summary:login details in define fields
Messages:1
Author:Thomas
Date:2009-02-24 14:54:50
Update:2009-02-26 00:26:14
 

  1. Vars possible hole   Reply   Report abuse  
Picture of Thomas Thomas - 2009-02-26 00:26:14
Hi,
At first glance, I think in the class it would be better having vars for username and password in define as constants, better that in vars field, as they are easily hackable.

I will convert your class into php5 OO version, since can be more efficient and flexible for future extensions.

Thanks for your job, anyway!

Thomas Smithson
Proactive