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? Quote 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 Quote 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 Quote 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? Quote 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. Quote 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? Quote 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? Quote 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? Quote Link to comment https://forums.phpfreaks.com/topic/243908-is-_files-automagically-sanitised/#findComment-1252498 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.