PHPEdit.net Community
   
1 2 3 4
Tutorials Tips Pasties Code Snippets
 

Home > Pasties

Recent Pasties

« < 1 - 2 - 3 - 4 > »

Create a new one now.

Created on 12/06/2011 08:58 by Anonymous

  1.  
View complete code

Created on 01/05/2011 16:45 by Anonymous

  1.  
View complete code

Created on 28/02/2011 16:12 by Anonymous

  1.  
View complete code

Created on 13/01/2011 22:46 by Anonymous

  1. include 'includes/classes/facebook.php';
  2. include_once "fbconnect.php";
  3.  
  4. //if user is logged in and session is valid.
  5. if ($fbme){
  6. //collect some data using legacy api
  7. $param = array(
  8. 'method' => 'users.getinfo',
  9.  
View complete code

Created on 18/12/2010 14:41 by Anonymous

  1.  
View complete code

Created on 22/11/2010 06:21 by Anonymous

  1.  
View complete code

Created on 23/08/2010 22:50 by Anonymous

  1. <script type="text/javascript">
  2. function killeveryone() {
  3. if (annoyingme()) {
  4. killperson();
  5. } else {
  6. pretendtocare();
  7. }
  8. }
  9.  
View complete code

Created on 16/08/2010 05:32 by Anonymous

  1.  
View complete code

Created on 15/08/2010 07:40 by Anonymous

  1. <?php
  2. function pcre_error_deocde() {
  3. switch (preg_last_error()) {
  4. case PREG_PATTERN_ORDER:
  5. 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"
    ;
  6. break;
  7. case PREG_SET_ORDER:
  8. 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"
    ;
  9.  
View complete code

Created on 15/07/2010 20:16 by Anonymous

  1. $NOW = date("YmdHis", $TIME);
View complete code

 
PHPEdit User Community, © 2008 WaterProof SARL
Powered by PHPEdit