This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
include '../inc/header_admin.php'; | |
if($_SERVER['SERVER_NAME'] == 'localhost') | |
{ | |
error_reporting(-1); | |
ini_set('mysql.trace_mode', true); | |
} | |
$filename = '../maj_dossier/EXPARTHQ.txt'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
setlocal | |
cd /d %~dp0 | |
:: initialization | |
if [%1] == [--reinstall] ( | |
if exist vendor ( | |
rd /s /q vendor | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function (jwplayer) { | |
var template = function (player, config, div) { | |
function setup(event) { | |
config.links = []; | |
config.last = null; | |
var summary = document.getElementById(config.id); | |
if (summary) { | |
var links = summary.getElementsByTagName('a'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class WebSocket | |
{ | |
protected $url; | |
protected $protocols; | |
protected $socket; | |
public function __construct($url, $protocols = array()) | |
{ | |
$this->url = $url; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
php -dphar.readonly=0 atoum/scripts/phar/generator.php -d ./ | |
php mageekguy.atoum.phar -d atoum/tests/units | |
> atoum version 325 by Frédéric Hardy (phar:///Users/stealth35/Documents/mageekguy.atoum.phar) | |
> PHP path: /usr/bin/php | |
> PHP version: | |
=> PHP 5.3.6 with Suhosin-Patch (cli) (built: Jun 16 2011 22:26:57) | |
=> Copyright (c) 1997-2011 The PHP Group | |
=> Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies | |
=> with Xdebug v2.1.2, Copyright (c) 2002-2011, by Derick Rethans |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (window.location.pathname.search('course/view') > 0) { | |
window.onload = function (event) { | |
if (typeof FormData === 'undefined') { | |
return; | |
} | |
var forms = document.forms; | |
for (var f = 0; f < forms.length; ++f) { | |
if (typeof forms[f].edit !== 'undefined') { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$tree = array(); | |
$branch = &$tree; | |
$courses = array( | |
'f1' => '/d1', | |
'f6' => '/d2', | |
'f7' => '/d3', | |
'f8' => '/d3/d4', | |
'f9' => '/d3/d4', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class ZipArchiveIterator implements \Iterator, \SeekableIterator, \Countable | |
{ | |
private $current; | |
private $position; | |
private $zip; | |
public function __construct($file_name) | |
{ | |
$this->zip = new \ZipArchive(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* This file is part of the Symfony package. | |
* | |
* (c) Fabien Potencier <[email protected]> | |
* | |
* For the full copyright and license information, please view the LICENSE | |
* file that was distributed with this source code. | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Array | |
( | |
[internal] => Array | |
( | |
[0] => zend_version | |
[1] => func_num_args | |
[2] => func_get_arg | |
[3] => func_get_args | |
[4] => strlen | |
[5] => strcmp |
OlderNewer