Quote:
Originally Posted by kh99
The clean_gpc function only takes 3 arguments. I've never used the vbulletin functions to do file uploads, but I think you want something like:
Code:
$vbulletin->input->clean_gpc('f', 'fileToUpload', TYPE_FILE);
$vbulletin->GPC['fileToUpload']['size']
That is, after calling clean_gpc, the size value would be in $vbulletin->GPC['fileToUpload']['size'].
|
I will give that a go once my kids get off the PC...
Also when you say 3 arguments, are you talking about GET, POST, FILE ?
Or the SIZE, TYPE, ERROR, NAME, etc
Thanks again