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

Home > Pasties

Recent Pasties

« < 1 - 2 - 3 > »

Create a new one now.

Created on 08/03/2010 02:23 by Anonymous

  1. <?php
  2. phpinfo ();
  3. ?>
View complete code

Created on 07/12/2009 14:56 by Anonymous

  1. <?php
  2. $link = mysql_connect('edittedout', 'same', 'ditto');
  3. if (!$link) {
  4. die('Could not connect: ' . mysql_error());
  5. }
  6.  
  7. if(isset($_session['keycheck']))
  8.  
View complete code

Created on 25/11/2009 10:31 by Anonymous

  1. <?php
  2.  
  3.  
  4.  
  5. require_once(dirname(__FILE__).'/../autoload/sfCoreAutoload.class.php'
    );
  6. sfCoreAutoload::register();
  7.  
  8. try
  9.  
View complete code

Created on 17/11/2009 20:24 by Anonymous

  1. <?
  2. $weburlB=strpos($weburl,"service.php");
  3. if ($weburlB===false){
  4. echo "<td width='88%' align='center' class='Top'
    background='images/menu-off.gif' bgcolor='#FFFFFF'><a
    href='service.php'>Home</a></td>"
    ;
  5. }else{
  6. echo "<td width='88%' align='center' class='Top'
    background='images/menu-on.gif' bgcolor='#FFFFFF'><a
    href='service.php'>Home</a></td>"
    ;
  7. }
  8. ?>
View complete code

Created on 06/10/2009 14:40 by Anonymous

  1. <?php
  2.  
  3. include ('mysql.php');
  4.  
  5. if (isset ($_POST['submit']))} {
  6. $username = mysql_escape_string($_POST['username']);
  7. $password = mysql_escape_string(shal($_POST['password']));
  8.  
  9.  
View complete code

Created on 20/03/2009 17:28 by Anonymous

  1.  
View complete code

Created on 18/11/2008 19:46 by Anonymous

  1.  
View complete code

Created on 04/10/2008 19:04 by Anonymous

  1.  
View complete code

Created on 04/10/2008 19:03 by Anonymous

  1.  
View complete code

Created on 10/03/2008 08:26 by Anonymous

  1. function CheckFileExtension($file,&$Extension=array())
  2. {
  3.  
  4. if(file_exists($file))
  5. {
  6.  
  7. // ON EXTRAIT L'EXTENSION
  8. $SubstractExt = substr(strrchr($file, "."), 1);
  9.  
View complete code

 
PHPEdit User Community, © 2008 WaterProof SARL
Powered by PHPEdit