|
Last updated: 07/30/2010
One quick way to test your code (php
) without setting up a copy of the page / functionality, is to simply limit the modifications by IP address. You can find out your IP address from various sites on the 'Net, then plug it into your script like so:
One quick way to test your code (php
) without setting up a copy of the page / functionality, is to simply limit the modifications by IP address. You can find out your IP address from various sites on the 'Net, then plug it into your script like so:
$testing = false;
if($_SERVER['REMOTE_ADDR'] == "your.ip.address.here") {
$testing = true;
}
Now you can check for the "$testing" variable anywhere you have new code being executed.
|