insanctus
03-06-2003, 01:06 PM
I am trying to learn more about php . I posted this code in another part tryin to get input on the hack I was hacking.
Seeing as it is also something I very much want to understand why it does not work I will try in this part.
// END CONFIG
$ttb_username="whatever";
$usernamelen = strlen($ttb_username);
if ($ttb==1 AND rand(1,100)<=$ttb_weighting AND $ttb_username=substr($message, 0, $usernamelen) AND $bbuserinfo[userid]!=$ttb_memberid) {gottb();};
$message=substr_replace($message, "", 0, $usernamelen);
Please someone explain why it does not take parse the $message
I am used to visual basics and some of php makes sence just others do not.
Thanks in advance.
Seeing as it is also something I very much want to understand why it does not work I will try in this part.
// END CONFIG
$ttb_username="whatever";
$usernamelen = strlen($ttb_username);
if ($ttb==1 AND rand(1,100)<=$ttb_weighting AND $ttb_username=substr($message, 0, $usernamelen) AND $bbuserinfo[userid]!=$ttb_memberid) {gottb();};
$message=substr_replace($message, "", 0, $usernamelen);
Please someone explain why it does not take parse the $message
I am used to visual basics and some of php makes sence just others do not.
Thanks in advance.