hi,
yes true.I haven't got an idea either but it's obvious variables of type TYPE_INT are passed and TYPE_STR aren't
PHP Code:
$vbulletin->input->clean_array_gpc('g',array(
'id' => TYPE_INT,
'userid' => TYPE_INT,
'uname' => TYE_STR,
'wname' => TYPE_STR,
'postid' => TYPE_INT,
'orderstring' => TYPE_STR,
'ban' => TYPE_STR,
));
looks correct to me.Verry "frusterating" that one screen works fine and the other just refuses to work.the g means the type of variables $_GET that can be
- g => $_GET
- p =>$_POST
- r=>$_REQUEST,
- c=>$_COOKIE,
- s=>$_SERVER,
- e=>$_ENV,
- f=$_FILES,
maybe that got something todo with it just guessing here through
there is a problem with it if you call GettType() of those TYPE_STR variables it just returns the plain function call while TYPE_INT is properly returned
PHP Code:
echo gettype($temp_wname);
echo gettype($temp_uid);