Skip to content

Instantly share code, notes, and snippets.

View kevinholler's full-sized avatar

Kevin Holler kevinholler

View GitHub Profile
@kevinholler
kevinholler / index.php
Created January 27, 2012 16:01
keep script alive
<?php
ini_set('user_ignore_abort', true);
?>
@kevinholler
kevinholler / index.php
Created January 6, 2012 19:47
Testing something
<?php
echo $_SERVER['HTTP_HOST'];
echo PHP_EOL;
echo $_SERVER['REQUEST_URI'];
print_r($_SERVER);
?>
@kevinholler
kevinholler / orchestra-temp-upload.php
Created November 11, 2011 11:37 — forked from anonymous/orchestra-temp-upload.php
WordPress plugin for Orchestra.io to set the upload path to sys_get_temp_dir().
<?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+