Skip to content

Instantly share code, notes, and snippets.

@blueskyarea
Last active August 29, 2015 14:27
Show Gist options
  • Save blueskyarea/90a0cb103724f53eff04 to your computer and use it in GitHub Desktop.
Save blueskyarea/90a0cb103724f53eff04 to your computer and use it in GitHub Desktop.
php command
// get domain name(based on the request from the client.)
$_SERVER['HTTP_HOST'];
// move page
header('Location: {dest_url}');
// execute phpunit
phpunit --colors {file_name | directory_name}
// get own file path
dirname(__FILE__);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment