<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><rss xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:admin="http://webns.net/mvcb/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
    <title>Arnaud</title>
    <link>http://www.limbourg.com/arnaud/blog/</link>
    <description />
    <dc:language>fr</dc:language>
    <generator>Serendipity 1.3.1 - http://www.s9y.org/</generator>
    <managingEditor>arnaud@limbourg.com</managingEditor>
<webMaster>arnaud@limbourg.com</webMaster>

    <image>
        <url>http://www.limbourg.com/arnaud/blog/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Arnaud - </title>
        <link>http://www.limbourg.com/arnaud/blog/</link>
        <width>100</width>
        <height>21</height>
    </image>

<geo:lat>48.8813120693</geo:lat><geo:long>2.3639917374</geo:long><creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/arnaud" type="application/rss+xml" /><item>
    <title>Gestion des dates en PHP 5.3</title>
    <link>http://feeds.feedburner.com/~r/arnaud/~3/450705750/Gestion-des-dates-en-PHP-5.3</link>
            <category>PHP</category>
    
    <comments>http://www.limbourg.com/arnaud/blog/archives/2008/11/12/Gestion-des-dates-en-PHP-5.3#comments</comments>
    <wfw:comment>http://www.limbourg.com/arnaud/blog/wfwcomment.php?cid=219</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.limbourg.com/arnaud/blog/rss.php?version=2.0&amp;type=comments&amp;cid=219</wfw:commentRss>
    

    <author>nospam@example.com (Arnaud Limbourg)</author>
    <content:encoded><![CDATA[
    <p>La version 5.3 de <a href="http://www.limbourg.com/arnaud/blog/exit.php?url=aHR0cDovL3d3dy5waHAubmV0&amp;entry_id=219" title="http://www.php.net"  onmouseover="window.status='http://www.php.net';return true;" onmouseout="window.status='';return true;">PHP</a> apporte son lot de nouveautés dont une méthode bien utile pour la gestion des dates: <em>date_add</em>. Comme le nom l'indique elle permet d'ajouter un interval de temps à une date, il devient possible d'ecrire:</p>

<pre><code>date_default_timezone_set('Europe/Paris');
$date = new DateTime('2008-11-12 00:00:00');
// Ajoutons 3 jours 2 heures 54 minutes et 23 secondes 
date_add($date, new DateInterval("P3DT2H54M23S"));
echo $date-&gt;format("d-m-Y H:i:s"), "\n";
=&gt; 15-11-2008 02:54:23
</code></pre>

<p>La notation est certes étrange mais tous ceux ayant eu à manipuler des dates seront ravis de cet ajout. Plus d'informations dans la <a href="http://www.limbourg.com/arnaud/blog/exit.php?url=aHR0cDovL2ZyLnBocC5uZXQvbWFudWFsL2VuL2Z1bmN0aW9uLmRhdGUtYWRkLnBocA==&amp;entry_id=219" title="http://fr.php.net/manual/en/function.date-add.php"  onmouseover="window.status='http://fr.php.net/manual/en/function.date-add.php';return true;" onmouseout="window.status='';return true;">documentation</a>.</p>
 
    <img src="http://feeds.feedburner.com/~r/arnaud/~4/450705750" height="1" width="1"/>]]></content:encoded>

    <pubDate>Wed, 12 Nov 2008 14:23:19 +0100</pubDate>
    <guid isPermaLink="false">http://www.limbourg.com/arnaud/blog/archives/2008/11/12/219</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.5/</creativeCommons:license><category>arnaud</category>

<feedburner:origLink>http://www.limbourg.com/arnaud/blog/archives/2008/11/12/Gestion-des-dates-en-PHP-5.3</feedburner:origLink></item>
<item>
    <title>Forum PHP 2008</title>
    <link>http://feeds.feedburner.com/~r/arnaud/~3/444166451/Forum-PHP-2008</link>
            <category>Conferences</category>
            <category>PHP</category>
    
    <comments>http://www.limbourg.com/arnaud/blog/archives/2008/11/06/Forum-PHP-2008#comments</comments>
    <wfw:comment>http://www.limbourg.com/arnaud/blog/wfwcomment.php?cid=218</wfw:comment>

    <slash:comments>4</slash:comments>
    <wfw:commentRss>http://www.limbourg.com/arnaud/blog/rss.php?version=2.0&amp;type=comments&amp;cid=218</wfw:commentRss>
    

    <author>nospam@example.com (Arnaud Limbourg)</author>
    <content:encoded><![CDATA[
    <p>Le <a href="http://www.limbourg.com/arnaud/blog/exit.php?url=aHR0cDovL2FmdXAub3JnL2ZvcnVtcGhw&amp;entry_id=218" title="http://afup.org/forumphp"  onmouseover="window.status='http://afup.org/forumphp';return true;" onmouseout="window.status='';return true;">Forum PHP</a> aura lieu dans un tout petit plus d'un mois, les 8 et 9 décembre prochains. L'édition 2008 adopte un format différent des années précédentes et capitalise sur l'année dernière.</p>

<p>Cette année deux pistes se déroulent en même temps, cela veut dire qu'il faut choisir la session à laquelle assister. Nous avons fait tout notre possible pour rendre le choix plus simple en évitant les conférences s'adressant au même public en même temps.</p>

<p>Le programme mêle les retours d'expériences (20minutes.fr, BNP, rue89.com, ...), les sujets plus techniques (Oracle 11G et PHP, montée en charge chez Mozilla, atelier sur la sécurité: "Hackez-moi ca!", les performances coté client, maitriser javascript, ...) et des sujets plus larges (La communauté PHP et son devenir, les machines dans nos sociétés humaines). Le <a href="http://www.limbourg.com/arnaud/blog/exit.php?url=aHR0cDovL2FmdXAub3JnL3BhZ2VzL2ZvcnVtcGhwMjAwOC9zZXNzaW9ucy5waHA=&amp;entry_id=218" title="http://afup.org/pages/forumphp2008/sessions.php"  onmouseover="window.status='http://afup.org/pages/forumphp2008/sessions.php';return true;" onmouseout="window.status='';return true;">programme complet</a> est disponible <a href="http://www.limbourg.com/arnaud/blog/exit.php?url=aHR0cDovL2FmdXAub3JnL3BhZ2VzL2ZvcnVtcGhwMjAwOC9zZXNzaW9ucy5waHA=&amp;entry_id=218" title="http://afup.org/pages/forumphp2008/sessions.php"  onmouseover="window.status='http://afup.org/pages/forumphp2008/sessions.php';return true;" onmouseout="window.status='';return true;">ici</a>.</p>

<p>En espérant vous y voir !</p>

<p><!-- s9ymdb:17 --><a href="http://www.limbourg.com/arnaud/blog/exit.php?url=aHR0cDovL2FmdXAub3JnL2ZvcnVtcGhw&amp;entry_id=218" title="http://afup.org/forumphp"  onmouseover="window.status='http://afup.org/forumphp';return true;" onmouseout="window.status='';return true;"><img class="serendipity_image_left" width="319" height="95" style="float: left; border: 0px; padding-left: 5px; padding-right: 5px;" src="http://www.limbourg.com/arnaud/blog/uploads/forumafup_2008.png" alt="" /></a>
J'y serais, et vous ?</p>
 
    <img src="http://feeds.feedburner.com/~r/arnaud/~4/444166451" height="1" width="1"/>]]></content:encoded>

    <pubDate>Thu, 06 Nov 2008 09:15:18 +0100</pubDate>
    <guid isPermaLink="false">http://www.limbourg.com/arnaud/blog/archives/2008/11/06/218</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.5/</creativeCommons:license><category>afup</category>
<category>conférence</category>
<category>forumphp</category>
<category>php</category>

<feedburner:origLink>http://www.limbourg.com/arnaud/blog/archives/2008/11/06/Forum-PHP-2008</feedburner:origLink></item>
<item>
    <title>Lightroom - photos supprimées du catalogue mais pas du disque</title>
    <link>http://feeds.feedburner.com/~r/arnaud/~3/325206956/Lightroom-photos-supprimees-du-catalogue-mais-pas-du-disque</link>
            <category>Outils</category>
    
    <comments>http://www.limbourg.com/arnaud/blog/archives/2008/07/02/Lightroom-photos-supprimees-du-catalogue-mais-pas-du-disque#comments</comments>
    <wfw:comment>http://www.limbourg.com/arnaud/blog/wfwcomment.php?cid=217</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.limbourg.com/arnaud/blog/rss.php?version=2.0&amp;type=comments&amp;cid=217</wfw:commentRss>
    

    <author>nospam@example.com (Arnaud Limbourg)</author>
    <content:encoded><![CDATA[
    <p>Lors du traitement de photos avec <a href="http://www.limbourg.com/arnaud/blog/exit.php?url=aHR0cDovL3d3dy5hZG9iZS5jb20vcHJvZHVjdHMvcGhvdG9zaG9wbGlnaHRyb29tLw==&amp;entry_id=217" title="http://www.adobe.com/products/photoshoplightroom/"  onmouseover="window.status='http://www.adobe.com/products/photoshoplightroom/';return true;" onmouseout="window.status='';return true;">Lightroom</a> l'une des étapes essentielles est de supprimer des photos du catalogue lors du tri. Il arrive que la photo soit retirée du catalogue mais se trouve toujours sur le disque. La place disque ainsi perdue devient non-négligeable.</p>

<p>N'ayant pas trouvé de solution sur la toile j'ai écrit un script [PHP][php] qui parcourt récursivement un répertoire et regarde si les fichiers photos existe dans le catalogue de lightroom.</p>

<p>[php]: http://www.php.net  <strong>Attention : je ne prends aucune responsabilité quand à l'utilisation que vous pourrez en faire, une mauvaise utilisation peut détruire votre catalogue, faites une sauvegarde au préalable.</strong></p>

<p><strong>Limitations : ce script n'interagi qu'avec un catalogue à la fois, si vous avez plusieurs catalogues référençant les mêmes photos sur le disque ce script ne vous sera pas d'une grande aide</strong></p>

<p>Lightroom utilise une base de données <a href="http://www.limbourg.com/arnaud/blog/exit.php?url=aHR0cDovL3NxbGl0ZS5vcmc=&amp;entry_id=217" title="http://sqlite.org"  onmouseover="window.status='http://sqlite.org';return true;" onmouseout="window.status='';return true;">SQLite</a> il est donc possible de faire des requêtes sur cette base. Le schéma n'est pas publié  par Adobe, si votre catalogue est corrompu ne venez pas vous plaindre <img src="http://www.limbourg.com/arnaud/blog/templates/default/img/emoticons/smile.png" alt=":-)" style="display: inline; vertical-align: bottom;" class="emoticon" /></p>

<p>Le script est non destructif, il affiche les informations sur les fichiers et les commandes que vous pouvez executer pour les supprimer.</p>

<p>Exemple d'utilisation (sur OS X):</p>

<pre><code>php find_deleted_photos_lr.php ~/Pictures ~/Pictures/Lightroom/Lightroom\ Catalog.lrcat
</code></pre>

<p>Le script : <a href="http://www.limbourg.com/arnaud/blog/exit.php?url=aHR0cDovL3d3dy5saW1ib3VyZy5jb20vYXJuYXVkL2NvZGUvZmluZF9kZWxldGVkX3Bob3Rvc19sci5waHAudHh0&amp;entry_id=217" title="http://www.limbourg.com/arnaud/code/find_deleted_photos_lr.php.txt"  onmouseover="window.status='http://www.limbourg.com/arnaud/code/find_deleted_photos_lr.php.txt';return true;" onmouseout="window.status='';return true;">http://www.limbourg.com/arnaud/code/find_deleted_photos_lr.php.txt</a></p>

<p>Les extensions considérées comme des photos se trouvent en début de script, modifiez les à votre guise.</p>

<p>ps: le script n'est pas spécialement beau. Denombreux bouts de code des examples de SPL (la librairie standard PHP) sont utilisés</p>
 
    <img src="http://feeds.feedburner.com/~r/arnaud/~4/325206956" height="1" width="1"/>]]></content:encoded>

    <pubDate>Wed, 02 Jul 2008 23:05:00 +0200</pubDate>
    <guid isPermaLink="false">http://www.limbourg.com/arnaud/blog/archives/2008/07/02/217</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.5/</creativeCommons:license><category>lightroom</category>
<category>php</category>

<feedburner:origLink>http://www.limbourg.com/arnaud/blog/archives/2008/07/02/Lightroom-photos-supprimees-du-catalogue-mais-pas-du-disque</feedburner:origLink></item>
<item>
    <title>Forum PHP 2008</title>
    <link>http://feeds.feedburner.com/~r/arnaud/~3/279341566/Forum-PHP-2008</link>
            <category>Conferences</category>
    
    <comments>http://www.limbourg.com/arnaud/blog/archives/2008/04/28/Forum-PHP-2008#comments</comments>
    <wfw:comment>http://www.limbourg.com/arnaud/blog/wfwcomment.php?cid=216</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.limbourg.com/arnaud/blog/rss.php?version=2.0&amp;type=comments&amp;cid=216</wfw:commentRss>
    

    <author>nospam@example.com (Arnaud Limbourg)</author>
    <content:encoded><![CDATA[
    <p>Pour rappel l'appel à conférenciers pour le forum PHP 2008 est en cours, n'hésitez pas à envoyer vos propositions de sessions !</p>

<p><a href="http://www.limbourg.com/arnaud/blog/exit.php?url=aHR0cDovL2FmdXAub3JnL3BhZ2VzL2ZvcnVtcGhwMjAwOC9hcHBlbC1hLWNvbmZlcmVuY2llcnMucGhw&amp;entry_id=216" title="http://afup.org/pages/forumphp2008/appel-a-conferenciers.php"  onmouseover="window.status='http://afup.org/pages/forumphp2008/appel-a-conferenciers.php';return true;" onmouseout="window.status='';return true;">http://afup.org/pages/forumphp2008/appel-a-conferenciers.php</a> </p>
 
    <img src="http://feeds.feedburner.com/~r/arnaud/~4/279341566" height="1" width="1"/>]]></content:encoded>

    <pubDate>Mon, 28 Apr 2008 13:48:54 +0200</pubDate>
    <guid isPermaLink="false">http://www.limbourg.com/arnaud/blog/archives/2008/04/28/216</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.5/</creativeCommons:license>
<feedburner:origLink>http://www.limbourg.com/arnaud/blog/archives/2008/04/28/Forum-PHP-2008</feedburner:origLink></item>
<item>
    <title>Appel à conférenciers Forum PHP 2008</title>
    <link>http://feeds.feedburner.com/~r/arnaud/~3/266454591/Appel-a-conferenciers-Forum-PHP-2008</link>
            <category>Conferences</category>
    
    <comments>http://www.limbourg.com/arnaud/blog/archives/2008/04/08/Appel-a-conferenciers-Forum-PHP-2008#comments</comments>
    <wfw:comment>http://www.limbourg.com/arnaud/blog/wfwcomment.php?cid=215</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.limbourg.com/arnaud/blog/rss.php?version=2.0&amp;type=comments&amp;cid=215</wfw:commentRss>
    

    <author>nospam@example.com (Arnaud Limbourg)</author>
    <content:encoded><![CDATA[
    <p>L'<a href="http://www.limbourg.com/arnaud/blog/exit.php?url=aHR0cDovL2FmdXAub3Jn&amp;entry_id=215" title="http://afup.org"  onmouseover="window.status='http://afup.org';return true;" onmouseout="window.status='';return true;">AFUP</a> (Association Française des Utilisateurs de PHP) annonce l'appel à conférenciers pour le Forum PHP 2008.</p>

<p>Pour cet évènement unique en France nous recherchons les experts francophones qui souhaitent partager leurs expériences et leur savoir-faire. Une liste non-exhaustive inclue les sujets suivants:</p>

<ul>
<li>Comment gérer un projet PHP (outils, méthodes, ...)</li>
<li>Assurer la qualité du code</li>
<li>Le Droit sur Internet</li>
<li>Monter son entreprise autour de PHP</li>
<li>La montée en charge</li>
<li>Connecter des services (web services)</li>
<li>Les interfaces riches (choix technologie, implémentation, ...)</li>
</ul>

<p>Pour postuler rendez vous sur cette page: <a href="http://www.limbourg.com/arnaud/blog/exit.php?url=aHR0cDovL2FmdXAub3JnL3BhZ2VzL2ZvcnVtcGhwMjAwOC9hcHBlbC1hLWNvbmZlcmVuY2llcnMucGhw&amp;entry_id=215" title="http://afup.org/pages/forumphp2008/appel-a-conferenciers.php"  onmouseover="window.status='http://afup.org/pages/forumphp2008/appel-a-conferenciers.php';return true;" onmouseout="window.status='';return true;">http://afup.org/pages/forumphp2008/appel-a-conferenciers.php</a></p>
 
    <img src="http://feeds.feedburner.com/~r/arnaud/~4/266454591" height="1" width="1"/>]]></content:encoded>

    <pubDate>Tue, 08 Apr 2008 14:59:04 +0200</pubDate>
    <guid isPermaLink="false">http://www.limbourg.com/arnaud/blog/archives/2008/04/08/215</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.5/</creativeCommons:license>
<feedburner:origLink>http://www.limbourg.com/arnaud/blog/archives/2008/04/08/Appel-a-conferenciers-Forum-PHP-2008</feedburner:origLink></item>
<item>
    <title>Deux nouveaux podcasts du Forum PHP 2007</title>
    <link>http://feeds.feedburner.com/~r/arnaud/~3/253536106/Deux-nouveaux-podcasts-du-Forum-PHP-2007</link>
            <category>Conferences</category>
            <category>PHP</category>
    
    <comments>http://www.limbourg.com/arnaud/blog/archives/2008/03/18/Deux-nouveaux-podcasts-du-Forum-PHP-2007#comments</comments>
    <wfw:comment>http://www.limbourg.com/arnaud/blog/wfwcomment.php?cid=214</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.limbourg.com/arnaud/blog/rss.php?version=2.0&amp;type=comments&amp;cid=214</wfw:commentRss>
    

    <author>nospam@example.com (Arnaud Limbourg)</author>
    <content:encoded><![CDATA[
    <p>Deux nouveaux podcasts enregistrés lors du Forum PHP 2007 viennent de sortir !</p>

<p>C'est comme toujours  par ici:</p>

<p><a href="http://www.limbourg.com/arnaud/blog/exit.php?url=aHR0cDovL2ZlZWRzLmZlZWRidXJuZXIuY29tL2ZvcnVtcGhwMjAwNw==&amp;entry_id=214" title="http://feeds.feedburner.com/forumphp2007"  onmouseover="window.status='http://feeds.feedburner.com/forumphp2007';return true;" onmouseout="window.status='';return true;">http://feeds.feedburner.com/forumphp2007</a></p>
 
    <img src="http://feeds.feedburner.com/~r/arnaud/~4/253536106" height="1" width="1"/>]]></content:encoded>

    <pubDate>Tue, 18 Mar 2008 10:13:24 +0100</pubDate>
    <guid isPermaLink="false">http://www.limbourg.com/arnaud/blog/archives/2008/03/18/214</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.5/</creativeCommons:license>
<feedburner:origLink>http://www.limbourg.com/arnaud/blog/archives/2008/03/18/Deux-nouveaux-podcasts-du-Forum-PHP-2007</feedburner:origLink></item>
<item>
    <title>Pourquoi il faut désactiver display_errors dans le php.ini sur les serveurs de prod</title>
    <link>http://feeds.feedburner.com/~r/arnaud/~3/253225750/Pourquoi-il-faut-desactiver-display_errors-dans-le-php.ini-sur-les-serveurs-de-prod</link>
            <category>PHP</category>
    
    <comments>http://www.limbourg.com/arnaud/blog/archives/2008/03/15/Pourquoi-il-faut-desactiver-display_errors-dans-le-php.ini-sur-les-serveurs-de-prod#comments</comments>
    <wfw:comment>http://www.limbourg.com/arnaud/blog/wfwcomment.php?cid=213</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.limbourg.com/arnaud/blog/rss.php?version=2.0&amp;type=comments&amp;cid=213</wfw:commentRss>
    

    <author>nospam@example.com (Arnaud Limbourg)</author>
    <content:encoded><![CDATA[
    <p>Si vous allez sur le site de <a href="http://www.limbourg.com/arnaud/blog/exit.php?url=aHR0cDovL3d3dy5zaG9wYWxpemUuY29t&amp;entry_id=213" title="http://www.shopalize.com"  onmouseover="window.status='http://www.shopalize.com';return true;" onmouseout="window.status='';return true;">http://www.shopalize.com</a> en ce moment il y a des chances que vous voyez ceci:</p>

<p><a class='serendipity_image_link' href='http://www.limbourg.com/arnaud/blog/uploads/images/shopalize_error1.png'><!-- s9ymdb:15 --><img width="110" height="30" style="border: 0px; padding-left: 5px; padding-right: 5px;" src="http://www.limbourg.com/arnaud/blog/uploads/images/shopalize_error1.thumb.png" alt="" /></a></p>

<p>J'en profite pour rappeler qu'il est impératif de mettre la directive <a href="http://www.limbourg.com/arnaud/blog/exit.php?url=aHR0cDovL2ZyLnBocC5uZXQvbWFudWFsL2VuL3JlZi5lcnJvcmZ1bmMucGhwI2luaS5kaXNwbGF5LWVycm9ycw==&amp;entry_id=213" title="http://fr.php.net/manual/en/ref.errorfunc.php#ini.display-errors"  onmouseover="window.status='http://fr.php.net/manual/en/ref.errorfunc.php#ini.display-errors';return true;" onmouseout="window.status='';return true;">display_errors</a> à "off" et mettre en place un fichier de log via <a href="http://www.limbourg.com/arnaud/blog/exit.php?url=aHR0cDovL2ZyLnBocC5uZXQvbWFudWFsL2VuL3JlZi5lcnJvcmZ1bmMucGhwI2luaS5lcnJvci1sb2c=&amp;entry_id=213" title="http://fr.php.net/manual/en/ref.errorfunc.php#ini.error-log"  onmouseover="window.status='http://fr.php.net/manual/en/ref.errorfunc.php#ini.error-log';return true;" onmouseout="window.status='';return true;">error_log</a> à la place.</p>
 
    <img src="http://feeds.feedburner.com/~r/arnaud/~4/253225750" height="1" width="1"/>]]></content:encoded>

    <pubDate>Sat, 15 Mar 2008 10:50:02 +0100</pubDate>
    <guid isPermaLink="false">http://www.limbourg.com/arnaud/blog/archives/2008/03/15/213</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.5/</creativeCommons:license>
<feedburner:origLink>http://www.limbourg.com/arnaud/blog/archives/2008/03/15/Pourquoi-il-faut-desactiver-display_errors-dans-le-php.ini-sur-les-serveurs-de-prod</feedburner:origLink></item>
<item>
    <title>Sécurité PHP5 et MySQL</title>
    <link>http://feeds.feedburner.com/~r/arnaud/~3/253225751/Securite-PHP5-et-MySQL</link>
            <category>PHP</category>
    
    <comments>http://www.limbourg.com/arnaud/blog/archives/2008/02/09/Securite-PHP5-et-MySQL#comments</comments>
    <wfw:comment>http://www.limbourg.com/arnaud/blog/wfwcomment.php?cid=212</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.limbourg.com/arnaud/blog/rss.php?version=2.0&amp;type=comments&amp;cid=212</wfw:commentRss>
    

    <author>nospam@example.com (Arnaud Limbourg)</author>
    <content:encoded><![CDATA[
    <p>Il y a quelques temps déjà <a href="http://www.limbourg.com/arnaud/blog/exit.php?url=aHR0cDovL3d3dy5uZXhlbi5uZXQ=&amp;entry_id=212" title="http://www.nexen.net"  onmouseover="window.status='http://www.nexen.net';return true;" onmouseout="window.status='';return true;">Damien Seguy</a> m'a demandé si je voulais bien faire une revue de son livre "<a href="http://www.limbourg.com/arnaud/blog/exit.php?url=aHR0cDovL3d3dy5leXJvbGxlcy5jb20vSW5mb3JtYXRpcXVlL0xpdnJlLzk3ODIyMTIxMjExNDgvbGl2cmUtc2VjdXJpdGUtcGhwLTUtZXQtbXlzcWwucGhw&amp;entry_id=212" title="http://www.eyrolles.com/Informatique/Livre/9782212121148/livre-securite-php-5-et-mysql.php"  onmouseover="window.status='http://www.eyrolles.com/Informatique/Livre/9782212121148/livre-securite-php-5-et-mysql.php';return true;" onmouseout="window.status='';return true;">Sécurité PHP5 et MySQL</a>", j'ai accepté avec grand plaisir et peu de temps après il m'a envoyé un exemplaire (la partie <em>disclaimer</em> comme disent nos amis anglo-saxons).</p>

<p>Le livre passe en revue de nombreuses considérations à prendre en compte lors du développement d'applications web. Bien sur des composantes tiennent du bon sens et sont applicables ailleurs que le web.</p>

<p>Le sommaire (repris du site <a href="http://www.limbourg.com/arnaud/blog/exit.php?url=aHR0cDovL3d3dy5leXJvbGxlcy5jb20=&amp;entry_id=212" title="http://www.eyrolles.com"  onmouseover="window.status='http://www.eyrolles.com';return true;" onmouseout="window.status='';return true;">Eyrolles</a>):</p>

<pre>
  # Risques liés aux applications web

    * Introduction à la sécurité des applications web
    * Vulnérabilités des pages web
    * Formulaires et téléchargement ; valider les données
    * Cookies et sessions

 # Mesures de sécurité pour PHP

    * Installation et configuration de PHP
    * Intégrité des scripts PHP
    * Risques liés aux bases de données
    * Vulnérabilités des base de données
    * Mesures de sécurité pour MySQL

 # Mesures de sécurité pour les technologies connexes

    * Mesures de sécurité côté serveur
    * Techniques de sécurisation des applications web
    * Mener un audit de sécurité

</pre>

<p>Le plan est clair est progressif, les aspects simples précédents les attaques plus tordues. Les auteurs rappellent à tout moment qu'il s'agit de faire un compromis entre les différents éléments d'un système dont la sécurité fait partie.</p>

<p>Si vous débutez ou n'avez jamais pris l'aspect sécurité de façon sérieuse je vous recommande vivement d'acheter cet ouvrage. Vous y apprendrez toutes les bases nécessaires.</p>

<p>Pour ceux déjà familier avec la sécurité il servira de référence. Vous pourrez aussi le laisser négligemment traîner sur votre bureau pour le porter à l'attention de vos collègues. Et enfin il vous donnera bons arguments lors des discussions avec vos responsables.</p>
 
    <img src="http://feeds.feedburner.com/~r/arnaud/~4/253225751" height="1" width="1"/>]]></content:encoded>

    <pubDate>Sat, 09 Feb 2008 10:12:01 +0100</pubDate>
    <guid isPermaLink="false">http://www.limbourg.com/arnaud/blog/archives/2008/02/09/212</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.5/</creativeCommons:license>
<feedburner:origLink>http://www.limbourg.com/arnaud/blog/archives/2008/02/09/Securite-PHP5-et-MySQL</feedburner:origLink></item>
<item>
    <title>Comment ca froid ?!?</title>
    <link>http://feeds.feedburner.com/~r/arnaud/~3/253225752/Comment-ca-froid-!</link>
            <category>General</category>
    
    <comments>http://www.limbourg.com/arnaud/blog/archives/2008/01/06/Comment-ca-froid-!#comments</comments>
    <wfw:comment>http://www.limbourg.com/arnaud/blog/wfwcomment.php?cid=211</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.limbourg.com/arnaud/blog/rss.php?version=2.0&amp;type=comments&amp;cid=211</wfw:commentRss>
    

    <author>nospam@example.com (Arnaud Limbourg)</author>
    <content:encoded><![CDATA[
    <p>Entendu aux infos, un quebecois parle de "la grande odyssée "un parcours de 1000 km dans les alpes.</p>

<blockquote>
  <p>Moins 30 c'est pas froid !
  J'suis nue-mains... Ca va être la plus grosse difficulté
  difficulté pour nous: "la chaleur"</p>
</blockquote>

<p>J'ai souri (bon ok j'ai pleuré de rire) </p>
 
    <img src="http://feeds.feedburner.com/~r/arnaud/~4/253225752" height="1" width="1"/>]]></content:encoded>

    <pubDate>Sun, 06 Jan 2008 20:35:48 +0100</pubDate>
    <guid isPermaLink="false">http://www.limbourg.com/arnaud/blog/archives/2008/01/06/211</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.5/</creativeCommons:license>
<feedburner:origLink>http://www.limbourg.com/arnaud/blog/archives/2008/01/06/Comment-ca-froid-!</feedburner:origLink></item>
<item>
    <title>Remplir des champs dates de façon aléatoire dans MySQL</title>
    <link>http://feeds.feedburner.com/~r/arnaud/~3/253225753/Remplir-des-champs-dates-de-facon-aleatoire-dans-MySQL</link>
            <category>Dev</category>
    
    <comments>http://www.limbourg.com/arnaud/blog/archives/2008/01/03/Remplir-des-champs-dates-de-facon-aleatoire-dans-MySQL#comments</comments>
    <wfw:comment>http://www.limbourg.com/arnaud/blog/wfwcomment.php?cid=210</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.limbourg.com/arnaud/blog/rss.php?version=2.0&amp;type=comments&amp;cid=210</wfw:commentRss>
    

    <author>nospam@example.com (Arnaud Limbourg)</author>
    <content:encoded><![CDATA[
    <p>Il arrive souvent d'avoir besoin de données présentes dans la base. Il est tout aussi courant de ne pas avoir de données à disposition (ou pas assez).</p>

<p>Basé sur <a href="http://www.limbourg.com/arnaud/blog/exit.php?url=aHR0cDovL2RhdGFjaGFybWVyLmJsb2dzcG90LmNvbS8yMDA3LzEyL2RhdGEtZnJvbS1ub3RoaW5nLXNvbHV0aW9uLXRvLXBvcC1xdWl6Lmh0bWw=&amp;entry_id=210" title="http://datacharmer.blogspot.com/2007/12/data-from-nothing-solution-to-pop-quiz.html"  onmouseover="window.status='http://datacharmer.blogspot.com/2007/12/data-from-nothing-solution-to-pop-quiz.html';return true;" onmouseout="window.status='';return true;">ce billet</a>, les deux requêtes suivantes vous permettent de remplir un champ de type "date" avec des dates a peu près aléatoire pour autant d'enregistrement que vous voulez. Il vous suffit de créer plus de vues ou d'ajouter la même vue dans le "from" avec des alias pour augmenter le nombre d'enregistrement (c'est un produit cartésien).</p>

<p>Le code suivant génère des dates pour 9 enregistrements sur le plus petit dénominateur commun, à savoir un mois de 28 jours. L'année est mise en dur dans la requête, vous pouvez aisément la remplacer.</p>

<p><div class="sql" style="text-align: left"><br /><span style="color: #993333; font-weight: bold;">CREATE</span> <span style="color: #993333; font-weight: bold;">VIEW</span> v3 <span style="color: #993333; font-weight: bold;">AS</span> <span style="color: #993333; font-weight: bold;">SELECT</span> <span style="color: #993333; font-weight: bold;">NULL</span> union <span style="color: #993333; font-weight: bold;">ALL</span> <span style="color: #993333; font-weight: bold;">SELECT</span> <span style="color: #993333; font-weight: bold;">NULL</span> union <span style="color: #993333; font-weight: bold;">ALL</span> <span style="color: #993333; font-weight: bold;">SELECT</span> <span style="color: #993333; font-weight: bold;">NULL</span>;<br /><span style="color: #993333; font-weight: bold;">INSERT</span> <span style="color: #993333; font-weight: bold;">INTO</span> t1 <span style="color: #66cc66;">&#40;</span>date<span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">SELECT</span> concat<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'2007-'</span>, FLOOR<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">1</span>&#160; + RAND<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> * <span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">12</span> - <span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>, <span style="color: #ff0000;">'-'</span>, FLOOR<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">1</span>&#160; + RAND<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> * <span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">28</span> - <span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">FROM</span> v3 a,v3 b;<br />&#160;</div></p>

<p>Note: ce n'est pas la façon la plus élégante ni la plus efficace pour les dates mais ça fonctionne <img src="http://www.limbourg.com/arnaud/blog/templates/default/img/emoticons/smile.png" alt=":-)" style="display: inline; vertical-align: bottom;" class="emoticon" /></p>
 
    <img src="http://feeds.feedburner.com/~r/arnaud/~4/253225753" height="1" width="1"/>]]></content:encoded>

    <pubDate>Thu, 03 Jan 2008 10:23:27 +0100</pubDate>
    <guid isPermaLink="false">http://www.limbourg.com/arnaud/blog/archives/2008/01/03/210</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.5/</creativeCommons:license>
<feedburner:origLink>http://www.limbourg.com/arnaud/blog/archives/2008/01/03/Remplir-des-champs-dates-de-facon-aleatoire-dans-MySQL</feedburner:origLink></item>
<item>
    <title>Sécurité et applications "closed source"</title>
    <link>http://feeds.feedburner.com/~r/arnaud/~3/253225754/Securite-et-applications-closed-source</link>
            <category>PHP</category>
    
    <comments>http://www.limbourg.com/arnaud/blog/archives/2007/12/31/Securite-et-applications-closed-source#comments</comments>
    <wfw:comment>http://www.limbourg.com/arnaud/blog/wfwcomment.php?cid=209</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://www.limbourg.com/arnaud/blog/rss.php?version=2.0&amp;type=comments&amp;cid=209</wfw:commentRss>
    

    <author>nospam@example.com (Arnaud Limbourg)</author>
    <content:encoded><![CDATA[
    <p>Lu sur la page d'un framework MVC </p>

<p>"Closed source applications are generally more secure, by limiting access to the original source we reduce the ability to have [it] exploited."</p>

<p>J'ai de sérieux doutes  quand au bien-fondé d'une telle remarque. La citation suivante illustre bien le contre-argument</p>

<blockquote>
  <p>As a cryptography and computer security expert, I have never understood
  the current fuss about the open source software movement. In the
  cryptography world, we consider open source necessary for good
  security; we have for decades. Public security is always more secure
  than proprietary security. It's true for cryptographic algorithms,
  security protocols, and security source code. For us, open source isn't
  just a business model; it's smart engineering practice.</p>
</blockquote>

<p><cite>Bruce Schneier</cite> in Crypto-Gram Newsletter, <a href="http://www.limbourg.com/arnaud/blog/exit.php?url=aHR0cDovL3d3dy5zY2huZWllci5jb20vY3J5cHRvLWdyYW0tOTkwOS5odG1s&amp;entry_id=209" title="http://www.schneier.com/crypto-gram-9909.html"  onmouseover="window.status='http://www.schneier.com/crypto-gram-9909.html';return true;" onmouseout="window.status='';return true;">http://www.schneier.com/crypto-gram-9909.html</a></p>

<p>L'idée est que la sécurité est bien meilleure lorsque de nombreuses personnes peuvent analyser les mécanismes utilisés or, dans le cas de code propriétaire, le nombre de paires d'yeux conduisant une analyse est bien moins important. La conclusion logique est que la sécurité est moindre.</p>

<p>Cela n'a rien de bien nouveau en soi mais je suis surpris que l'on puisse encore lire de tels arguments. </p>

<p>Je me suis aperçu plus tard le site n'a pas vu de mise à jour depuis un an et demi et donne tous les signes d'une mort clinique. L'argument de la meilleure sécurité ne leur a pas réussi apparemment. </p>
 
    <img src="http://feeds.feedburner.com/~r/arnaud/~4/253225754" height="1" width="1"/>]]></content:encoded>

    <pubDate>Mon, 31 Dec 2007 15:37:22 +0100</pubDate>
    <guid isPermaLink="false">http://www.limbourg.com/arnaud/blog/archives/2007/12/31/209</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.5/</creativeCommons:license>
<feedburner:origLink>http://www.limbourg.com/arnaud/blog/archives/2007/12/31/Securite-et-applications-closed-source</feedburner:origLink></item>
<item>
    <title>Comment ca s'écrit noël ?</title>
    <link>http://feeds.feedburner.com/~r/arnaud/~3/253225755/Comment-ca-secrit-nol</link>
            <category>General</category>
    
    <comments>http://www.limbourg.com/arnaud/blog/archives/2007/12/24/Comment-ca-secrit-nol#comments</comments>
    <wfw:comment>http://www.limbourg.com/arnaud/blog/wfwcomment.php?cid=208</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://www.limbourg.com/arnaud/blog/rss.php?version=2.0&amp;type=comments&amp;cid=208</wfw:commentRss>
    

    <author>nospam@example.com (Arnaud Limbourg)</author>
    <content:encoded><![CDATA[
    <p>Entendu aux Galeries Lafayette à l'une des caisses, une vendeuse posait cette question à un collègue.</p>

<p>J'en profite pour vous souhaiter de bonnes fêtes ! </p>
 
    <img src="http://feeds.feedburner.com/~r/arnaud/~4/253225755" height="1" width="1"/>]]></content:encoded>

    <pubDate>Mon, 24 Dec 2007 17:10:50 +0100</pubDate>
    <guid isPermaLink="false">http://www.limbourg.com/arnaud/blog/archives/2007/12/24/208</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.5/</creativeCommons:license>
<feedburner:origLink>http://www.limbourg.com/arnaud/blog/archives/2007/12/24/Comment-ca-secrit-nol</feedburner:origLink></item>
<item>
    <title>Les podcasts du Forum PHP 2007</title>
    <link>http://feeds.feedburner.com/~r/arnaud/~3/253225756/Les-podcasts-du-Forum-PHP-2007</link>
            <category>Conferences</category>
    
    <comments>http://www.limbourg.com/arnaud/blog/archives/2007/11/26/Les-podcasts-du-Forum-PHP-2007#comments</comments>
    <wfw:comment>http://www.limbourg.com/arnaud/blog/wfwcomment.php?cid=207</wfw:comment>

    <slash:comments>4</slash:comments>
    <wfw:commentRss>http://www.limbourg.com/arnaud/blog/rss.php?version=2.0&amp;type=comments&amp;cid=207</wfw:commentRss>
    

    <author>nospam@example.com (Arnaud Limbourg)</author>
    <content:encoded><![CDATA[
    <p>L'AFUP propose cette année les podcasts des conférences. Les workshops ne sont pas concernés, de par leur nature ils sont peu intéressant à écouter.</p>

<p>Vous pouvez vous abonner au flux en suivant ce lien: <a href="http://www.limbourg.com/arnaud/blog/exit.php?url=aHR0cDovL2ZlZWRzLmZlZWRidXJuZXIuY29tL2ZvcnVtcGhwMjAwNw==&amp;entry_id=207" title="http://feeds.feedburner.com/forumphp2007"  onmouseover="window.status='http://feeds.feedburner.com/forumphp2007';return true;" onmouseout="window.status='';return true;">http://feeds.feedburner.com/forumphp2007</a></p>

<p>Les résumés: <a href="http://www.limbourg.com/arnaud/blog/exit.php?url=aHR0cDovL2FmdXAub3JnL3BhZ2VzL2ZvcnVtcGhwMjAwNy9yZXN1bWVzLnBocA==&amp;entry_id=207" title="http://afup.org/pages/forumphp2007/resumes.php"  onmouseover="window.status='http://afup.org/pages/forumphp2007/resumes.php';return true;" onmouseout="window.status='';return true;">http://afup.org/pages/forumphp2007/resumes.php</a></p>

<p>MaJ 26 novembre: trois conférences sont disponibles sur le flux ainsi que sur la page de résumé des sessions.</p>

<p>MaJ 3 décembre: Trois nouveaux podcast sont disponibles.</p>

<p>MaJ: 17 décembre: de nouvelles conférences sont disponibles sur le podcast ! </p>
 
    <img src="http://feeds.feedburner.com/~r/arnaud/~4/253225756" height="1" width="1"/>]]></content:encoded>

    <pubDate>Mon, 26 Nov 2007 00:03:53 +0100</pubDate>
    <guid isPermaLink="false">http://www.limbourg.com/arnaud/blog/archives/2007/11/26/207</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.5/</creativeCommons:license>
<feedburner:origLink>http://www.limbourg.com/arnaud/blog/archives/2007/11/26/Les-podcasts-du-Forum-PHP-2007</feedburner:origLink></item>
<item>
    <title>WAMP2</title>
    <link>http://feeds.feedburner.com/~r/arnaud/~3/253225757/WAMP2</link>
            <category>Outils</category>
            <category>PHP</category>
    
    <comments>http://www.limbourg.com/arnaud/blog/archives/2007/11/23/WAMP2#comments</comments>
    <wfw:comment>http://www.limbourg.com/arnaud/blog/wfwcomment.php?cid=206</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.limbourg.com/arnaud/blog/rss.php?version=2.0&amp;type=comments&amp;cid=206</wfw:commentRss>
    

    <author>nospam@example.com (Arnaud Limbourg)</author>
    <content:encoded><![CDATA[
    <p>A l'occasion du forum Romain Bourdon à annoncé la sortie de WAMP2 qui permet notamment d'installer des versions différentes de PHP et MySQL, tous les détails sont sur</p>

<p><a href="http://www.limbourg.com/arnaud/blog/exit.php?url=aHR0cDovL3d3dy53YW1wc2VydmVyLmNvbQ==&amp;entry_id=206" title="http://www.wampserver.com"  onmouseover="window.status='http://www.wampserver.com';return true;" onmouseout="window.status='';return true;">http://www.wampserver.com</a></p>
 
    <img src="http://feeds.feedburner.com/~r/arnaud/~4/253225757" height="1" width="1"/>]]></content:encoded>

    <pubDate>Fri, 23 Nov 2007 10:11:43 +0100</pubDate>
    <guid isPermaLink="false">http://www.limbourg.com/arnaud/blog/archives/2007/11/23/206</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.5/</creativeCommons:license>
<feedburner:origLink>http://www.limbourg.com/arnaud/blog/archives/2007/11/23/WAMP2</feedburner:origLink></item>
<item>
    <title>Rappel: Forum PHP les 21 et 22 novembre 2007</title>
    <link>http://feeds.feedburner.com/~r/arnaud/~3/253225758/Rappel-Forum-PHP-les-21-et-22-novembre-2007</link>
            <category>Conferences</category>
    
    <comments>http://www.limbourg.com/arnaud/blog/archives/2007/10/29/Rappel-Forum-PHP-les-21-et-22-novembre-2007#comments</comments>
    <wfw:comment>http://www.limbourg.com/arnaud/blog/wfwcomment.php?cid=205</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.limbourg.com/arnaud/blog/rss.php?version=2.0&amp;type=comments&amp;cid=205</wfw:commentRss>
    

    <author>nospam@example.com (Arnaud Limbourg)</author>
    <content:encoded><![CDATA[
    <p><img src="http://www.limbourg.com/arnaud/blog/uploads/images/forum-present-2007.png" alt="Forum PHP 2007 les 21 et 22 novembre 2007" /> Nous vous attendons <img src="http://www.limbourg.com/arnaud/blog/templates/default/img/emoticons/smile.png" alt=":-)" style="display: inline; vertical-align: bottom;" class="emoticon" /></p>

<p><a href="http://www.limbourg.com/arnaud/blog/exit.php?url=aHR0cDovL3d3dy5hZnVwLm9yZy9mb3J1bXBocA==&amp;entry_id=205" title="http://www.afup.org/forumphp"  onmouseover="window.status='http://www.afup.org/forumphp';return true;" onmouseout="window.status='';return true;">http://www.afup.org/forumphp</a> </p>
 
    <img src="http://feeds.feedburner.com/~r/arnaud/~4/253225758" height="1" width="1"/>]]></content:encoded>

    <pubDate>Mon, 29 Oct 2007 23:25:16 +0100</pubDate>
    <guid isPermaLink="false">http://www.limbourg.com/arnaud/blog/archives/2007/10/29/205</guid>
    <creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/2.5/</creativeCommons:license>
<feedburner:origLink>http://www.limbourg.com/arnaud/blog/archives/2007/10/29/Rappel-Forum-PHP-les-21-et-22-novembre-2007</feedburner:origLink></item>

</channel>
</rss>
