Michael Gbadebo
23 Jul 26
Added detection for a classic PHP upload gotcha: if the total upload (message + photos) exceeds your server's post_max_size, PHP silently empties the entire form submission rather than erroring — which would have shown up as a confusing "session expired" or, ironically, exactly the message error you're seeing, with no indication photos were the real cause. Both submit.php and my-message.php now detect this and show "Your photos were too large for the server to accept in one go" instead. Added detection for a classic PHP upload gotcha: if the total upload (message + photos) exceeds your server'
❤️ 1 like