This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
echo $_SERVER['HTTP_HOST']; | |
echo PHP_EOL; | |
echo $_SERVER['REQUEST_URI']; | |
print_r($_SERVER); | |
?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Orchestra.io Upload to Temp | |
Plugin URI: | |
Description: Sets the upload path to sys_get_temp_dir(), allowing uploads to be stored temporarily, presumably before being moved elsewhere (like Amazon S3 via the tantan-s3 plugin). | |
Version: 0.1 | |
Author: Dylan Kuhn | |
Author URI: http://www.cyberhobo.net/ | |
Minimum WordPress Version Required: 3.0 | |
License: GPL2+ |