debugging - how to judge the request is from my computer to the php page? -


how can determine if request computer php page?

i want print_r($gloabals) debug site computer, don't want other computers this.

<?php   // can not use ip judge wheather computer mine    // ip change always.   if($is_my_computer){     echo 'yes'; } 

i suppose in local machine have website under localhost/mylocalwebsite. if so, check if in environment , it.

<?php   if($_server['server_name'] == 'localhost') {     echo "foo";   } 

Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -