Restriction par IP en php

if( $_SERVER['REMOTE_ADDR'] == '82.245.97.150' || $_SERVER['REMOTE_ADDR'] == '127.0.0.1' )
{
	// other debugging code goes here
}