I have this code:
<meta http-equiv="content-type" content="text/html; charset=<?php echo $stigConfig['charset']; ?>" />
How can this line of code make my full page reload twice?
I’ve been looking through all over my site. Finally after 2 days, I narrowed the cause down to deleting this line. My site no longer runs its header scripts twice.
Don’t I need a charset meta tag?
I have an increment script for increasing users permissing and decearing. I just couldn’t figure out why it would skip a +1. I was wondering how can a 0+1 give a 2.
With that charset tag out of the picture it became ok.
You don’t need a charset tag in the HTML if either the web server or the PHP script send the proper header in the first place.