PDA

View Full Version : vbulletin GPC


loneranger
06-12-2005, 02:21 PM
hi i have tried to write scripts using the new variables and functions but when i try and get $_post and $_files throught GPC i get nothing
i have tried

$vbulletin->GPC['do'];


can some one help me on this issue i have searched but can't find anything useful

noppid
06-12-2005, 03:02 PM
Are your running the input vars through $vbulletin->input->clean_array_gpc first with the proper switch for Post of Request vars?

loneranger
06-12-2005, 03:56 PM
right thats what i am doing wrong can you help me here i need to pass _request _files and _post so would it be

$vbulletin->input->clean_array_gpc['do']

have looked through class core don't quite understand it yet though too much to read lol