Category
Q. notice uninitialized string offset oleread.inc on line 27
 
 


Answer :
For ip:

$ip=$_SERVER['REMOTE_ADDR'];

for Referrer

$ip=$_SERVER['HTTP_REFERER'];
Posted By : app101
Probably one server has a 64 bit processor. The GetInt4d bit shift doesn't work with 64 bit processors.

Andreas Rehm hacked it to ensure correct result of the <<24 block on 32 and 64bit systems, just replace the code of the GetInt4d function with the following:

$_or_24 = ord($data[$pos+3]);

if ($_or_24>=128)
$_ord_24 = -abs((256-$_or_24) << 24);
else
$_ord_24 = ($_or_24&127) << 24;

return ord($data[$pos]) | (ord($data[$pos+1]) << 8) | (ord($data[$pos+2]) << 16) | $_ord_24;
Posted By : app101
Post Answer :  
Answer * :
Are You? Already Member New User
   
User Name / Email * :
Password * :
Security Code * :

(Enter security code above shown on image)