Knowledgebase
foreach() error? (File Uploading)
Posted by sheppardzwc, 02-13-2010, 08:34 PM | Hey guys,
Getting an error when I try and use my upload script... any suggestions here/methods you've used that work?
|
Posted by sheppardzwc, 02-13-2010, 09:11 PM | Sorry, error is: Warning: Invalid argument supplied for foreach() in /home/closet/upload.php on line 16
|
Posted by aeris, 02-14-2010, 05:22 AM | Well, first of all that should probably be $_FILES['tooncloset_upload']['name'], not $_POST['tooncloset_upload']. Secondly, I have no idea why you're trying to iterate over the array twice.
|
|
Add to Favourites
Print this Article |
Also Read
Malware found (Views: 574)