Recent Pasties
Create a new one now.
Created on 12/06/2011 08:58 by Anonymous
View complete code
Created on 01/05/2011 16:45 by Anonymous
View complete code
Created on 28/02/2011 16:12 by Anonymous
View complete code
Created on 13/01/2011 22:46 by Anonymous
include 'includes/classes/facebook.php';
include_once "fbconnect.php";
//if user is logged in and session is valid.
if ($fbme){
//collect some data using legacy api
'method' => 'users.getinfo',
View complete code
Created on 18/12/2010 14:41 by Anonymous
View complete code
Created on 22/11/2010 06:21 by Anonymous
View complete code
Created on 23/08/2010 22:50 by Anonymous
<script type="text/javascript">
function killeveryone() {
if (annoyingme()) {
killperson();
} else {
pretendtocare();
}
}
View complete code
Created on 16/08/2010 05:32 by Anonymous
View complete code
Created on 15/08/2010 07:40 by Anonymous
<?php
function pcre_error_deocde() {
switch (preg_last_error()) {
case PREG_PATTERN_ORDER:
print "Orders results so that $matches[0] is an array of
full pattern matches, $matches[1] is an array of strings matched by
the first parenthesized subpattern, and so on. This flag is only used
with preg_match_all().\n";
break;
case PREG_SET_ORDER:
print "Orders results so that $matches[0] is an array of
first set of matches, $matches[1] is an array of second set of
matches, and so on. This flag is only used with preg_match_all().\n";
View complete code
Created on 15/07/2010 20:16 by Anonymous
$NOW =
date("YmdHis",
$TIME);
View complete code