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
Post a Comment