PasteSite.Com

Recent Pastes

Sign Up!

PasteSite is open to the public, but with limited features. Register to be able to modify access rights, track your pastes and more...

Change the theme

If you prefer reading light text on a dark background to dark text on a light background, then you might want to try the dark theme.

Adam's Recent Pastes

"Re: Re: #3664" (PHP) view

  1. <?php
  2.  
  3. $message = $_POST['name'] . "\n" . $_POST['wowname'] ;
  4.  
  5. $sent = mail("cbarks@gmail.com", "Recruit Request", $message, "From: " . $_POST['email']) ;
  6.  
  7. if($sent)
  8. {
  9. print "Thank you for your interest in our guild. Your request has been sent, with the following information. <br />";
  10.  

"Re: #3664" (PHP) view

  1. <?php
  2.  
  3. $message = $_POST['name'] . "\n" . $_POST['wowname'] ;
  4.  
  5. $sent = mail("cbarks@gmail.com, "Recruit Request", $message, "From: " . $_POST['email']) ;
  6.  
  7. if($sent)
  8. {
  9. print "Thank you for your interest in our guild. Your request has been sent, with the following information. <br />";
  10.  

"Untitled" (PHP) view

  1. <?php
  2.  
  3. /*
  4.  
  5.     TUMBLR RSS PARSE DOCUMENT
  6.        
  7. */
  8.  
  9. class tumblr {
  10.  

"Re: #3576" (PHP) view

  1. <?php
  2.  
  3. class tumblr {
  4.  
  5.     public function fetch_all($username,$start=0,$limit=20) {
  6.    
  7.         $target = 'http://'.$username.'.tumblr.com/api/read?start='.$start.'&num='.$limit;
  8.  
  9.         $xml = simplexml_load_file($target) or die("Feed failed to load");
  10.  

"Untitled" (PHP) view

  1. <?php
  2.  
  3. class tumblr {
  4.  
  5.     public function fetch_all($start=0,$limit=20) {
  6.    
  7.         $target = 'http://wized.tumblr.com/api/read?start='.$start.'&num='.$limit;
  8.  
  9.         $xml = simplexml_load_file($target) or die("Feed failed to load");
  10.  

"Untitled" (Plain Text) view

  1. AddHandler application/x-httpd-php5 .php
  2. Satisfy any
  3. RewriteEngine on
  4. RewriteRule ^admin/?$ admin/index.php [L]
  5. RewriteRule ^([^/\.]+)/?$ $1.php [L]
  6. RewriteRule ^([^/\.]+)/([^/\.]+)/?$ $1.php?id=$2 [L]
  7. RewriteRule ^([^/\.]+)/([^/\.]+)/([^/\.]+)/?$ $1.php?id=$2&subid=$3 [L]
  8. errordocument 404 http://www.abbeygymnastics.com/new/error/

"Untitled" (PHP) view

  1. {
  2.    
  3.     public $string;
  4.     public $user;
  5.     private $id;
  6.  
  7.     public function __construct($string, $user, $id)
  8.     {
  9.         $this->string = $string;
  10.         $this->user  = $user;

"Untitled" (Plain Text) view

  1. IRC.ZYMIC.COM #BOTS Competition
  2.  
  3. To create the shortest IRC PHP BOT.
  4.  
  5. YOUR BOT MUST DO THE FOLLOWING:
  6. - Connect to the Zymic Server
  7. - Join the #bots channel on the server
  8. - Reply any message when someone says "Hello"
  9. - Have a quit command, so it can leave the server.
  10.  

"Untitled" (PHP) view

  1. <?php
  2.  
  3. /*
  4.     Wized IRC Bot
  5.     Adam McPeake
  6.   www.labs.wized.net
  7.    
  8.     --
  9.     Plugin [ get Time ]
  10.     --

"Untitled" (Plain Text) view

  1. 0,3107707,40850,Blind Melon - Three Is the Magic Number.mp3
  2. 0,3107707,106366,Blind Melon - Three Is the Magic Number.mp3
  3. 0,3107707,147216,Blind Melon - Three Is the Magic Number.mp3
  4. 0,3107707,212964,Blind Melon - Three Is the Magic Number.mp3
  5. 0,3107707,335828,Blind Melon - Three Is the Magic Number.mp3
  6. 0,3107707,368636,Blind Melon - Three Is the Magic Number.mp3
  7. 0,3107707,449781,Blind Melon - Three Is the Magic Number.mp3
  8. 0,3107707,557026,Blind Melon - Three Is the Magic Number.mp3
  9. 0,3107707,597838,Blind Melon - Three Is the Magic Number.mp3
  10. 0,3107707,671412,Blind Melon - Three Is the Magic Number.mp3

Page: 1, 2, 3.. »