<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Benjamin Baudouin &#187; PHP</title>
	<atom:link href="http://www.benjaminbaudouin.com/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.benjaminbaudouin.com</link>
	<description>blog</description>
	<lastBuildDate>Wed, 01 Feb 2012 21:21:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Yii Framework</title>
		<link>http://www.benjaminbaudouin.com/yii-framework/</link>
		<comments>http://www.benjaminbaudouin.com/yii-framework/#comments</comments>
		<pubDate>Fri, 17 Jun 2011 14:55:13 +0000</pubDate>
		<dc:creator>Benjamin</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.benjaminbaudouin.com/?p=4890</guid>
		<description><![CDATA[Performance Configuration de Yii http://www.memorandom.fr/php/configuration-de-yii/ &#160; Mise en cache Yii + Memcached http://www.larryullman.com/2010/06/28/caching-the-database-schema-using-memcached-with-yii/]]></description>
		<wfw:commentRss>http://www.benjaminbaudouin.com/yii-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP &#8211; Fonction is_url()</title>
		<link>http://www.benjaminbaudouin.com/php-fonction-is_url/</link>
		<comments>http://www.benjaminbaudouin.com/php-fonction-is_url/#comments</comments>
		<pubDate>Fri, 20 Aug 2010 09:46:44 +0000</pubDate>
		<dc:creator>Benjamin</dc:creator>
				<category><![CDATA[App]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.benjaminbaudouin.com/?p=4117</guid>
		<description><![CDATA[function is_url($url) { $urlregex = "^(http&#124;https&#124;ftp)?\:\/\/"; // USER AND PASS (optional) $urlregex .= "([a-z0-9+!*(),;?&#38;=$_.-]+(\:[a-z0-9+!*(),;?&#38;=$_.-]+)?@)?"; // HOSTNAME OR IP $urlregex .= "[a-z0-9+$_-]+(\.[a-z0-9+$_-]+)*"; // http://x = allowed (ex. http://localhost, http://routerlogin) //$urlregex .= "[a-z0-9+$_-]+(\.[a-z0-9+$_-]+)+"; // http://x.x = minimum //$urlregex .= "([a-z0-9+$_-]+\.)*[a-z0-9+$_-]{2,3}"; // http://x.xx(x) = minimum //use only one of the above // PORT (optional) $urlregex .= "(\:[0-9]{2,5})?"; // &#8230; <a href="http://www.benjaminbaudouin.com/php-fonction-is_url/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.benjaminbaudouin.com/php-fonction-is_url/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Activer Apache2 et PHP 5 sous Mac OS Snow Léopard</title>
		<link>http://www.benjaminbaudouin.com/activer-apache2-et-php-5-sous-mac-os-snow-leopard/</link>
		<comments>http://www.benjaminbaudouin.com/activer-apache2-et-php-5-sous-mac-os-snow-leopard/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 13:33:44 +0000</pubDate>
		<dc:creator>Benjamin</dc:creator>
				<category><![CDATA[App]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Apache2]]></category>
		<category><![CDATA[HTTP]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.benjaminbaudouin.com/?p=4039</guid>
		<description><![CDATA[Dans un terminal: sudo vi /private/etc/apache2/httpd.conf Décommenter LoadModule php5_module libexec/apache2/libphp5.so Préférences Système &#62; Partage &#62; Partage web Tester: http://localhost Pour ajouter du code PHP (DocRoot Apache): /Library/WebServer/Documents/]]></description>
		<wfw:commentRss>http://www.benjaminbaudouin.com/activer-apache2-et-php-5-sous-mac-os-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debug PHP &#8211; Installer et configurer Xdebug / Webgrind</title>
		<link>http://www.benjaminbaudouin.com/debug-php-installer-et-configurer-xdebug-webgrind/</link>
		<comments>http://www.benjaminbaudouin.com/debug-php-installer-et-configurer-xdebug-webgrind/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 14:28:37 +0000</pubDate>
		<dc:creator>Benjamin</dc:creator>
				<category><![CDATA[App]]></category>
		<category><![CDATA[Debug]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Webgrind]]></category>
		<category><![CDATA[xdebug]]></category>

		<guid isPermaLink="false">http://www.benjaminbaudouin.com/?p=4037</guid>
		<description><![CDATA[Xdebug http://xdebug.org/ Installer l&#8217;extension apt-get install php5-xdebug Configurer xdebug find /usr/lib/php5/ -name xdebug.so /usr/lib/php5/20051025/xdebug.so /etc/php5/apache2/conf.d/xdebug.ini #extension = xdebug.so zend_extension = /usr/lib/php5/20051025/xdebug.so ; Profiling xdebug.profiler_enable = 0 xdebug.profiler_enable_trigger = 1 xdebug.profiler_output_dir = /dev/shm xdebug.profiler_output_name = cachegrind.out.%t.%p Webgrind http://code.google.com/p/webgrind/ Installer wget http://webgrind.googlecode.com/files/webgrind-release-1.0.zip unzip webgrind-release-1.0.zip cd webgrind Configurer webgrind config.php static $profilerDir = '/dev/shm'; En pratique Activer xdebug &#8230; <a href="http://www.benjaminbaudouin.com/debug-php-installer-et-configurer-xdebug-webgrind/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.benjaminbaudouin.com/debug-php-installer-et-configurer-xdebug-webgrind/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>La date en Français avec une fonction PHP</title>
		<link>http://www.benjaminbaudouin.com/la-date-en-francais-avec-une-fonction-php/</link>
		<comments>http://www.benjaminbaudouin.com/la-date-en-francais-avec-une-fonction-php/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 14:13:33 +0000</pubDate>
		<dc:creator>Benjamin</dc:creator>
				<category><![CDATA[App]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.benjaminbaudouin.com/?p=1773</guid>
		<description><![CDATA[Une méthode consiste à définir 4 tableaux : 2 tableaux de même taille pour les jours 2 tableaux de même taille pour les mois str_replace() se chargera du reste en se servant des tableaux comme des tableaux de correspondance FR &#60;=&#62; US/EN. function datefr() { $date = date('l d F Y'); $days = array( "Monday", &#8230; <a href="http://www.benjaminbaudouin.com/la-date-en-francais-avec-une-fonction-php/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.benjaminbaudouin.com/la-date-en-francais-avec-une-fonction-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Comprendre et Installer Zend Framework</title>
		<link>http://www.benjaminbaudouin.com/comprendre-et-installer-zend-framework/</link>
		<comments>http://www.benjaminbaudouin.com/comprendre-et-installer-zend-framework/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 14:36:24 +0000</pubDate>
		<dc:creator>Benjamin</dc:creator>
				<category><![CDATA[App]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Zend Framework]]></category>

		<guid isPermaLink="false">http://www.benjaminbaudouin.com/?p=589</guid>
		<description><![CDATA[Quelques liens bien pratique autours de Zend Framework: Initiation au Zend Framework 1.5 Débuter avec Zend Framework 1.5 Zend Framework Quickstart (officiel) API Zend Framework Présentation du Zend Framework &#8211; Premiers pas Creating data tables with PEAR Structures_DataGrid Understanding the Zend Framework (IBM)]]></description>
		<wfw:commentRss>http://www.benjaminbaudouin.com/comprendre-et-installer-zend-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zend Framework &#8211; Méthodes d&#8217;accés aux bases de données</title>
		<link>http://www.benjaminbaudouin.com/zend-framework-methodes-dacces-aux-bases-de-donnees/</link>
		<comments>http://www.benjaminbaudouin.com/zend-framework-methodes-dacces-aux-bases-de-donnees/#comments</comments>
		<pubDate>Wed, 06 Aug 2008 12:53:19 +0000</pubDate>
		<dc:creator>Benjamin</dc:creator>
				<category><![CDATA[App]]></category>
		<category><![CDATA[Framework]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.benjaminbaudouin.com/?p=594</guid>
		<description><![CDATA[]]></description>
		<wfw:commentRss>http://www.benjaminbaudouin.com/zend-framework-methodes-dacces-aux-bases-de-donnees/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Présentation de Zend Framework par Julien Pauli</title>
		<link>http://www.benjaminbaudouin.com/presentation-de-zend-framework-par-julien-pauli/</link>
		<comments>http://www.benjaminbaudouin.com/presentation-de-zend-framework-par-julien-pauli/#comments</comments>
		<pubDate>Tue, 05 Aug 2008 09:52:30 +0000</pubDate>
		<dc:creator>Benjamin</dc:creator>
				<category><![CDATA[App]]></category>
		<category><![CDATA[Framework]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Zend Framework]]></category>

		<guid isPermaLink="false">http://www.benjaminbaudouin.com/?p=571</guid>
		<description><![CDATA[Contexte Depuis Mars 2006 est apparu le Framework maison de chez Zend, pour PHP5. Pour rappel, Zend est une société qui commercialise tout un tas d&#8217;outils pour les entreprises, autour de PHP. Zend Framework est un d&#8217;entre eux si ce n&#8217;est qu&#8217;il n&#8217;est pas commercialisé : distribué sous &#171;&#160;New BSD Licence&#160;&#187;, il est gratuit, libre, &#8230; <a href="http://www.benjaminbaudouin.com/presentation-de-zend-framework-par-julien-pauli/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.benjaminbaudouin.com/presentation-de-zend-framework-par-julien-pauli/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Plugin phpScheduleIt &#8211; checksrv.php</title>
		<link>http://www.benjaminbaudouin.com/plugin-phpscheduleit-checksrvphp/</link>
		<comments>http://www.benjaminbaudouin.com/plugin-phpscheduleit-checksrvphp/#comments</comments>
		<pubDate>Tue, 24 Jun 2008 14:19:43 +0000</pubDate>
		<dc:creator>Benjamin</dc:creator>
				<category><![CDATA[App]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[phpScheduleIt]]></category>

		<guid isPermaLink="false">http://www.benjaminbaudouin.com/?p=249</guid>
		<description><![CDATA[Script PHP checksrv.php Contrôle la disponibilité d&#8217;un serveur Pré-requis sur l&#8217;utilisation de PHP en cron: http://www.devarticles.com/c/a/PHP/PHP-CLI-and-Cron/ checksrv.php #!/usr/bin/php -q #WELCOME #print &#171;&#160;check_dispo.php&#160;&#187;; //Date $today = date(&#8216;d-m-Y&#8217;); $today_us = date(&#8216;m-d-Y&#8217;); $today_timestamp = strtotime(date(&#8216;Ymd&#8217;)); $days = array(&#171;&#160;Monday&#160;&#187;,&#160;&#187;Tuesday&#160;&#187;,&#160;&#187;Wednesday&#160;&#187;,&#160;&#187;Thursday&#160;&#187;,&#160;&#187;Friday&#160;&#187;,&#160;&#187;Saturday&#160;&#187;,&#160;&#187;Sunday&#160;&#187;); $jours = array(&#171;&#160;Lundi&#160;&#187;,&#160;&#187;Mardi&#160;&#187;,&#160;&#187;Mercredi&#160;&#187;,&#160;&#187;Jeudi&#160;&#187;,&#160;&#187;Vendredi&#160;&#187;,&#160;&#187;Samedi&#160;&#187;,&#160;&#187;Dimanche&#160;&#187;); $months = array(&#171;&#160;January&#160;&#187;,&#160;&#187;February&#160;&#187;,&#160;&#187;March&#160;&#187;,&#160;&#187;April&#160;&#187;,&#160;&#187;May&#160;&#187;,&#160;&#187;June&#160;&#187;,&#160;&#187;July&#160;&#187;,&#160;&#187;August&#160;&#187;,&#160;&#187;September&#160;&#187;,&#160;&#187;October&#160;&#187;,&#160;&#187;November&#160;&#187;,&#160;&#187;December&#160;&#187;); $mois = array(&#171;&#160;Janvier&#160;&#187;,&#160;&#187;Fevrier&#160;&#187;,&#160;&#187;Mars&#160;&#187;,&#160;&#187;Avril&#160;&#187;,&#160;&#187;Mai&#160;&#187;,&#160;&#187;Juin&#160;&#187;,&#160;&#187;Juillet&#160;&#187;,&#160;&#187;Aout&#160;&#187;,&#160;&#187;Septembre&#160;&#187;,&#160;&#187;Octobre&#160;&#187;,&#160;&#187;Novembre&#160;&#187;,&#160;&#187;Decembre&#160;&#187;); //Couleurs function colorize($color,$string) { switch($color) { // INFOS COLORS // ;40m &#8230; <a href="http://www.benjaminbaudouin.com/plugin-phpscheduleit-checksrvphp/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.benjaminbaudouin.com/plugin-phpscheduleit-checksrvphp/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PDO MySQL pour Zend Framework</title>
		<link>http://www.benjaminbaudouin.com/pdo-mysql-pour-zend-framework/</link>
		<comments>http://www.benjaminbaudouin.com/pdo-mysql-pour-zend-framework/#comments</comments>
		<pubDate>Thu, 15 May 2008 12:59:43 +0000</pubDate>
		<dc:creator>Benjamin</dc:creator>
				<category><![CDATA[App]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Zend Framework]]></category>

		<guid isPermaLink="false">http://www.benjaminbaudouin.com/?p=220</guid>
		<description><![CDATA[1) installation des paquets debian contenant les extensions PDO et PDO_MYSQL apt-get install php5-pdo apt-get install php5-pdo-mysql 2) modification du fichier de configuration PHP5 /etc/php5/apache2/php.ini extension=pdo.so extension=pdo_mysql.so 3) redémarrage du service apache2 /etc/init.d/apache2 restart Une fois installé il reste à se familiariser avec le composant Zend_Db.]]></description>
		<wfw:commentRss>http://www.benjaminbaudouin.com/pdo-mysql-pour-zend-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
