<?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>るるろぐてくにかる。 :: LULU-LOG-technical &#187; php</title>
	<atom:link href="http://itblog.liolion.info/category/php/feed" rel="self" type="application/rss+xml" />
	<link>http://itblog.liolion.info</link>
	<description>パソコン、インターネット、HTML、CSS、また、アプリケーション等について、書いています。</description>
	<lastBuildDate>Tue, 16 Mar 2010 10:17:41 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>今日初めて覚えたphpの条件分岐処理（笑）</title>
		<link>http://itblog.liolion.info/2008/07/23/427</link>
		<comments>http://itblog.liolion.info/2008/07/23/427#comments</comments>
		<pubDate>Wed, 23 Jul 2008 13:13:34 +0000</pubDate>
		<dc:creator>MEGU</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://blog.liolion.info/2008/07/23/%e4%bb%8a%e6%97%a5%e5%88%9d%e3%82%81%e3%81%a6%e8%a6%9a%e3%81%88%e3%81%9fphp%e3%81%ae%e6%9d%a1%e4%bb%b6%e5%88%86%e5%b2%90%e5%87%a6%e7%90%86%ef%bc%88%e7%ac%91%ef%bc%89/</guid>
		<description><![CDATA[条件分岐は、前から好きだったが&#8230;（笑）。MODxは、php 知らんでも、よく使えるので、あまり、勉強しようという気にならなかったのだが（本は買ったけど）、今日はどうしても必要になった。必要になったら、それは調べなければならないのである。
（MODxのモデレータの人にメールで聞いちゃおっかなーとも思ったが、まあそれは違反？だろうと思ってやめました。でも、セミナーに関することだったのだからよかったかなあ。ていうか、聞いた方が絶対スマートなコードになったよね 笑）。

phpの分岐処理
今日覚えたのは以下だ。
if ( 条件) {
なんかの処理1;
} elseif( 条件 ) {
なんかの処理2;
}else {
なんかの処理3;
}

お疲れ&#8230;（自分 笑）。
※いや、それより目がよりそうだったのは、MODxのこんなやつです。よく見かけるんだけど。
$modx->documentObject['id']
これは、ドキュメントの属性のうち、ドキュメントIDを求めるものだと思われる。。おそらく（笑）。
具体的にどんなコードを書いたかは秘密です（爆）。
]]></description>
		<wfw:commentRss>http://itblog.liolion.info/2008/07/23/427/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>phpinfoを見る</title>
		<link>http://itblog.liolion.info/2007/01/31/367</link>
		<comments>http://itblog.liolion.info/2007/01/31/367#comments</comments>
		<pubDate>Wed, 31 Jan 2007 07:49:04 +0000</pubDate>
		<dc:creator>MEGU</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[è¨­å®š]]></category>

		<guid isPermaLink="false">http://blog.liolion.info/2007/01/31/phpinfo%e3%82%92%e8%a6%8b%e3%82%8b/</guid>
		<description><![CDATA[サーバーにインストールされているphpの設定情報を見るには、

&#60;?php
phpinfo();
?&#62;

と書いて、保存し（info.phpなど）、サーバのルートに
アップロードして、そのファイルにアクセスすればOK。
]]></description>
		<wfw:commentRss>http://itblog.liolion.info/2007/01/31/367/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>nl2br …</title>
		<link>http://itblog.liolion.info/2006/09/24/346</link>
		<comments>http://itblog.liolion.info/2006/09/24/346#comments</comments>
		<pubDate>Sun, 24 Sep 2006 12:25:36 +0000</pubDate>
		<dc:creator>MEGU</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://blog.liolion.info/2006/09/24/nl2br-%e2%80%a6/</guid>
		<description><![CDATA[http://php.s3.to/man/function.nl2br.html
より、引用

string nl2br ( string string )
stringに含まれるすべての改行文字の 前に &#60;br /&#62;&#8217; を挿入して返します。 
注意: PHP 4.0.5以降、nl2br() は XHTML互換となってい ます。PHP 4.0.5より前の全てのバージョンでは、 nl2br() は、stringの全 ての改行記号の前に&#8217;&#60;br /&#62;&#8217;の代わりに &#8216;&#60;br&#62;&#8217;を挿入し て返します。 

そ、そんなアバウト？な。。
]]></description>
		<wfw:commentRss>http://itblog.liolion.info/2006/09/24/346/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>xml宣言を入れるとエラーになる</title>
		<link>http://itblog.liolion.info/2006/01/12/303</link>
		<comments>http://itblog.liolion.info/2006/01/12/303#comments</comments>
		<pubDate>Thu, 12 Jan 2006 02:32:33 +0000</pubDate>
		<dc:creator>MEGU</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://blog.liolion.info/2006/01/12/xml%e5%ae%a3%e8%a8%80%e3%82%92%e5%85%a5%e3%82%8c%e3%82%8b%e3%81%a8%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%ab%e3%81%aa%e3%82%8b/</guid>
		<description><![CDATA[先日、geeklogをいじっていた時、先頭に
xml宣言を入れたら、エラーが出て、
ページがかけなくなってしまった。。
それで散策していたら、以下のページを発見。
WEBFACTORY ::: BLOG: PHPのショートタグとXML宣言
参考にさせて頂いた。ありがとうございます。
]]></description>
		<wfw:commentRss>http://itblog.liolion.info/2006/01/12/303/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
