Skip to content

Instantly share code, notes, and snippets.

View ryanstrandt's full-sized avatar

Ryan Strandt ryanstrandt

  • Eli Lilly
  • Indianapolis, IN
View GitHub Profile
<?php
if (isset($_POST["PHPSESSID"])) {
session_id($_POST["PHPSESSID"]);
}
session_start();
if (!isset($_FILES["Filedata"]) || !is_uploaded_file($_FILES["Filedata"]["tmp_name"]) || $_FILES["Filedata"]["error"] != 0) {
// Usually we'll only get an invalid upload if our PHP.INI upload sizes are smaller than the size of the file we allowed
// to be uploaded.
header("HTTP/1.1 500 File Upload Error");
<?php
session_start();
if (count($_FILES)) {
// Handle degraded form uploads here. Degraded form uploads are POSTed to index.php. SWFUpload uploads
// are POSTed to upload.php
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php
if (isset($_POST["PHPSESSID"])) {
session_id($_POST["PHPSESSID"]);
}
session_start();
if (!isset($_FILES["Filedata"]) || !is_uploaded_file($_FILES["Filedata"]["tmp_name"]) || $_FILES["Filedata"]["error"] != 0) {
// Usually we'll only get an invalid upload if our PHP.INI upload sizes are smaller than the size of the file we allowed
// to be uploaded.
header("HTTP/1.1 500 File Upload Error");
Apr 14 15:02:56 mail sshd[7465]: debug1: rexec start in 5 out 5 newsock 5 pipe 7 sock 8
Apr 14 15:02:56 mail sshd[7448]: debug1: Forked child 7465.
Apr 14 15:02:56 mail sshd[7465]: debug1: inetd sockets after dupping: 3, 3
Apr 14 15:02:56 mail sshd[7465]: Connection from 'myip' port 54424
Apr 14 15:02:56 mail sshd[7465]: debug1: Client protocol version 2.0; client software version OpenSSH_5.1
Apr 14 15:02:56 mail sshd[7465]: debug1: match: OpenSSH_5.1 pat OpenSSH*
Apr 14 15:02:56 mail sshd[7465]: debug1: Enabling compatibility mode for protocol 2.0
Apr 14 15:02:56 mail sshd[7465]: debug1: Local version string SSH-2.0-OpenSSH_5.1p1 Debian-3ubuntu1
Apr 14 15:02:56 mail sshd[7465]: debug1: do_cleanup
# Package generated configuration file
# See the sshd(8) manpage for details
# What ports, IPs and protocols we listen for
Port 30000
# Use these options to restrict which interfaces/protocols sshd will bind to
#ListenAddress ::
#ListenAddress 0.0.0.0
Protocol 2
# HostKeys for protocol version 2
# Active Collab
# domain: ac.glccc.org
# public: /home/gladmin/public_html/ac.glccc.org/public/
<VirtualHost *:80>
# Admin email, Server Name (domain name) and any aliases
ServerAdmin [email protected]
ServerName ac.glccc.org
ServerAlias ac.glccc.org
# GL Staff site
# domain: staff.glccc.org
# public: /home/gladmin/public_html/staff.glccc.org/public/
<VirtualHost *:80>
# Admin email, Server Name (domain name) and any aliases
ServerAdmin [email protected]
ServerName staff.glccc.org
#
# Based upon the NCSA server configuration files originally by Rob McCool.
#
# This is the main Apache server configuration file. It contains the
# configuration directives that give the server its instructions.
# See http://httpd.apache.org/docs/2.2/ for detailed information about
# the directives.
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
rvm:
type: "rvm is a function"
version: "rvm 0.1.28 by Wayne E. Seguin ([email protected]) [http://rvm.beginrescueend.com/]"
ruby:
interpreter: "ruby"
version: "1.9.1p378"
date: "2010-01-10"
platform: "i386-darwin10.3.0"
patchlevel: "2010-01-10 revision 26273"
Loading development environment (Rails 2.3.5)
Git Branch Config: avocado -> /Users/ryans/Sites/_DEV/RedAvocado/config/branch_configs/us.rb
defaults: &defaults
adapter: mysql
database: Avocado
username: ryans
password: J112Bitmtp
host: localhost