The page you are looking at now is at this URL: http://pastoid.com/b3e
This paste was last updated on October 18, 2010 at 4:54 pm.
#!/usr/bin/php <?php // Change this to your URL: $url = 'http://pastoid.com/*quickpaste/0+12345678'; $file = $argv[1]; switch(strtolower(substr($file,strrpos($file, '.')+1))) { case 'php': $type = 'php'; break; default: $type = 'text'; } $contents = file_get_contents( $file ); $options = array( 'http' => array( 'method' => 'POST', 'header' => 'Content-type: application/x-www-form-urlencoded', 'content' => http_build_query( array( 'content' => $contents, 'type' => $type, 'title' => basename($file) ) ), ) ); $context = stream_context_create( $options ); echo 'Sending "' . $argv[1] . '" (' . strlen($contents) . ' bytes) to Pastoid...' . "\n"; $result = file_get_contents( $url, false, $context ); if(trim($result) == '') { echo "No Response.\n"; } else { echo $result . "\n"; } ?>
| Referring Domain | Hits |
|---|---|
| Unknown Referer | 127 |
| pastoid.com | 20 |
| drunkenmonkey.org | 1 |
Tip: Use Pastoid to shorten URLs with this bookmarklet: Pastoid This