tags:

views:

30

answers:

1
<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...

ive been looking threw all my site and finaly after 2 days... i narrowed down to taking this line out and my sites no longer runs its header scripts twice.

dont i need a charset meta tag ???

.. i have a increment script for increasing users permissing and decearing... and i just couldn't figure out why it would skip a +1.... was like wtf how can 0+1 give 2.... and that charset out of the picture its ok.... its just wierd...

+2  A: 

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.

Ignacio Vazquez-Abrams
ill use header('Content-Type: text/html; charset='.$stigConfig['charset']); i guess then
StiGMaT