mihai11
07-18-2007, 10:38 AM
Hi,
I could use a standard mechanism for reading variables from POST like this one:
if (isset($_POST['action'])) {
$action = $_POST['action'];
}
But I saw in several VB files that instead of this, some functions get called:
$vbulletin->input->clean_gpc('r', 'goto', TYPE_STR);
Is there a tutorial about reading variables with POST in VB ?
Regards,
Razvan M.
Looks like the scripts are using this:
http://members.vbulletin.com/api/vBulletin/vB_Input_Cleaner.html
I could use a standard mechanism for reading variables from POST like this one:
if (isset($_POST['action'])) {
$action = $_POST['action'];
}
But I saw in several VB files that instead of this, some functions get called:
$vbulletin->input->clean_gpc('r', 'goto', TYPE_STR);
Is there a tutorial about reading variables with POST in VB ?
Regards,
Razvan M.
Looks like the scripts are using this:
http://members.vbulletin.com/api/vBulletin/vB_Input_Cleaner.html