Execute php script before every php script?
<p>How would I run this before every php script besides putting it in all of them?</p>

<p>if ($_SERVER['REMOTE_ADDR'] == '123.123.123.123')
{
$_SERVER['REMOTE_ADDR'] = $_SERVER['HTTP_X_REAL_IP'];
}</p>

<p>I basically want the same affect as putting that at the top of every script without actually doing that.</p>
