<?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>Naeh.net &#187; développement</title>
	<atom:link href="http://naeh.net/tag/developpement/feed/" rel="self" type="application/rss+xml" />
	<link>http://naeh.net</link>
	<description>Le mémo du développeur</description>
	<lastBuildDate>Mon, 06 Sep 2010 20:44:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>La dure vie du développeur web</title>
		<link>http://naeh.net/la-dure-vie-du-developpeur-web/</link>
		<comments>http://naeh.net/la-dure-vie-du-developpeur-web/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 21:51:56 +0000</pubDate>
		<dc:creator>Naeh</dc:creator>
				<category><![CDATA[Divers]]></category>
		<category><![CDATA[développement]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://naeh.net/?p=126</guid>
		<description><![CDATA[une excellente parodie en l'honneur des développeurs web, dont je fais fièrement partie :D

le site e-commerce à 400€ c'est trop fort :-)
]]></description>
			<content:encoded><![CDATA[<p>une excellente parodie en l'honneur des développeurs web, dont je fais fièrement partie :D</p>
<p><center><object width="480" height="275"><param name="movie" value="http://www.dailymotion.com/swf/xbfjlq&#038;related=0"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.dailymotion.com/swf/xbfjlq&#038;related=0" type="application/x-shockwave-flash" width="480" height="275" allowfullscreen="true" allowscriptaccess="always"></embed></object></center></p>
<p>le site e-commerce à 400€ c'est trop fort :-)</p>
]]></content:encoded>
			<wfw:commentRss>http://naeh.net/la-dure-vie-du-developpeur-web/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Géolocalisation avec l&#8217;API Google et PHP</title>
		<link>http://naeh.net/geolocalisation-avec-lapi-google-et-php/</link>
		<comments>http://naeh.net/geolocalisation-avec-lapi-google-et-php/#comments</comments>
		<pubDate>Wed, 27 Feb 2008 14:05:43 +0000</pubDate>
		<dc:creator>Naeh</dc:creator>
				<category><![CDATA[PHP / MySQL]]></category>
		<category><![CDATA[Programmation]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[développement]]></category>
		<category><![CDATA[geoloc]]></category>
		<category><![CDATA[geolocalisation]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://naeh.net/geolocalisation-avec-lapi-google-et-php/</guid>
		<description><![CDATA[Parmi tous les services que propose les API google, on peut trouver des choses assez intéressantes, surtout en terme de géolocalisation avec l'API google maps et surtout très pratiques, dernièrement j'ai eu l'occasion de travailler avec le web service de géolocalisation, un outil très simple à utiliser et très pratique.
le but de la manipulation est [...]]]></description>
			<content:encoded><![CDATA[<p>Parmi tous les services que propose les <a href="http://code.google.com/more/#label=APIs">API google</a>, on peut trouver des choses assez intéressantes, surtout en terme de géolocalisation avec l'API google maps et surtout très pratiques, dernièrement j'ai eu l'occasion de travailler avec le <a href="http://code.google.com/apis/maps/documentation/services.html#Geocoding_Direct">web service de géolocalisation</a>, un outil très simple à utiliser et très pratique.</p>
<p>le but de la manipulation est d'obtenir la latitude et la longitude d'un point à partir de son adresse, pour cela, rien de bien méchant :</p>

<div class="wp_codebox"><table><tr id="p452"><td class="code" id="p45code2"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$address</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'notre adresse'</span> <span style="color: #666666; font-style: italic;">//exemple : 5 rue du taur 31000 Toulouse</span>
&nbsp;
<span style="color: #000088;">$request</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'http://maps.google.com/maps/geo?'</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$request</span> <span style="color: #339933;">.=</span><span style="color: #0000ff;">'q='</span><span style="color: #339933;">.</span><a href="http://www.php.net/urlencode"><span style="color: #990000;">urlencode</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$address</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$request</span> <span style="color: #339933;">.=</span><span style="color: #0000ff;">'&amp;key='</span><span style="color: #339933;">.</span>GOOGLE_API_KEY <span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// Vous devez en avoir une comme pour toutes les API google.</span>
<span style="color: #000088;">$request</span> <span style="color: #339933;">.=</span><span style="color: #0000ff;">'&amp;output=csv'</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// on peut choisir d'autres format, c'est très bien expliqué dans lien du web service</span>
&nbsp;
<span style="color: #000088;">$response</span> <span style="color: #339933;">=</span> <span style="color: #339933;">@</span><a href="http://www.php.net/file_get_contents"><span style="color: #990000;">file_get_contents</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$request</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// notre réponse est composée de 4 parties.</span>
&nbsp;
<span style="color: #666666; font-style: italic;">//exemple de réponse : 200,6,42.730070,-73.690570</span>
<span style="color: #666666; font-style: italic;">//200 code réponse (200 =&gt; ok)</span>
<span style="color: #666666; font-style: italic;">//6 degré de précision</span>
<span style="color: #666666; font-style: italic;">//et les deux dernier sont les coordonnées du point que nous cherchons a géolocaliser.</span></pre></td></tr></table></div>

<p>et voilà avec ce bout de code très simple nous avons géolocalisé une adresse postale, chose très pratique, mais n'oublier pas la limitation qu'impose Google (50 000 requêtes par tranche de 24 heures).</p>
]]></content:encoded>
			<wfw:commentRss>http://naeh.net/geolocalisation-avec-lapi-google-et-php/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Spécifications W3C</title>
		<link>http://naeh.net/specification-et-normes-web/</link>
		<comments>http://naeh.net/specification-et-normes-web/#comments</comments>
		<pubDate>Sat, 22 Dec 2007 11:17:42 +0000</pubDate>
		<dc:creator>Naeh</dc:creator>
				<category><![CDATA[Divers]]></category>
		<category><![CDATA[accessibilité]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[développement]]></category>
		<category><![CDATA[DOM]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[net]]></category>
		<category><![CDATA[page]]></category>
		<category><![CDATA[site]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://naeh.net/specification-et-normes-web/</guid>
		<description><![CDATA[Sur cette page sont présents des liens vers les textes des normes w3c et autres, ainsi que les liens vers les traductions lorsqu'elle sont disponibles.
(X)HTML

HTML 4.01 Specification, traduction : Spécification HTML 4.01
XHTML 1.0 The Extensible HyperText Markup Language, traduction : XHTML 1.0 : Le langage de balisage hypertexte extensible
XHTML Basic, traduction : XHTML Elémentaire
XHTML 1.1 [...]]]></description>
			<content:encoded><![CDATA[<p>Sur cette page sont présents des liens vers les textes des normes w3c et autres, ainsi que les liens vers les traductions lorsqu'elle sont disponibles.</p>
<h3>(X)HTML</h3>
<ul>
<li><a href="http://www.w3.org/TR/html401/" target="_blank">HTML 4.01 Specification</a>, traduction : <a href="http://www.la-grange.net/w3c/html4.01/" target="_blank">Spécification HTML 4.01</a></li>
<li><a href="http://www.w3.org/TR/xhtml1/" target="_blank">XHTML 1.0 The Extensible HyperText Markup Language</a>, traduction : <a href="http://www.la-grange.net/w3c/xhtml1/" target="_blank">XHTML 1.0 : Le langage de balisage hypertexte extensible</a></li>
<li><a href="http://www.w3.org/TR/xhtml-basic/" target="_blank">XHTML Basic</a>, traduction : <a href="http://www.la-grange.net/w3c/REC-xhtml-basic/" target="_blank">XHTML Elémentaire</a></li>
<li><a href="http://www.w3.org/TR/xhtml11/" target="_blank">XHTML 1.1 - Module-based XHTML</a> , traduction : <a href="http://www.la-grange.net/w3c/xhtml11/" target="_blank">XHTML 1.1 - XHTML modulaire.</a></li>
</ul>
<h3>CSS</h3>
<ul>
<li><a href="http://www.w3.org/TR/REC-CSS1" target="_blank">Cascading Style Sheets, level 1</a>, traduction : <a href="http://www.yoyodesign.org/doc/w3c/css1/index.html" target="_blank">CSS1</a></li>
<li><a href="http://www.w3.org/TR/REC-CSS2/" target="_blank">Cascading Style Sheets, level 2</a>, traduction : <a href="http://www.yoyodesign.org/doc/w3c/css2/cover.html" target="_blank">CSS2</a></li>
</ul>
<h3>Accessibilité</h3>
<ul>
<li><a href="http://www.w3.org/TR/WAI-WEBCONTENT/" target="_blank">Web Content Accessibility Guidelines 1.0</a>, traduction : <a href="http://www.la-grange.net/w3c/wcag1/wai-pageauth.html" target="_blank">Directives pour l'accessibilité aux contenus Web (version 1.0)</a></li>
<li><a href="http://www.w3.org/TR/WAI-WEBCONTENT-TECHS/" target="_blank">Techniques for Web Content Accessibility Guidelines 1.0</a>, traduction : <a href="http://www.la-grange.net/w3c/WAI-WEBCONTENT-TECHS/" target="_blank">Techniques pour les règles d'accessibilité du contenu Web 1.0</a></li>
<li><a href="http://www.w3.org/WAI/gettingstarted/Overview.html.en" target="_blank">Getting Started : Making a Web Site Accessible</a>, traduction : <a href="http://www.w3.org/WAI/gettingstarted/Overview.html.fr" target="_blank">Premiers pas pour rendre un site Web accessible</a></li>
<li><a href="http://www.w3.org/WAI/References/QuickTips/" target="_blank">WAI Quick Tips Reference Card</a>, traduction : <a href="http://www.w3.org/WAI/References/QuickTips/qt.fr.htm" target="_blank">Conseils pour faire des sites Web accessibles</a></li>
</ul>
<h3>DOM</h3>
<ul>
<li><a href="http://www.w3.org/TR/REC-DOM-Level-1/" target="_blank">Document Object Model Level 1 Specification</a>, traduction : <a href="http://xmlfr.org/w3c/TR/REC-DOM-Level-1/" target="_blank">Modèle Objet de Documents Spécification niveau 1</a></li>
<li><a href="http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113/" target="_blank">Document Object Model Level 2 Core Specification</a></li>
<li><a href="http://www.w3.org/TR/2000/REC-DOM-Level-2-Views-20001113/" target="_blank">Document Object Model Level 2 Views Specification</a></li>
<li><a href="http://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113/" target="_blank">Document Object Model Level 2 Events Specification</a></li>
<li><a href="http://www.w3.org/TR/2000/REC-DOM-Level-2-Style-20001113/" target="_blank">Document Object Model Level 2 Style Specification</a></li>
<li><a href="http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113/" target="_blank">Document Object Model Level 2 Traversal and Range Specification</a></li>
<li><a href="http://www.w3.org/TR/2003/REC-DOM-Level-2-HTML-20030109/" target="_blank">Document Object Model Level 2 HTML Specification</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://naeh.net/specification-et-normes-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>L&#8217;internationalisation en extension PHP</title>
		<link>http://naeh.net/linternationalisation-en-extension-php/</link>
		<comments>http://naeh.net/linternationalisation-en-extension-php/#comments</comments>
		<pubDate>Sat, 15 Dec 2007 18:52:45 +0000</pubDate>
		<dc:creator>Naeh</dc:creator>
				<category><![CDATA[PHP / MySQL]]></category>
		<category><![CDATA[développement]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[internationalisation]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[langue]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[Programmation]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://naeh.net/index.php/linternationalisation-en-extension-php/</guid>
		<description><![CDATA[L'extension d'internationalisation est de localisation de PHP vient d'être annoncée en version Bêta, elle sera incluse dans PHP 5.3 (encore en développement).
Voici les premières classes disponibles :

Collator : Manipulation de chaînes ;
NumberFormatter : Manipulation de nombres ;
Locale : Informations sur la Locale ;
Normalizer : Uniformisation de texte en fonction de la locale ;
MessageFormatter : Construction [...]]]></description>
			<content:encoded><![CDATA[<p>L'extension d'internationalisation est de localisation de PHP vient d'être annoncée en version Bêta, elle sera incluse dans PHP 5.3 (encore en développement).</p>
<p>Voici les premières classes disponibles :</p>
<ul>
<li><strong>Collator</strong> : Manipulation de chaînes ;</li>
<li><strong>NumberFormatter</strong> : Manipulation de nombres ;</li>
<li><strong>Locale</strong> : Informations sur la Locale ;</li>
<li><strong>Normalizer</strong> : Uniformisation de texte en fonction de la locale ;</li>
<li><strong>MessageFormatter</strong> : Construction abstraite de texte à partir des autres objets de l'extension.</li>
</ul>
<p>Collator et FormatNumber permettent de travailler avec des chaînes et avec des nombres, de manière indépendante de la langue (ex : "français") et de la localisation (ex : "fr-CA" ou "fr-FR").<br />
Locale et Normalizer permettent d'intéragir plus en détail avec la localisation et avec du texte <em>localisé</em>.<br />
MessageFormatter est le maître d'orchestre, un nouveau sprintf() en quelque sorte.</p>
<p>L'annonce : <a href="http://php100.wordpress.com/2007/12/12/icuphplove/">http://php100.wordpress.com/2007/12/12/icuphplove/</a><br />
La documentation : <a href="http://docs.php.net/manual/en/book.intl.php">http://docs.php.net/manual/en/book.intl.php</a><br />
Téléchargement : <a href="http://pecl.php.net/package/intl">http://pecl.php.net/package/intl</a></p>
<p>Source : <a href="http://blog.developpez.com/index.php?blog=102&amp;title=l_internationalisation_arrive_enfin_en_e&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1" target="_blank">Developpez.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://naeh.net/linternationalisation-en-extension-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Planète PHP</title>
		<link>http://naeh.net/planete-php/</link>
		<comments>http://naeh.net/planete-php/#comments</comments>
		<pubDate>Thu, 13 Dec 2007 22:15:19 +0000</pubDate>
		<dc:creator>Naeh</dc:creator>
				<category><![CDATA[Divers]]></category>
		<category><![CDATA[développement]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[Zend]]></category>

		<guid isPermaLink="false">http://naeh.net/index.php/planete-php/</guid>
		<description><![CDATA[L'Association des Utilisateurs de PHP (AFUP) propose dès aujourd'hui un nouveau site 'Planète PHP'.
Ce nouveau site regroupe l'ensemble des blogs et sites francophones parlant surtout de PHP.
Un très bon site dont la plus part des blogs partenaires sont très actifs sur la scene PHP. Un site complémentaire du site de Nexen.net
Planete PHP
]]></description>
			<content:encoded><![CDATA[<p>L'Association des Utilisateurs de PHP (AFUP) propose dès aujourd'hui un nouveau site 'Planète PHP'.</p>
<p>Ce nouveau site regroupe l'ensemble des blogs et sites francophones parlant surtout de PHP.</p>
<p>Un très bon site dont la plus part des blogs partenaires sont très actifs sur la scene PHP. Un site complémentaire du site de <a href="http://nexen.net" target="_blank">Nexen.net</a></p>
<p><a href="http://www.planete-php.fr/" target="_blank">Planete PHP</a></p>
]]></content:encoded>
			<wfw:commentRss>http://naeh.net/planete-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nexen : 33,29% des sites Web sous PHP en novembre 2007</title>
		<link>http://naeh.net/nexen-3329-des-sites-web-sous-php-en-novembre-2007/</link>
		<comments>http://naeh.net/nexen-3329-des-sites-web-sous-php-en-novembre-2007/#comments</comments>
		<pubDate>Tue, 11 Dec 2007 13:02:45 +0000</pubDate>
		<dc:creator>Naeh</dc:creator>
				<category><![CDATA[PHP / MySQL]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[développement]]></category>
		<category><![CDATA[Nexen]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[site]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[Zend]]></category>

		<guid isPermaLink="false">http://naeh.net/index.php/nexen-3329-des-sites-web-sous-php-en-novembre-2007/</guid>
		<description><![CDATA[es statistiques de diffusion PHP dans le monde pour novembre 2007 sont arrivées chez Nexen. PHP 5 toujours vigoureux, atteint la barre des 26 %. PHP 4.3 devrait lui passer derrière PHP 5.2 dans les prochains mois
28.7 millions de serveurs ont été testés durant le mois de novembre 2007, et 11.2 millions ont été retenus [...]]]></description>
			<content:encoded><![CDATA[<p>es statistiques de diffusion PHP dans le monde pour novembre 2007 sont arrivées chez Nexen. PHP 5 toujours vigoureux, atteint la barre des 26 %. PHP 4.3 devrait lui passer derrière PHP 5.2 dans les prochains mois</p>
<p>28.7 millions de serveurs ont été testés durant le mois de novembre 2007, et 11.2 millions ont été retenus pour les statistiques. On remarque que PHP 5.2.x perdent du terrain, au profit de PHP 5.2.4. Autrement, PHP 4.4.x perd souvent des utilisateurs, sauf PHP 4.4.7.</p>
<p>PHP est présent sur 33,29% des sites Web au mois de novembre 2007. Les chiffres sont stables depuis le mois dernier, pour PHP comme pour ASP. La moyenne mondiale est de 26,13 % pour PHP 5.</p>
<ul>
<li><a href="http://www.nexen.net/chiffres_cles/phpversion/17876-evolution_de_php_sur_internet_novembre_2007.php" target="_blank">Evolution de PHP sur Internet (novembre 2007)</a></li>
<li><a href="http://www.nexen.net/chiffres_cles/phpversion/17877-statistiques_de_deploiement_de_php_de_novembre_2007.php" target="_blank">Statistiques de déploiement de PHP de novembre 2007</a></li>
</ul>
<p>Source : <a href="http://www.toolinux.com" target="_blank">Toolinux.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://naeh.net/nexen-3329-des-sites-web-sous-php-en-novembre-2007/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quelques astuces pour l&#8217;utilisation de tous les jours</title>
		<link>http://naeh.net/quelques-astuces-pour-lutilisation-de-tous-les-jours/</link>
		<comments>http://naeh.net/quelques-astuces-pour-lutilisation-de-tous-les-jours/#comments</comments>
		<pubDate>Thu, 04 Jan 2007 21:46:48 +0000</pubDate>
		<dc:creator>Naeh</dc:creator>
				<category><![CDATA[PHP / MySQL]]></category>
		<category><![CDATA[astuce]]></category>
		<category><![CDATA[développement]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Programmation]]></category>
		<category><![CDATA[tuto]]></category>
		<category><![CDATA[utilisation]]></category>

		<guid isPermaLink="false">http://wp.naeh.info/?p=15</guid>
		<description><![CDATA[Ici nous allons voir quelques astuces pratiques que tout programmeur voudrait utiliser dans ses applications, des astuces simples, mais bien sur qui peuvent être évoluées en fonction des besoins.
Afficher une date Mysql en format Français :
Les date dans mysql sont dans un format US (exemple : 2007-01-13 22:09:42) nous allons voir comment transformer ceci en [...]]]></description>
			<content:encoded><![CDATA[<p>Ici nous allons voir quelques astuces pratiques que tout programmeur voudrait utiliser dans ses applications, des astuces simples, mais bien sur qui peuvent être évoluées en fonction des besoins.</p>
<p><strong>Afficher une date Mysql en format Français :</strong></p>
<p>Les date dans mysql sont dans un format US (exemple : <strong>2007-01-13 22:09:42</strong>) nous allons voir comment transformer ceci en : <strong>13/01/2007 à 22:09:42</strong></p>
<p><em>$date_mysql est au format DATETIME dans mysql.</em></p>

<div class="wp_codebox"><table><tr id="p157"><td class="code" id="p15code7"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$date_fr</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/date"><span style="color: #990000;">date</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;d/m/Y à H:i:s&quot;</span><span style="color: #339933;">,</span> <a href="http://www.php.net/strtotime"><span style="color: #990000;">strtotime</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$date_mysql</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span></pre></td></tr></table></div>

<p><em>$date_fr correspond à ce que nous voulons afficher.</em></p>
<p>Pour plus d'informations voir <a href="http://fr.php.net/manual/fr/function.date.php" target="_blank">http://fr.php.net/manual/fr/function.date.php</a></p>
<p><strong>Jouer avec les majuscules / minuscules :</strong></p>
<p>Nous allons voir comment rendre plus joli l'affichage de nos textes, pratique pour les titres par exemple, mais chacun trouvera une utilisation personnalisée =)</p>
<p>Afficher la première lettre d'un mot en majuscule :</p>

<div class="wp_codebox"><table><tr id="p158"><td class="code" id="p15code8"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">echo</span> <a href="http://www.php.net/ucfirst"><span style="color: #990000;">ucfirst</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;bonjour tout le monde&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>     <span style="color: #666666; font-style: italic;">// affichera : Bonjour tout le monde</span></pre></td></tr></table></div>

<p>Afficher les premières lettres de tous les mots en majuscule:</p>

<div class="wp_codebox"><table><tr id="p159"><td class="code" id="p15code9"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">echo</span> <a href="http://www.php.net/ucwords"><span style="color: #990000;">ucwords</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;bonjour tout le monde&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>     <span style="color: #666666; font-style: italic;">// affichera : Bonjour Tout Le Monde</span></pre></td></tr></table></div>

<p>Afficher tout en majuscule / minuscule :</p>

<div class="wp_codebox"><table><tr id="p1510"><td class="code" id="p15code10"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">echo</span> <a href="http://www.php.net/strtoupper"><span style="color: #990000;">strtoupper</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;bonjour tout le monde&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>     <span style="color: #666666; font-style: italic;">// affichera : BONJOUR TOUT LE MONDE</span>
&nbsp;
<span style="color: #b1b100;">echo</span> <a href="http://www.php.net/strtolower"><span style="color: #990000;">strtolower</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;BONjour Tout le mONde&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>     <span style="color: #666666; font-style: italic;">// affichera : bonjour tout le monde</span></pre></td></tr></table></div>

<p>Pour plus d'informations voir : <a href="http://fr.php.net/manual/fr/function.strtolower.php" target="_blank">http://fr.php.net/manual/fr/function.strtolower.php</a> (voir également les autres fonctions)</p>
]]></content:encoded>
			<wfw:commentRss>http://naeh.net/quelques-astuces-pour-lutilisation-de-tous-les-jours/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
