Recent Pasties
Create a new one now.
Created on 15/07/2010 20:16 by Anonymous
$NOW =
date("YmdHis",
$TIME);
View complete code
Created on 08/05/2010 06:13 by Anonymous
View complete code
Created on 21/04/2010 07:03 by Anonymous
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Register a Username and Password</title>
</head>
<body>
View complete code
Created on 21/04/2010 05:32 by Anonymous
<?
?>
View complete code
Created on 25/11/2009 10:31 by Anonymous
<?php
require_once(dirname(__FILE__).
'/../autoload/sfCoreAutoload.class.php');
sfCoreAutoload::register();
try
View complete code
Created on 10/03/2008 08:26 by Anonymous
function CheckFileExtension
($file,&
$Extension=
array()) {
{
// ON EXTRAIT L'EXTENSION
View complete code
Created on 10/03/2008 08:23 by Anonymous
///
function CheckFileExtension
($file,&
$Extension=
array()) {
{
// ON EXTRAIT L'EXTENSION---> l'extension sera définie même si
votre fichier se nomme myfile.config.inc, retourne inc
View complete code
Created on 07/03/2008 21:22 by Anonymous
.liens { font-family: Arial, Helvetica, sans-serif; font-size: 11px;
color: #4E4E4E; }
.liens12 { font-family: Arial, Helvetica, sans-serif; font-size: 12px;
color: #996666; }
.texte12gris { font-family: Arial, Helvetica, sans-serif; font-size:
12px; color: #666666; }
.texte11gris { font-family: Arial, Helvetica, sans-serif; font-size:
11px; color: #666666; }
.formsaisie {
font-family: Arial, Helvetica, sans-serif; font-size: 11px; color:
#333333;
background-color: #FCF7EF;
margin: 4px;
View complete code
/**
* cette fonction affiche les méthodes et propriétés d'un objet
(php5)
* exemple :
* $objet=new objetExemple();
* echo($objet);//appel implicite à __tostring
* @return
*/
function __tostring()
View complete code
//vérification d'extention
function checkExtention( $file){
$file = 'myfile.rar';
$ext_Array =
array("zip",
"rar",
"jpg",
"jpeg",
"gif",
"bmp");
// Check file
View complete code