Skip to content

Instantly share code, notes, and snippets.

@evanpurkhiser
Created May 3, 2012 05:24
Show Gist options
  • Select an option

  • Save evanpurkhiser/2583464 to your computer and use it in GitHub Desktop.

Select an option

Save evanpurkhiser/2583464 to your computer and use it in GitHub Desktop.
Authentication on an oustide file
<?php
return array(
'username' => 'username',
'password' => 'password',
'hostname' => 'example.com',
);
// usage: $auth = include("this-file.php");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment