![]() | Join Date: Oct 2006 | Posts: 144 |
Help making code more secure
I thought of a great idea for a hack of mine but I'm afraid it's not a secure as it should be.
In the ACP there is an input box to type in a condition. For example you'd type in $vbulletin->userinfo[userid] == 1 and insert everything into table "links".
When calling the table "links" you would use
In the ACP there is an input box to type in a condition. For example you'd type in $vbulletin->userinfo[userid] == 1 and insert everything into table "links".
When calling the table "links" you would use
PHP Code:
if(!empty($result['condition']))
{
if(eval($result['condition']))
{
//code here
}
else
{
//other code here
}
}
--------------------
vHosting Pro
Manage you hosting requests easier
Xen Web Hosting
Offering ad-free hosting with features such as, cpanel, fantastico, PHP and MySQL support, and more
vHosting Pro
Manage you hosting requests easier
Xen Web Hosting
Offering ad-free hosting with features such as, cpanel, fantastico, PHP and MySQL support, and more








Linear Mode

