cs.punk Posted August 5, 2011 Share Posted August 5, 2011 I was wondering lets say we have uploaded a file with the 'id name' of example. Regarding the 'size' and 'type': $_FILES['example']['size'] $_FILES['example']['type'] Would it be data value sent via the client as POST/GET OR is it an data value determined/calculated via PHP? Link to comment https://forums.phpfreaks.com/topic/243908-is-_files-automagically-sanitised/ Share on other sites More sharing options...
voip03 Posted August 5, 2011 Share Posted August 5, 2011 read this post http://www.phpfreaks.com/forums/index.php?topic=339907.msg1602474#msg1602474 Link to comment https://forums.phpfreaks.com/topic/243908-is-_files-automagically-sanitised/#findComment-1252446 Share on other sites More sharing options...
cs.punk Posted August 5, 2011 Author Share Posted August 5, 2011 read this post http://www.phpfreaks.com/forums/index.php?topic=339907.msg1602474#msg1602474 I don't think you quite understand what I'm asking... Anyway I refuse to read code without code tags <- semi joke Link to comment https://forums.phpfreaks.com/topic/243908-is-_files-automagically-sanitised/#findComment-1252456 Share on other sites More sharing options...
cs.punk Posted August 5, 2011 Author Share Posted August 5, 2011 Would it be data value sent via the client as POST/GET OR is it an data value determined/calculated via PHP? lol wtf happened to my grammer? Would it be data valueS sent via the client via POST/GET OR is it data valueS that are determined/set/calculated via PHP? Link to comment https://forums.phpfreaks.com/topic/243908-is-_files-automagically-sanitised/#findComment-1252458 Share on other sites More sharing options...
trq Posted August 5, 2011 Share Posted August 5, 2011 It is a normal get or post request. Link to comment https://forums.phpfreaks.com/topic/243908-is-_files-automagically-sanitised/#findComment-1252460 Share on other sites More sharing options...
cs.punk Posted August 5, 2011 Author Share Posted August 5, 2011 It is a normal get or post request. So one could send a 20mb file while the POSTed value would be set at 0.5mb? Link to comment https://forums.phpfreaks.com/topic/243908-is-_files-automagically-sanitised/#findComment-1252488 Share on other sites More sharing options...
trq Posted August 5, 2011 Share Posted August 5, 2011 What? Link to comment https://forums.phpfreaks.com/topic/243908-is-_files-automagically-sanitised/#findComment-1252490 Share on other sites More sharing options...
voip03 Posted August 5, 2011 Share Posted August 5, 2011 So one could send a 20mb file while the POSTed value would be set at 0.5mb? what do u mean? Link to comment https://forums.phpfreaks.com/topic/243908-is-_files-automagically-sanitised/#findComment-1252498 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.