When submitting my form, sometimes the $_POST array is empty and other times it's not (when inputting the exact same thing on the exact same input).
My post_max_size is large 500M and I'm only inputting values from checkboxes. What could be causing this? I might have thought it was because of a for loop I'm using, but the $_POST array is fine half the time and empty the other.
<form action="send.php" method="post" enctype="multipart/form-data">
<input type="checkbox" name="Facebook" value="Facebook" id="Facebook"/>
<input type="checkbox" name="Twitter" value="Twitter" id="Twitter"/>
<?php
for($i = 0; $i < $blogcount; $i = $i + 1){
echo '<input type="checkbox" name="Tumblr[]" value="'.$bloglist[$i].'" id="Tumblr'.$bloglist[$i].'"/>';
}
?>
<input id="myImage" type="file" accept="image/*" name="file" class="upload" />
<input type="submit">
</form>
enctype="multipart/form-data"for normal post??echoat last add one single quote.html. How the outputs look like. Is that really what you want.