<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>調べ物メモは今日も山積み</title>
	<atom:link href="http://yamazon.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://yamazon.wordpress.com</link>
	<description>PHP,SEO</description>
	<lastBuildDate>Fri, 21 May 2010 00:29:14 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='yamazon.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>調べ物メモは今日も山積み</title>
		<link>http://yamazon.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://yamazon.wordpress.com/osd.xml" title="調べ物メモは今日も山積み" />
	<atom:link rel='hub' href='http://yamazon.wordpress.com/?pushpress=hub'/>
		<item>
		<title>PHP　配列の並び替え</title>
		<link>http://yamazon.wordpress.com/2010/05/21/php%e3%80%80%e9%85%8d%e5%88%97%e3%81%ae%e4%b8%a6%e3%81%b3%e6%9b%bf%e3%81%88/</link>
		<comments>http://yamazon.wordpress.com/2010/05/21/php%e3%80%80%e9%85%8d%e5%88%97%e3%81%ae%e4%b8%a6%e3%81%b3%e6%9b%bf%e3%81%88/#comments</comments>
		<pubDate>Fri, 21 May 2010 00:29:14 +0000</pubDate>
		<dc:creator>yamazon</dc:creator>
				<category><![CDATA[雑記]]></category>
		<category><![CDATA[配列]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[並び替え]]></category>

		<guid isPermaLink="false">http://yamazon.org/?p=366</guid>
		<description><![CDATA[asort ($res_get_email,SORT_STRING); sort (配列,パラメータ); このパラメータを次の３つから選択することで並べ方をコントロールすることができます。 SORT_REGULAR &#8211; 通常通りに項目を比較 SORT_NUMERIC &#8211; 数値的に項目を比較 SORT_STRING &#8211; 文字列として項目を比較 参考URL：http://w1.nirai.ne.jp/freeze/main/file12.html カテゴリー:雑記 Tagged: 配列, php, 並び替え<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=366&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>asort ($res_get_email,SORT_STRING);</p>
<p>sort (配列,パラメータ);<br />
このパラメータを次の３つから選択することで並べ方をコントロールすることができます。<br />
SORT_REGULAR &#8211; 通常通りに項目を比較<br />
SORT_NUMERIC &#8211; 数値的に項目を比較<br />
SORT_STRING &#8211; 文字列として項目を比較</p>
<p>参考URL：http://w1.nirai.ne.jp/freeze/main/file12.html</p>
<br />カテゴリー:<a href='http://yamazon.wordpress.com/category/%e9%9b%91%e8%a8%98/'>雑記</a> Tagged: <a href='http://yamazon.wordpress.com/tag/%e9%85%8d%e5%88%97/'>配列</a>, <a href='http://yamazon.wordpress.com/tag/php/'>php</a>, <a href='http://yamazon.wordpress.com/tag/%e4%b8%a6%e3%81%b3%e6%9b%bf%e3%81%88/'>並び替え</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/yamazon.wordpress.com/366/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/yamazon.wordpress.com/366/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/yamazon.wordpress.com/366/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/yamazon.wordpress.com/366/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/yamazon.wordpress.com/366/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/yamazon.wordpress.com/366/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/yamazon.wordpress.com/366/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/yamazon.wordpress.com/366/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/yamazon.wordpress.com/366/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/yamazon.wordpress.com/366/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/yamazon.wordpress.com/366/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/yamazon.wordpress.com/366/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/yamazon.wordpress.com/366/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/yamazon.wordpress.com/366/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=366&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://yamazon.wordpress.com/2010/05/21/php%e3%80%80%e9%85%8d%e5%88%97%e3%81%ae%e4%b8%a6%e3%81%b3%e6%9b%bf%e3%81%88/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1f0213ee22ac4c2672d71e5b5136845?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">yamazon</media:title>
		</media:content>
	</item>
		<item>
		<title>PHP 配列の結合</title>
		<link>http://yamazon.wordpress.com/2010/05/20/php-%e9%85%8d%e5%88%97%e3%81%ae%e7%b5%90%e5%90%88/</link>
		<comments>http://yamazon.wordpress.com/2010/05/20/php-%e9%85%8d%e5%88%97%e3%81%ae%e7%b5%90%e5%90%88/#comments</comments>
		<pubDate>Thu, 20 May 2010 12:43:13 +0000</pubDate>
		<dc:creator>yamazon</dc:creator>
				<category><![CDATA[雑記]]></category>

		<guid isPermaLink="false">http://yamazon.org/?p=363</guid>
		<description><![CDATA[$array3 = array_merge($array1,$array2); カテゴリー:雑記<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=363&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>$array3 = array_merge($array1,$array2);</p>
<br />カテゴリー:<a href='http://yamazon.wordpress.com/category/%e9%9b%91%e8%a8%98/'>雑記</a>  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/yamazon.wordpress.com/363/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/yamazon.wordpress.com/363/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/yamazon.wordpress.com/363/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/yamazon.wordpress.com/363/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/yamazon.wordpress.com/363/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/yamazon.wordpress.com/363/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/yamazon.wordpress.com/363/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/yamazon.wordpress.com/363/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/yamazon.wordpress.com/363/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/yamazon.wordpress.com/363/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/yamazon.wordpress.com/363/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/yamazon.wordpress.com/363/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/yamazon.wordpress.com/363/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/yamazon.wordpress.com/363/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=363&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://yamazon.wordpress.com/2010/05/20/php-%e9%85%8d%e5%88%97%e3%81%ae%e7%b5%90%e5%90%88/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1f0213ee22ac4c2672d71e5b5136845?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">yamazon</media:title>
		</media:content>
	</item>
		<item>
		<title>htmlソース内からメールアドレスを抽出</title>
		<link>http://yamazon.wordpress.com/2010/05/20/html%e3%82%bd%e3%83%bc%e3%82%b9%e5%86%85%e3%81%8b%e3%82%89%e3%83%a1%e3%83%bc%e3%83%ab%e3%82%a2%e3%83%89%e3%83%ac%e3%82%b9%e3%82%92%e6%8a%bd%e5%87%ba/</link>
		<comments>http://yamazon.wordpress.com/2010/05/20/html%e3%82%bd%e3%83%bc%e3%82%b9%e5%86%85%e3%81%8b%e3%82%89%e3%83%a1%e3%83%bc%e3%83%ab%e3%82%a2%e3%83%89%e3%83%ac%e3%82%b9%e3%82%92%e6%8a%bd%e5%87%ba/#comments</comments>
		<pubDate>Thu, 20 May 2010 12:36:07 +0000</pubDate>
		<dc:creator>yamazon</dc:creator>
				<category><![CDATA[雑記]]></category>
		<category><![CDATA[メールアドレス]]></category>
		<category><![CDATA[preg_match_all]]></category>
		<category><![CDATA[正規表現]]></category>

		<guid isPermaLink="false">http://yamazon.org/?p=361</guid>
		<description><![CDATA[//mailto:が使用されているメールアドレス preg_match_all(&#8220;/mailto:(.+?)\&#8221;/s&#8221;, $html2, $matches); //mailto:は使用されておらず、＠を基準に判別 preg_match_all(&#8216;/[-.\w\/]+@[-._[:lower:]\d]+\.[[:lower:]]{2,4}/s&#8217;, $html2, $matches); または、 preg_match_all(&#8216;/[-._a-zA-Z0-9\/]+@[-._a-z0-9]+\.[a-z]{2,4}/s&#8217;, $html2, $matches); 正規表現については、精度の問題もあり、意見が分かれるところだとは思いますが、私の場合は、これで十分だったので、メモとして残しておきます。 カテゴリー:雑記 Tagged: メールアドレス, preg_match_all, 正規表現<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=361&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>//mailto:が使用されているメールアドレス</p>
<p>				preg_match_all(&#8220;/mailto:(.+?)\&#8221;/s&#8221;, $html2, $matches);</p>
<p>//mailto:は使用されておらず、＠を基準に判別</p>
<p>				preg_match_all(&#8216;/[-.\w\/]+@[-._[:lower:]\d]+\.[[:lower:]]{2,4}/s&#8217;, $html2, $matches);<br />
または、<br />
				preg_match_all(&#8216;/[-._a-zA-Z0-9\/]+@[-._a-z0-9]+\.[a-z]{2,4}/s&#8217;, $html2, $matches);</p>
<p>正規表現については、精度の問題もあり、意見が分かれるところだとは思いますが、私の場合は、これで十分だったので、メモとして残しておきます。</p>
<br />カテゴリー:<a href='http://yamazon.wordpress.com/category/%e9%9b%91%e8%a8%98/'>雑記</a> Tagged: <a href='http://yamazon.wordpress.com/tag/%e3%83%a1%e3%83%bc%e3%83%ab%e3%82%a2%e3%83%89%e3%83%ac%e3%82%b9/'>メールアドレス</a>, <a href='http://yamazon.wordpress.com/tag/preg_match_all/'>preg_match_all</a>, <a href='http://yamazon.wordpress.com/tag/%e6%ad%a3%e8%a6%8f%e8%a1%a8%e7%8f%be/'>正規表現</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/yamazon.wordpress.com/361/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/yamazon.wordpress.com/361/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/yamazon.wordpress.com/361/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/yamazon.wordpress.com/361/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/yamazon.wordpress.com/361/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/yamazon.wordpress.com/361/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/yamazon.wordpress.com/361/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/yamazon.wordpress.com/361/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/yamazon.wordpress.com/361/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/yamazon.wordpress.com/361/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/yamazon.wordpress.com/361/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/yamazon.wordpress.com/361/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/yamazon.wordpress.com/361/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/yamazon.wordpress.com/361/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=361&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://yamazon.wordpress.com/2010/05/20/html%e3%82%bd%e3%83%bc%e3%82%b9%e5%86%85%e3%81%8b%e3%82%89%e3%83%a1%e3%83%bc%e3%83%ab%e3%82%a2%e3%83%89%e3%83%ac%e3%82%b9%e3%82%92%e6%8a%bd%e5%87%ba/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1f0213ee22ac4c2672d71e5b5136845?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">yamazon</media:title>
		</media:content>
	</item>
		<item>
		<title>データベースに機種依存文字の入ったCSVデータをインポート</title>
		<link>http://yamazon.wordpress.com/2010/05/19/%e3%83%87%e3%83%bc%e3%82%bf%e3%83%99%e3%83%bc%e3%82%b9%e3%81%ab%e6%a9%9f%e7%a8%ae%e4%be%9d%e5%ad%98%e6%96%87%e5%ad%97%e3%81%ae%e5%85%a5%e3%81%a3%e3%81%9fcsv%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92/</link>
		<comments>http://yamazon.wordpress.com/2010/05/19/%e3%83%87%e3%83%bc%e3%82%bf%e3%83%99%e3%83%bc%e3%82%b9%e3%81%ab%e6%a9%9f%e7%a8%ae%e4%be%9d%e5%ad%98%e6%96%87%e5%ad%97%e3%81%ae%e5%85%a5%e3%81%a3%e3%81%9fcsv%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92/#comments</comments>
		<pubDate>Wed, 19 May 2010 10:32:47 +0000</pubDate>
		<dc:creator>yamazon</dc:creator>
				<category><![CDATA[雑記]]></category>
		<category><![CDATA[インポート]]></category>
		<category><![CDATA[エンコード]]></category>
		<category><![CDATA[cp932]]></category>
		<category><![CDATA[phpmyadmin]]></category>
		<category><![CDATA[文字化け]]></category>
		<category><![CDATA[機種依存文字]]></category>

		<guid isPermaLink="false">http://yamazon.org/?p=357</guid>
		<description><![CDATA[phpMyAdminにて、データベース側にインポートする際、エンコードの設定を「cp932」に設定することで、機種依存文字を文字化けせずにインポートすることが可能になります。 *今回は、機種依存文字を含むsjisのCSVをutf8のデータベースにインポートしました。 参考サイト：http://smiu2it.blog.so-net.ne.jp/2009-04-16 カテゴリー:雑記 Tagged: インポート, エンコード, cp932, phpmyadmin, 文字化け, 機種依存文字<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=357&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>phpMyAdminにて、データベース側にインポートする際、エンコードの設定を「cp932」に設定することで、機種依存文字を文字化けせずにインポートすることが可能になります。</p>
<p>*今回は、機種依存文字を含むsjisのCSVをutf8のデータベースにインポートしました。</p>
<p>参考サイト：http://smiu2it.blog.so-net.ne.jp/2009-04-16</p>
<br />カテゴリー:<a href='http://yamazon.wordpress.com/category/%e9%9b%91%e8%a8%98/'>雑記</a> Tagged: <a href='http://yamazon.wordpress.com/tag/%e3%82%a4%e3%83%b3%e3%83%9d%e3%83%bc%e3%83%88/'>インポート</a>, <a href='http://yamazon.wordpress.com/tag/%e3%82%a8%e3%83%b3%e3%82%b3%e3%83%bc%e3%83%89/'>エンコード</a>, <a href='http://yamazon.wordpress.com/tag/cp932/'>cp932</a>, <a href='http://yamazon.wordpress.com/tag/phpmyadmin/'>phpmyadmin</a>, <a href='http://yamazon.wordpress.com/tag/%e6%96%87%e5%ad%97%e5%8c%96%e3%81%91/'>文字化け</a>, <a href='http://yamazon.wordpress.com/tag/%e6%a9%9f%e7%a8%ae%e4%be%9d%e5%ad%98%e6%96%87%e5%ad%97/'>機種依存文字</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/yamazon.wordpress.com/357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/yamazon.wordpress.com/357/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/yamazon.wordpress.com/357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/yamazon.wordpress.com/357/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/yamazon.wordpress.com/357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/yamazon.wordpress.com/357/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/yamazon.wordpress.com/357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/yamazon.wordpress.com/357/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/yamazon.wordpress.com/357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/yamazon.wordpress.com/357/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/yamazon.wordpress.com/357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/yamazon.wordpress.com/357/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/yamazon.wordpress.com/357/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/yamazon.wordpress.com/357/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=357&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://yamazon.wordpress.com/2010/05/19/%e3%83%87%e3%83%bc%e3%82%bf%e3%83%99%e3%83%bc%e3%82%b9%e3%81%ab%e6%a9%9f%e7%a8%ae%e4%be%9d%e5%ad%98%e6%96%87%e5%ad%97%e3%81%ae%e5%85%a5%e3%81%a3%e3%81%9fcsv%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1f0213ee22ac4c2672d71e5b5136845?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">yamazon</media:title>
		</media:content>
	</item>
		<item>
		<title>phpmyadmin　のIPによるアクセス制限</title>
		<link>http://yamazon.wordpress.com/2010/04/22/phpmyadmin%e3%80%80%e3%81%aeip%e3%81%ab%e3%82%88%e3%82%8b%e3%82%a2%e3%82%af%e3%82%bb%e3%82%b9%e5%88%b6%e9%99%90/</link>
		<comments>http://yamazon.wordpress.com/2010/04/22/phpmyadmin%e3%80%80%e3%81%aeip%e3%81%ab%e3%82%88%e3%82%8b%e3%82%a2%e3%82%af%e3%82%bb%e3%82%b9%e5%88%b6%e9%99%90/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 13:45:56 +0000</pubDate>
		<dc:creator>yamazon</dc:creator>
				<category><![CDATA[雑記]]></category>
		<category><![CDATA[アクセス制限]]></category>
		<category><![CDATA[phpmyadmin]]></category>

		<guid isPermaLink="false">http://yamazon.org/?p=353</guid>
		<description><![CDATA[# vi /etc/httpd/conf.d/phpmyadmin.conf　←　phpMyAdmin用Apache設定ファイル作成 以下にアクセスを許可するIPアドレスを指定 order deny,allow deny from all allow from 127.0.0.1 allow from 192.168.3.　　　　　 ←ローカルIP全てを許可する allow from 123.123.123.123　　←許可するグローバルIPアドレスを指定 allow from ::1 #service httpd reload　←　Apache設定反映 httpd を再読み込み中: [ OK ] カテゴリー:雑記 Tagged: アクセス制限, phpmyadmin<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=353&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p># vi /etc/httpd/conf.d/phpmyadmin.conf　←　phpMyAdmin用Apache設定ファイル作成</p>
<p>以下にアクセスを許可するIPアドレスを指定</p>
<p>   order deny,allow<br />
   deny from all<br />
   allow from 127.0.0.1<br />
   allow from 192.168.3.　　　　　  ←ローカルIP全てを許可する<br />
   allow from 123.123.123.123　　←許可するグローバルIPアドレスを指定<br />
   allow from ::1</p>
<p><span id="more-353"></span></p>
<p>#service httpd reload　←　Apache設定反映<br />
httpd を再読み込み中:                                      [  OK  ]</p>
<br />カテゴリー:<a href='http://yamazon.wordpress.com/category/%e9%9b%91%e8%a8%98/'>雑記</a> Tagged: <a href='http://yamazon.wordpress.com/tag/%e3%82%a2%e3%82%af%e3%82%bb%e3%82%b9%e5%88%b6%e9%99%90/'>アクセス制限</a>, <a href='http://yamazon.wordpress.com/tag/phpmyadmin/'>phpmyadmin</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/yamazon.wordpress.com/353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/yamazon.wordpress.com/353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/yamazon.wordpress.com/353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/yamazon.wordpress.com/353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/yamazon.wordpress.com/353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/yamazon.wordpress.com/353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/yamazon.wordpress.com/353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/yamazon.wordpress.com/353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/yamazon.wordpress.com/353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/yamazon.wordpress.com/353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/yamazon.wordpress.com/353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/yamazon.wordpress.com/353/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/yamazon.wordpress.com/353/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/yamazon.wordpress.com/353/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=353&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://yamazon.wordpress.com/2010/04/22/phpmyadmin%e3%80%80%e3%81%aeip%e3%81%ab%e3%82%88%e3%82%8b%e3%82%a2%e3%82%af%e3%82%bb%e3%82%b9%e5%88%b6%e9%99%90/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1f0213ee22ac4c2672d71e5b5136845?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">yamazon</media:title>
		</media:content>
	</item>
		<item>
		<title>PHP フォームの処理</title>
		<link>http://yamazon.wordpress.com/2010/04/17/php-%e3%83%95%e3%82%a9%e3%83%bc%e3%83%a0%e3%81%ae%e5%87%a6%e7%90%86/</link>
		<comments>http://yamazon.wordpress.com/2010/04/17/php-%e3%83%95%e3%82%a9%e3%83%bc%e3%83%a0%e3%81%ae%e5%87%a6%e7%90%86/#comments</comments>
		<pubDate>Sat, 17 Apr 2010 11:32:58 +0000</pubDate>
		<dc:creator>yamazon</dc:creator>
				<category><![CDATA[雑記]]></category>
		<category><![CDATA[フォーム]]></category>
		<category><![CDATA[htmlspecialchars]]></category>
		<category><![CDATA[nl2br]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[stripslashes]]></category>
		<category><![CDATA[改行]]></category>

		<guid isPermaLink="false">http://yamazon.org/?p=351</guid>
		<description><![CDATA[# stripcslashes() &#8212;- C言語と同様にバックスラッシュでクォートされた文字列を元に戻す # htmlentities() &#8212;- 適用可能な文字を全てHTML エンティティに変換する # nl2br() &#8212;- 改行文字の前にHTMLの改行タグを挿入する # strip_tags() &#8212;- 文字列からHTMLタグ、および PHPタグを取り除く $text はフォームから受け取る文字列。 // HTML文字のエスケープ $text = htmlspecialchars( $_POST["messege"] ); // magic_quotes_gpcの値がONなら\削除 if ( get_magic_quotes_gpc() ) { $text = stripslashes( $text ); } // 改行処理 $text = nl2br($text); print_r($text); これでフォームから送信された文章内の改行をそのまま表示させることが出来る。 カテゴリー:雑記 Tagged: フォーム, htmlspecialchars, nl2br, php, stripslashes, 改行<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=351&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p># stripcslashes() &#8212;- C言語と同様にバックスラッシュでクォートされた文字列を元に戻す</p>
<p># htmlentities() &#8212;- 適用可能な文字を全てHTML エンティティに変換する</p>
<p># nl2br()  &#8212;- 改行文字の前にHTMLの改行タグを挿入する</p>
<p># strip_tags() &#8212;- 文字列からHTMLタグ、および PHPタグを取り除く</p>
<p><span id="more-351"></span><br />
$text はフォームから受け取る文字列。</p>
<p>// HTML文字のエスケープ<br />
$text = htmlspecialchars( $_POST["messege"] );</p>
<p>// magic_quotes_gpcの値がONなら\削除<br />
if ( get_magic_quotes_gpc() ) {<br />
  $text = stripslashes( $text );<br />
}</p>
<p>// 改行処理<br />
$text = nl2br($text);</p>
<p>print_r($text);</p>
<p>これでフォームから送信された文章内の改行をそのまま表示させることが出来る。</p>
<br />カテゴリー:<a href='http://yamazon.wordpress.com/category/%e9%9b%91%e8%a8%98/'>雑記</a> Tagged: <a href='http://yamazon.wordpress.com/tag/%e3%83%95%e3%82%a9%e3%83%bc%e3%83%a0/'>フォーム</a>, <a href='http://yamazon.wordpress.com/tag/htmlspecialchars/'>htmlspecialchars</a>, <a href='http://yamazon.wordpress.com/tag/nl2br/'>nl2br</a>, <a href='http://yamazon.wordpress.com/tag/php/'>php</a>, <a href='http://yamazon.wordpress.com/tag/stripslashes/'>stripslashes</a>, <a href='http://yamazon.wordpress.com/tag/%e6%94%b9%e8%a1%8c/'>改行</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/yamazon.wordpress.com/351/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/yamazon.wordpress.com/351/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/yamazon.wordpress.com/351/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/yamazon.wordpress.com/351/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/yamazon.wordpress.com/351/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/yamazon.wordpress.com/351/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/yamazon.wordpress.com/351/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/yamazon.wordpress.com/351/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/yamazon.wordpress.com/351/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/yamazon.wordpress.com/351/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/yamazon.wordpress.com/351/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/yamazon.wordpress.com/351/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/yamazon.wordpress.com/351/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/yamazon.wordpress.com/351/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=351&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://yamazon.wordpress.com/2010/04/17/php-%e3%83%95%e3%82%a9%e3%83%bc%e3%83%a0%e3%81%ae%e5%87%a6%e7%90%86/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1f0213ee22ac4c2672d71e5b5136845?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">yamazon</media:title>
		</media:content>
	</item>
		<item>
		<title>フォームの送信ボタンを画像にする</title>
		<link>http://yamazon.wordpress.com/2010/04/16/%e3%83%95%e3%82%a9%e3%83%bc%e3%83%a0%e3%81%ae%e9%80%81%e4%bf%a1%e3%83%9c%e3%82%bf%e3%83%b3%e3%82%92%e7%94%bb%e5%83%8f%e3%81%ab%e3%81%99%e3%82%8b/</link>
		<comments>http://yamazon.wordpress.com/2010/04/16/%e3%83%95%e3%82%a9%e3%83%bc%e3%83%a0%e3%81%ae%e9%80%81%e4%bf%a1%e3%83%9c%e3%82%bf%e3%83%b3%e3%82%92%e7%94%bb%e5%83%8f%e3%81%ab%e3%81%99%e3%82%8b/#comments</comments>
		<pubDate>Fri, 16 Apr 2010 12:56:59 +0000</pubDate>
		<dc:creator>yamazon</dc:creator>
				<category><![CDATA[雑記]]></category>
		<category><![CDATA[フォーム]]></category>
		<category><![CDATA[送信ボタン]]></category>

		<guid isPermaLink="false">http://yamazon.org/?p=346</guid>
		<description><![CDATA[&#60;input type=&#8221;image&#8221; src=&#8221;画像のURL&#8221; onClick=&#8221;submit&#8221;/&#62; カテゴリー:雑記 Tagged: フォーム, 送信ボタン<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=346&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&lt;input type=&#8221;image&#8221; src=&#8221;画像のURL&#8221; onClick=&#8221;submit&#8221;/&gt;</p>
<br />カテゴリー:<a href='http://yamazon.wordpress.com/category/%e9%9b%91%e8%a8%98/'>雑記</a> Tagged: <a href='http://yamazon.wordpress.com/tag/%e3%83%95%e3%82%a9%e3%83%bc%e3%83%a0/'>フォーム</a>, <a href='http://yamazon.wordpress.com/tag/%e9%80%81%e4%bf%a1%e3%83%9c%e3%82%bf%e3%83%b3/'>送信ボタン</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/yamazon.wordpress.com/346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/yamazon.wordpress.com/346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/yamazon.wordpress.com/346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/yamazon.wordpress.com/346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/yamazon.wordpress.com/346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/yamazon.wordpress.com/346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/yamazon.wordpress.com/346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/yamazon.wordpress.com/346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/yamazon.wordpress.com/346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/yamazon.wordpress.com/346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/yamazon.wordpress.com/346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/yamazon.wordpress.com/346/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/yamazon.wordpress.com/346/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/yamazon.wordpress.com/346/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=346&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://yamazon.wordpress.com/2010/04/16/%e3%83%95%e3%82%a9%e3%83%bc%e3%83%a0%e3%81%ae%e9%80%81%e4%bf%a1%e3%83%9c%e3%82%bf%e3%83%b3%e3%82%92%e7%94%bb%e5%83%8f%e3%81%ab%e3%81%99%e3%82%8b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1f0213ee22ac4c2672d71e5b5136845?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">yamazon</media:title>
		</media:content>
	</item>
		<item>
		<title>html、CSS　テキストの自動折り返しを禁止する</title>
		<link>http://yamazon.wordpress.com/2010/04/16/html%e3%80%81css%e3%80%80%e3%83%86%e3%82%ad%e3%82%b9%e3%83%88%e3%81%ae%e8%87%aa%e5%8b%95%e6%8a%98%e3%82%8a%e8%bf%94%e3%81%97%e3%82%92%e7%a6%81%e6%ad%a2%e3%81%99%e3%82%8b/</link>
		<comments>http://yamazon.wordpress.com/2010/04/16/html%e3%80%81css%e3%80%80%e3%83%86%e3%82%ad%e3%82%b9%e3%83%88%e3%81%ae%e8%87%aa%e5%8b%95%e6%8a%98%e3%82%8a%e8%bf%94%e3%81%97%e3%82%92%e7%a6%81%e6%ad%a2%e3%81%99%e3%82%8b/#comments</comments>
		<pubDate>Fri, 16 Apr 2010 11:18:53 +0000</pubDate>
		<dc:creator>yamazon</dc:creator>
				<category><![CDATA[雑記]]></category>
		<category><![CDATA[折り返し]]></category>

		<guid isPermaLink="false">http://yamazon.org/?p=344</guid>
		<description><![CDATA[&#60;strong&#62;white-space&#60;/strong&#62; normal 標準 （初期値） nowrap 自動的な折り返しを禁止する カテゴリー:雑記 Tagged: 折り返し<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=344&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&lt;strong&gt;white-space&lt;/strong&gt;</p>
<p>normal 	標準 （初期値）<br />
nowrap 	自動的な折り返しを禁止する</p>
<br />カテゴリー:<a href='http://yamazon.wordpress.com/category/%e9%9b%91%e8%a8%98/'>雑記</a> Tagged: <a href='http://yamazon.wordpress.com/tag/%e6%8a%98%e3%82%8a%e8%bf%94%e3%81%97/'>折り返し</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/yamazon.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/yamazon.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/yamazon.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/yamazon.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/yamazon.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/yamazon.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/yamazon.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/yamazon.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/yamazon.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/yamazon.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/yamazon.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/yamazon.wordpress.com/344/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/yamazon.wordpress.com/344/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/yamazon.wordpress.com/344/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=344&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://yamazon.wordpress.com/2010/04/16/html%e3%80%81css%e3%80%80%e3%83%86%e3%82%ad%e3%82%b9%e3%83%88%e3%81%ae%e8%87%aa%e5%8b%95%e6%8a%98%e3%82%8a%e8%bf%94%e3%81%97%e3%82%92%e7%a6%81%e6%ad%a2%e3%81%99%e3%82%8b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1f0213ee22ac4c2672d71e5b5136845?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">yamazon</media:title>
		</media:content>
	</item>
		<item>
		<title>float要素を解除する　clearfix</title>
		<link>http://yamazon.wordpress.com/2010/04/16/float%e8%a6%81%e7%b4%a0%e3%82%92%e8%a7%a3%e9%99%a4%e3%81%99%e3%82%8b%e3%80%80clearfix/</link>
		<comments>http://yamazon.wordpress.com/2010/04/16/float%e8%a6%81%e7%b4%a0%e3%82%92%e8%a7%a3%e9%99%a4%e3%81%99%e3%82%8b%e3%80%80clearfix/#comments</comments>
		<pubDate>Fri, 16 Apr 2010 09:05:07 +0000</pubDate>
		<dc:creator>yamazon</dc:creator>
				<category><![CDATA[雑記]]></category>
		<category><![CDATA[clearfix]]></category>
		<category><![CDATA[float]]></category>

		<guid isPermaLink="false">http://yamazon.org/?p=342</guid>
		<description><![CDATA[http://blog.d-spica.com/entry/070307clearfix.html カテゴリー:雑記 Tagged: clearfix, float<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=342&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>http://blog.d-spica.com/entry/070307clearfix.html</p>
<br />カテゴリー:<a href='http://yamazon.wordpress.com/category/%e9%9b%91%e8%a8%98/'>雑記</a> Tagged: <a href='http://yamazon.wordpress.com/tag/clearfix/'>clearfix</a>, <a href='http://yamazon.wordpress.com/tag/float/'>float</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/yamazon.wordpress.com/342/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/yamazon.wordpress.com/342/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/yamazon.wordpress.com/342/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/yamazon.wordpress.com/342/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/yamazon.wordpress.com/342/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/yamazon.wordpress.com/342/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/yamazon.wordpress.com/342/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/yamazon.wordpress.com/342/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/yamazon.wordpress.com/342/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/yamazon.wordpress.com/342/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/yamazon.wordpress.com/342/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/yamazon.wordpress.com/342/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/yamazon.wordpress.com/342/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/yamazon.wordpress.com/342/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=342&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://yamazon.wordpress.com/2010/04/16/float%e8%a6%81%e7%b4%a0%e3%82%92%e8%a7%a3%e9%99%a4%e3%81%99%e3%82%8b%e3%80%80clearfix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1f0213ee22ac4c2672d71e5b5136845?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">yamazon</media:title>
		</media:content>
	</item>
		<item>
		<title>php　フォームのPOST送信で配列を扱う場合</title>
		<link>http://yamazon.wordpress.com/2010/04/15/php%e3%80%80%e3%83%95%e3%82%a9%e3%83%bc%e3%83%a0%e3%81%aepost%e9%80%81%e4%bf%a1%e3%81%a7%e9%85%8d%e5%88%97%e3%82%92%e6%89%b1%e3%81%86%e5%a0%b4%e5%90%88/</link>
		<comments>http://yamazon.wordpress.com/2010/04/15/php%e3%80%80%e3%83%95%e3%82%a9%e3%83%bc%e3%83%a0%e3%81%aepost%e9%80%81%e4%bf%a1%e3%81%a7%e9%85%8d%e5%88%97%e3%82%92%e6%89%b1%e3%81%86%e5%a0%b4%e5%90%88/#comments</comments>
		<pubDate>Thu, 15 Apr 2010 12:05:28 +0000</pubDate>
		<dc:creator>yamazon</dc:creator>
				<category><![CDATA[雑記]]></category>
		<category><![CDATA[checkbox]]></category>
		<category><![CDATA[配列]]></category>
		<category><![CDATA[foreach]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[POST送信]]></category>

		<guid isPermaLink="false">http://yamazon.org/?p=340</guid>
		<description><![CDATA[htmlのフォーム内のcheckboxなどで、配列を扱いたい場合は、以下のように name 属性に []　をつけます。これで配列として扱えます。 &#60;input type=&#8221;checkbox&#8221; name=&#8221;item[]&#8221; value=&#8221;"&#62; &#60;input type=&#8221;checkbox&#8221; name=&#8221;item[]&#8221; value=&#8221;"&#62; &#60;input type=&#8221;checkbox&#8221; name=&#8221;item[]&#8221; value=&#8221;"&#62; &#60;input type=&#8221;checkbox&#8221; name=&#8221;item[]&#8221; value=&#8221;"&#62; その後、受け取った　$_post['item']　を　foreach　などで回せば、自由に配列を扱うことが出来ます。 カテゴリー:雑記 Tagged: checkbox, 配列, foreach, php, POST送信<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=340&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>htmlのフォーム内のcheckboxなどで、配列を扱いたい場合は、以下のように name 属性に []　をつけます。これで配列として扱えます。<br />
&lt;input type=&#8221;checkbox&#8221; name=&#8221;item[]&#8221; value=&#8221;"&gt;<br />
&lt;input type=&#8221;checkbox&#8221; name=&#8221;item[]&#8221; value=&#8221;"&gt;<br />
&lt;input type=&#8221;checkbox&#8221; name=&#8221;item[]&#8221; value=&#8221;"&gt;<br />
&lt;input type=&#8221;checkbox&#8221; name=&#8221;item[]&#8221; value=&#8221;"&gt;</p>
<p>その後、受け取った　$_post['item']　を　foreach　などで回せば、自由に配列を扱うことが出来ます。</p>
<br />カテゴリー:<a href='http://yamazon.wordpress.com/category/%e9%9b%91%e8%a8%98/'>雑記</a> Tagged: <a href='http://yamazon.wordpress.com/tag/checkbox/'>checkbox</a>, <a href='http://yamazon.wordpress.com/tag/%e9%85%8d%e5%88%97/'>配列</a>, <a href='http://yamazon.wordpress.com/tag/foreach/'>foreach</a>, <a href='http://yamazon.wordpress.com/tag/php/'>php</a>, <a href='http://yamazon.wordpress.com/tag/post%e9%80%81%e4%bf%a1/'>POST送信</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/yamazon.wordpress.com/340/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/yamazon.wordpress.com/340/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/yamazon.wordpress.com/340/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/yamazon.wordpress.com/340/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/yamazon.wordpress.com/340/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/yamazon.wordpress.com/340/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/yamazon.wordpress.com/340/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/yamazon.wordpress.com/340/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/yamazon.wordpress.com/340/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/yamazon.wordpress.com/340/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/yamazon.wordpress.com/340/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/yamazon.wordpress.com/340/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/yamazon.wordpress.com/340/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/yamazon.wordpress.com/340/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=340&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://yamazon.wordpress.com/2010/04/15/php%e3%80%80%e3%83%95%e3%82%a9%e3%83%bc%e3%83%a0%e3%81%aepost%e9%80%81%e4%bf%a1%e3%81%a7%e9%85%8d%e5%88%97%e3%82%92%e6%89%b1%e3%81%86%e5%a0%b4%e5%90%88/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1f0213ee22ac4c2672d71e5b5136845?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">yamazon</media:title>
		</media:content>
	</item>
		<item>
		<title>.htaccess　の落とし穴</title>
		<link>http://yamazon.wordpress.com/2010/04/14/htaccess%e3%80%80%e3%81%ae%e8%90%bd%e3%81%a8%e3%81%97%e7%a9%b4/</link>
		<comments>http://yamazon.wordpress.com/2010/04/14/htaccess%e3%80%80%e3%81%ae%e8%90%bd%e3%81%a8%e3%81%97%e7%a9%b4/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 14:51:38 +0000</pubDate>
		<dc:creator>yamazon</dc:creator>
				<category><![CDATA[雑記]]></category>
		<category><![CDATA[.htaccess]]></category>

		<guid isPermaLink="false">http://yamazon.org/?p=338</guid>
		<description><![CDATA[落とし穴ってほとではありませんが、少しハマってしまったので、恥ずかしながらメモ・・・。 あるサイトをつくっていたのですが、トップページを表示するたびにベーシック認証の画面が表示されるので、おかしいなぁと思い、それを解決しようとサーバ内を調べていました。 もともと .htaccess　を置く必要がないディレクトリなので、サーバ上には、そんなファイルはありませんでした。 絶対に認証は、かけていない！・・のに、かかってる、さらに、最近サーバをアップグレードした影響かなという思いもあり、複雑に複雑に考えてしまいました。 もっといえば、ベーシック認証をキャンセルすれば、ページが正常に表示される状態でした。 認証がかかってるとすれば、htmllint とかで調べてみたらエラーが出るかなと思っても、htmllint ではエラーにならず、普通に結果が表示されました。 私の手元のブラウザ（firefox）の問題かなと思い、IEやサファリ、GoogleChromeで表示させても、全ブラウザで認証が出て、認証をキャンセルをすると表示される・・・。 結局、何が原因だったのかというと、認証がかかっているディレクトリ内にある javascript のファイルを平然と読み込んでいたことでした(_ _。)･･･ｼｭﾝ なんとも情けない失敗ですが、こういう初歩的な失敗は時間がたつと忘れてしまう気がしたので、将来も不注意だろうと思われる自分のためにメモ。。。 カテゴリー:雑記 Tagged: .htaccess<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=338&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>落とし穴ってほとではありませんが、少しハマってしまったので、恥ずかしながらメモ・・・。</p>
<p>あるサイトをつくっていたのですが、トップページを表示するたびにベーシック認証の画面が表示されるので、おかしいなぁと思い、それを解決しようとサーバ内を調べていました。<br />
もともと .htaccess　を置く必要がないディレクトリなので、サーバ上には、そんなファイルはありませんでした。<br />
絶対に認証は、かけていない！・・のに、かかってる、さらに、最近サーバをアップグレードした影響かなという思いもあり、複雑に複雑に考えてしまいました。<br />
もっといえば、ベーシック認証をキャンセルすれば、ページが正常に表示される状態でした。</p>
<p>認証がかかってるとすれば、htmllint とかで調べてみたらエラーが出るかなと思っても、htmllint ではエラーにならず、普通に結果が表示されました。<br />
私の手元のブラウザ（firefox）の問題かなと思い、IEやサファリ、GoogleChromeで表示させても、全ブラウザで認証が出て、認証をキャンセルをすると表示される・・・。</p>
<p>結局、何が原因だったのかというと、認証がかかっているディレクトリ内にある javascript のファイルを平然と読み込んでいたことでした(_ _。)･･･ｼｭﾝ<br />
なんとも情けない失敗ですが、こういう初歩的な失敗は時間がたつと忘れてしまう気がしたので、将来も不注意だろうと思われる自分のためにメモ。。。</p>
<br />カテゴリー:<a href='http://yamazon.wordpress.com/category/%e9%9b%91%e8%a8%98/'>雑記</a> Tagged: <a href='http://yamazon.wordpress.com/tag/htaccess/'>.htaccess</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/yamazon.wordpress.com/338/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/yamazon.wordpress.com/338/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/yamazon.wordpress.com/338/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/yamazon.wordpress.com/338/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/yamazon.wordpress.com/338/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/yamazon.wordpress.com/338/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/yamazon.wordpress.com/338/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/yamazon.wordpress.com/338/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/yamazon.wordpress.com/338/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/yamazon.wordpress.com/338/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/yamazon.wordpress.com/338/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/yamazon.wordpress.com/338/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/yamazon.wordpress.com/338/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/yamazon.wordpress.com/338/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=338&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://yamazon.wordpress.com/2010/04/14/htaccess%e3%80%80%e3%81%ae%e8%90%bd%e3%81%a8%e3%81%97%e7%a9%b4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1f0213ee22ac4c2672d71e5b5136845?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">yamazon</media:title>
		</media:content>
	</item>
		<item>
		<title>PHP 配列の要素を指定し、キーを取り出す</title>
		<link>http://yamazon.wordpress.com/2010/04/14/php-%e9%85%8d%e5%88%97%e3%81%ae%e8%a6%81%e7%b4%a0%e3%82%92%e6%8c%87%e5%ae%9a%e3%81%97%e3%80%81%e3%82%ad%e3%83%bc%e3%82%92%e5%8f%96%e3%82%8a%e5%87%ba%e3%81%99/</link>
		<comments>http://yamazon.wordpress.com/2010/04/14/php-%e9%85%8d%e5%88%97%e3%81%ae%e8%a6%81%e7%b4%a0%e3%82%92%e6%8c%87%e5%ae%9a%e3%81%97%e3%80%81%e3%82%ad%e3%83%bc%e3%82%92%e5%8f%96%e3%82%8a%e5%87%ba%e3%81%99/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 15:50:09 +0000</pubDate>
		<dc:creator>yamazon</dc:creator>
				<category><![CDATA[雑記]]></category>
		<category><![CDATA[キー]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://yamazon.org/?p=335</guid>
		<description><![CDATA[配列の要素の値から、そのキーを取り出す場合。 &#60;?php $array = array(0 =&#62; &#8216;blue&#8217;, 1 =&#62; &#8216;red&#8217;, 2 =&#62; &#8216;green&#8217;, 3 =&#62; &#8216;red&#8217;); $key = array_search(&#8216;green&#8217;, $array); // $key = 2; $key = array_search(&#8216;red&#8217;, $array); // $key = 1; ?&#62; カテゴリー:雑記 Tagged: キー, php<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=335&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>配列の要素の値から、そのキーを取り出す場合。</p>
<p>&lt;?php<br />
$array = array(0 =&gt; &#8216;blue&#8217;, 1 =&gt; &#8216;red&#8217;, 2 =&gt; &#8216;green&#8217;, 3 =&gt; &#8216;red&#8217;);</p>
<p>$key = array_search(&#8216;green&#8217;, $array); // $key = 2;<br />
$key = array_search(&#8216;red&#8217;, $array);   // $key = 1;<br />
?&gt;</p>
<br />カテゴリー:<a href='http://yamazon.wordpress.com/category/%e9%9b%91%e8%a8%98/'>雑記</a> Tagged: <a href='http://yamazon.wordpress.com/tag/%e3%82%ad%e3%83%bc/'>キー</a>, <a href='http://yamazon.wordpress.com/tag/php/'>php</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/yamazon.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/yamazon.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/yamazon.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/yamazon.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/yamazon.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/yamazon.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/yamazon.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/yamazon.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/yamazon.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/yamazon.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/yamazon.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/yamazon.wordpress.com/335/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/yamazon.wordpress.com/335/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/yamazon.wordpress.com/335/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=335&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://yamazon.wordpress.com/2010/04/14/php-%e9%85%8d%e5%88%97%e3%81%ae%e8%a6%81%e7%b4%a0%e3%82%92%e6%8c%87%e5%ae%9a%e3%81%97%e3%80%81%e3%82%ad%e3%83%bc%e3%82%92%e5%8f%96%e3%82%8a%e5%87%ba%e3%81%99/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1f0213ee22ac4c2672d71e5b5136845?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">yamazon</media:title>
		</media:content>
	</item>
		<item>
		<title>fedora で　Firefoxがオフラインモードで起動してしまう場合の対処</title>
		<link>http://yamazon.wordpress.com/2010/04/10/fedora-%e3%81%a7%e3%80%80firefox%e3%81%8c%e3%82%aa%e3%83%95%e3%83%a9%e3%82%a4%e3%83%b3%e3%83%a2%e3%83%bc%e3%83%89%e3%81%a7%e8%b5%b7%e5%8b%95%e3%81%97%e3%81%a6%e3%81%97%e3%81%be%e3%81%86%e5%a0%b4/</link>
		<comments>http://yamazon.wordpress.com/2010/04/10/fedora-%e3%81%a7%e3%80%80firefox%e3%81%8c%e3%82%aa%e3%83%95%e3%83%a9%e3%82%a4%e3%83%b3%e3%83%a2%e3%83%bc%e3%83%89%e3%81%a7%e8%b5%b7%e5%8b%95%e3%81%97%e3%81%a6%e3%81%97%e3%81%be%e3%81%86%e5%a0%b4/#comments</comments>
		<pubDate>Sat, 10 Apr 2010 09:51:37 +0000</pubDate>
		<dc:creator>yamazon</dc:creator>
				<category><![CDATA[雑記]]></category>
		<category><![CDATA[オフラインモード]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://yamazon.org/?p=333</guid>
		<description><![CDATA[NICをNetworkMangerで管理しない場合 NetworkMangerサービスを無効にする。 % sudo service NetworkManager stop % sudo chkconfig &#8211;del NetworkManager networkサービスを有効にする。 % sudo chkconfig &#8211;level 2345 network on % sudo chkconfig &#8211;add network % sudo service network start カテゴリー:雑記 Tagged: オフラインモード, firefox<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=333&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>NICをNetworkMangerで管理しない場合<br />
NetworkMangerサービスを無効にする。</p>
<p>% sudo service NetworkManager stop<br />
% sudo chkconfig &#8211;del NetworkManager</p>
<p>networkサービスを有効にする。</p>
<p>% sudo chkconfig &#8211;level 2345 network on<br />
% sudo chkconfig &#8211;add network<br />
% sudo service network start</p>
<br />カテゴリー:<a href='http://yamazon.wordpress.com/category/%e9%9b%91%e8%a8%98/'>雑記</a> Tagged: <a href='http://yamazon.wordpress.com/tag/%e3%82%aa%e3%83%95%e3%83%a9%e3%82%a4%e3%83%b3%e3%83%a2%e3%83%bc%e3%83%89/'>オフラインモード</a>, <a href='http://yamazon.wordpress.com/tag/firefox/'>firefox</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/yamazon.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/yamazon.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/yamazon.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/yamazon.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/yamazon.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/yamazon.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/yamazon.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/yamazon.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/yamazon.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/yamazon.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/yamazon.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/yamazon.wordpress.com/333/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/yamazon.wordpress.com/333/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/yamazon.wordpress.com/333/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=333&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://yamazon.wordpress.com/2010/04/10/fedora-%e3%81%a7%e3%80%80firefox%e3%81%8c%e3%82%aa%e3%83%95%e3%83%a9%e3%82%a4%e3%83%b3%e3%83%a2%e3%83%bc%e3%83%89%e3%81%a7%e8%b5%b7%e5%8b%95%e3%81%97%e3%81%a6%e3%81%97%e3%81%be%e3%81%86%e5%a0%b4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1f0213ee22ac4c2672d71e5b5136845?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">yamazon</media:title>
		</media:content>
	</item>
		<item>
		<title>linux サーバのバックアップ箇所</title>
		<link>http://yamazon.wordpress.com/2010/04/06/linux-%e3%82%b5%e3%83%bc%e3%83%90%e3%81%ae%e3%83%90%e3%83%83%e3%82%af%e3%82%a2%e3%83%83%e3%83%97%e7%ae%87%e6%89%80/</link>
		<comments>http://yamazon.wordpress.com/2010/04/06/linux-%e3%82%b5%e3%83%bc%e3%83%90%e3%81%ae%e3%83%90%e3%83%83%e3%82%af%e3%82%a2%e3%83%83%e3%83%97%e7%ae%87%e6%89%80/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 11:33:01 +0000</pubDate>
		<dc:creator>yamazon</dc:creator>
				<category><![CDATA[雑記]]></category>
		<category><![CDATA[バックアップ]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://yamazon.org/?p=331</guid>
		<description><![CDATA[■データベース関連 phpmyadmin データベース ■ユーザドキュメント関連 /home/ 内 ■ユーザ関連 /etc/passwd /etc/shadow /etc/group ■サーバ設定 /etc/ 内 バーチャルホストやvsftp,httpd関連の設定 メール関連の設定 カテゴリー:雑記 Tagged: バックアップ, linux<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=332&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>■データベース関連<br />
phpmyadmin データベース</p>
<p>■ユーザドキュメント関連<br />
/home/ 内</p>
<p>■ユーザ関連<br />
/etc/passwd<br />
/etc/shadow<br />
/etc/group</p>
<p>■サーバ設定<br />
/etc/ 内<br />
バーチャルホストやvsftp,httpd関連の設定<br />
メール関連の設定</p>
<br />カテゴリー:<a href='http://yamazon.wordpress.com/category/%e9%9b%91%e8%a8%98/'>雑記</a> Tagged: <a href='http://yamazon.wordpress.com/tag/%e3%83%90%e3%83%83%e3%82%af%e3%82%a2%e3%83%83%e3%83%97/'>バックアップ</a>, <a href='http://yamazon.wordpress.com/tag/linux/'>linux</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/yamazon.wordpress.com/332/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/yamazon.wordpress.com/332/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/yamazon.wordpress.com/332/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/yamazon.wordpress.com/332/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/yamazon.wordpress.com/332/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/yamazon.wordpress.com/332/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/yamazon.wordpress.com/332/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/yamazon.wordpress.com/332/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/yamazon.wordpress.com/332/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/yamazon.wordpress.com/332/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/yamazon.wordpress.com/332/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/yamazon.wordpress.com/332/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/yamazon.wordpress.com/332/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/yamazon.wordpress.com/332/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=332&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://yamazon.wordpress.com/2010/04/06/linux-%e3%82%b5%e3%83%bc%e3%83%90%e3%81%ae%e3%83%90%e3%83%83%e3%82%af%e3%82%a2%e3%83%83%e3%83%97%e7%ae%87%e6%89%80/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1f0213ee22ac4c2672d71e5b5136845?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">yamazon</media:title>
		</media:content>
	</item>
		<item>
		<title>fedor サーバ　にvnc-server のインストール</title>
		<link>http://yamazon.wordpress.com/2010/04/05/fedor-%e3%82%b5%e3%83%bc%e3%83%90%e3%80%80%e3%81%abvnc-server-%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/</link>
		<comments>http://yamazon.wordpress.com/2010/04/05/fedor-%e3%82%b5%e3%83%bc%e3%83%90%e3%80%80%e3%81%abvnc-server-%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/#comments</comments>
		<pubDate>Mon, 05 Apr 2010 10:07:14 +0000</pubDate>
		<dc:creator>yamazon</dc:creator>
				<category><![CDATA[雑記]]></category>
		<category><![CDATA[サーバ]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[vnc]]></category>

		<guid isPermaLink="false">http://yamazon.org/?p=327</guid>
		<description><![CDATA[fedor サーバ　にvnc-server のインストール yum install -y vnc-server カテゴリー:雑記 Tagged: サーバ, fedora, vnc<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=327&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>fedor サーバ　にvnc-server のインストール</p>
<p>yum install -y vnc-server</p>
<br />カテゴリー:<a href='http://yamazon.wordpress.com/category/%e9%9b%91%e8%a8%98/'>雑記</a> Tagged: <a href='http://yamazon.wordpress.com/tag/%e3%82%b5%e3%83%bc%e3%83%90/'>サーバ</a>, <a href='http://yamazon.wordpress.com/tag/fedora/'>fedora</a>, <a href='http://yamazon.wordpress.com/tag/vnc/'>vnc</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/yamazon.wordpress.com/327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/yamazon.wordpress.com/327/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/yamazon.wordpress.com/327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/yamazon.wordpress.com/327/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/yamazon.wordpress.com/327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/yamazon.wordpress.com/327/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/yamazon.wordpress.com/327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/yamazon.wordpress.com/327/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/yamazon.wordpress.com/327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/yamazon.wordpress.com/327/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/yamazon.wordpress.com/327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/yamazon.wordpress.com/327/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/yamazon.wordpress.com/327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/yamazon.wordpress.com/327/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=327&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://yamazon.wordpress.com/2010/04/05/fedor-%e3%82%b5%e3%83%bc%e3%83%90%e3%80%80%e3%81%abvnc-server-%e3%81%ae%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1f0213ee22ac4c2672d71e5b5136845?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">yamazon</media:title>
		</media:content>
	</item>
		<item>
		<title>PHP short_open_tag</title>
		<link>http://yamazon.wordpress.com/2010/04/05/php-short_open_tag/</link>
		<comments>http://yamazon.wordpress.com/2010/04/05/php-short_open_tag/#comments</comments>
		<pubDate>Mon, 05 Apr 2010 07:07:38 +0000</pubDate>
		<dc:creator>yamazon</dc:creator>
				<category><![CDATA[雑記]]></category>
		<category><![CDATA[php.ini]]></category>
		<category><![CDATA[short_open_tag]]></category>

		<guid isPermaLink="false">http://yamazon.org/?p=324</guid>
		<description><![CDATA[php.iniの short_open_tag = On　にすることで &#60;?php　の省略形が使えるようになる。 &#60;?php echo &#8220;test&#8221;; ?&#62; ↓↓↓↓↓↓↓↓ &#60;? echo &#8220;test&#8221;; ?&#62; カテゴリー:雑記 Tagged: php.ini, short_open_tag<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=324&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>php.iniの short_open_tag = On　にすることで   &lt;?php　の省略形が使えるようになる。</p>
<p>   &lt;?php</p>
<p>echo &#8220;test&#8221;;</p>
<p>?&gt;<br />
↓↓↓↓↓↓↓↓<br />
   &lt;?</p>
<p>echo &#8220;test&#8221;;</p>
<p>?&gt;</p>
<br />カテゴリー:<a href='http://yamazon.wordpress.com/category/%e9%9b%91%e8%a8%98/'>雑記</a> Tagged: <a href='http://yamazon.wordpress.com/tag/php-ini/'>php.ini</a>, <a href='http://yamazon.wordpress.com/tag/short_open_tag/'>short_open_tag</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/yamazon.wordpress.com/324/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/yamazon.wordpress.com/324/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/yamazon.wordpress.com/324/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/yamazon.wordpress.com/324/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/yamazon.wordpress.com/324/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/yamazon.wordpress.com/324/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/yamazon.wordpress.com/324/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/yamazon.wordpress.com/324/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/yamazon.wordpress.com/324/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/yamazon.wordpress.com/324/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/yamazon.wordpress.com/324/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/yamazon.wordpress.com/324/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/yamazon.wordpress.com/324/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/yamazon.wordpress.com/324/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=324&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://yamazon.wordpress.com/2010/04/05/php-short_open_tag/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1f0213ee22ac4c2672d71e5b5136845?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">yamazon</media:title>
		</media:content>
	</item>
		<item>
		<title>rootでログイン出きるようにする「fedora 12」</title>
		<link>http://yamazon.wordpress.com/2010/04/05/root%e3%81%a7%e3%83%ad%e3%82%b0%e3%82%a4%e3%83%b3%e5%87%ba%e3%81%8d%e3%82%8b%e3%82%88%e3%81%86%e3%81%ab%e3%81%99%e3%82%8b%e3%80%8cfedora-12%e3%80%8d/</link>
		<comments>http://yamazon.wordpress.com/2010/04/05/root%e3%81%a7%e3%83%ad%e3%82%b0%e3%82%a4%e3%83%b3%e5%87%ba%e3%81%8d%e3%82%8b%e3%82%88%e3%81%86%e3%81%ab%e3%81%99%e3%82%8b%e3%80%8cfedora-12%e3%80%8d/#comments</comments>
		<pubDate>Mon, 05 Apr 2010 06:08:45 +0000</pubDate>
		<dc:creator>yamazon</dc:creator>
				<category><![CDATA[雑記]]></category>
		<category><![CDATA[ログイン]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[root]]></category>

		<guid isPermaLink="false">http://yamazon.org/?p=322</guid>
		<description><![CDATA[fedora 12 カテゴリー:雑記 Tagged: ログイン, fedora, root<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=322&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>fedora 12</p>
<br />カテゴリー:<a href='http://yamazon.wordpress.com/category/%e9%9b%91%e8%a8%98/'>雑記</a> Tagged: <a href='http://yamazon.wordpress.com/tag/%e3%83%ad%e3%82%b0%e3%82%a4%e3%83%b3/'>ログイン</a>, <a href='http://yamazon.wordpress.com/tag/fedora/'>fedora</a>, <a href='http://yamazon.wordpress.com/tag/root/'>root</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/yamazon.wordpress.com/322/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/yamazon.wordpress.com/322/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/yamazon.wordpress.com/322/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/yamazon.wordpress.com/322/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/yamazon.wordpress.com/322/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/yamazon.wordpress.com/322/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/yamazon.wordpress.com/322/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/yamazon.wordpress.com/322/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/yamazon.wordpress.com/322/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/yamazon.wordpress.com/322/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/yamazon.wordpress.com/322/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/yamazon.wordpress.com/322/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/yamazon.wordpress.com/322/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/yamazon.wordpress.com/322/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=322&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://yamazon.wordpress.com/2010/04/05/root%e3%81%a7%e3%83%ad%e3%82%b0%e3%82%a4%e3%83%b3%e5%87%ba%e3%81%8d%e3%82%8b%e3%82%88%e3%81%86%e3%81%ab%e3%81%99%e3%82%8b%e3%80%8cfedora-12%e3%80%8d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1f0213ee22ac4c2672d71e5b5136845?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">yamazon</media:title>
		</media:content>
	</item>
		<item>
		<title>mysqlデータの移行</title>
		<link>http://yamazon.wordpress.com/2010/04/03/mysql%e3%83%87%e3%83%bc%e3%82%bf%e3%81%ae%e7%a7%bb%e8%a1%8c/</link>
		<comments>http://yamazon.wordpress.com/2010/04/03/mysql%e3%83%87%e3%83%bc%e3%82%bf%e3%81%ae%e7%a7%bb%e8%a1%8c/#comments</comments>
		<pubDate>Sat, 03 Apr 2010 11:15:06 +0000</pubDate>
		<dc:creator>yamazon</dc:creator>
				<category><![CDATA[雑記]]></category>
		<category><![CDATA[バックアップ]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[phpmyadmin]]></category>
		<category><![CDATA[read only]]></category>

		<guid isPermaLink="false">http://yamazon.org/?p=320</guid>
		<description><![CDATA[こんなことが起こってはいけないのですが、、、、 昨日、サーバでsudo関連のプログラムをfedoraサーバでテストしてたのですが、その際に、誤って、想定してないような値を渡してしまい、サーバ上のディレクトリやファイルのパーミッションがおかしなことになってしまいました。 rootでもログイン出来なくなってしまい、全てがおかしくなったのか、部分的におかしくなったのかも把握できず、とりあえず、初期化するしかないかなと思いつつも、調べて、調べて、試行錯誤してました。 そんな状況で、どうにかこうにか　/var/lib/mysql　内のデータをFTP経由で抜き出しました。 それだけでは、DBのバックアップは出来ないだろうなと思いつつも、違うサーバ上の同じ場所（/var/lib/mysql）に置いてみると、普通にphpmyadminでデータが読み込まれました。 ただ、この状態では、データの参照は出来るものの、phpmyadmin上からデータの編集、削除や、phpプログラムからデータを追加することも出来ない状態でした。（read onlyというエラーが出ます） これではあまり意味がないので、また試行錯誤していました。 新しいサーバ上のphpmyadminから参照しか出来ないread onlyのDBエクスポートし、/var/lib/mysql　から、さきほど置いた古いDB(old_db)のディレクトリを削除。 この時点で、新しいphpmyadmin上には、古いDB(old_db)の情報はなくなっています。 その状態で、新しいサーバに古いDBと同じ名前(old_db)のDBを作り、エクスポートしておいた、ものをインポートすると、編集や削除も出来る状態で、新しいphpmyadminに移行することが出来ました。 phpプログラムからのデータの追加や削除なども出来ました。 朝から夜までずっと調べて、試して、丸一日かけて、やっと辿り着きました・・・。 今回は、DBのバックアップなどをしてなかったので、こんな状況になりましたが、普段からDBをしっかりバックアップしておけば、良いだけ、、という普通の教訓を得ました(_ _。)･･･ｼｭﾝ カテゴリー:雑記 Tagged: バックアップ, mysql, phpmyadmin, read only<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=320&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>こんなことが起こってはいけないのですが、、、、</p>
<p>昨日、サーバでsudo関連のプログラムをfedoraサーバでテストしてたのですが、その際に、誤って、想定してないような値を渡してしまい、サーバ上のディレクトリやファイルのパーミッションがおかしなことになってしまいました。</p>
<p>rootでもログイン出来なくなってしまい、全てがおかしくなったのか、部分的におかしくなったのかも把握できず、とりあえず、初期化するしかないかなと思いつつも、調べて、調べて、試行錯誤してました。</p>
<p>そんな状況で、どうにかこうにか　/var/lib/mysql　内のデータをFTP経由で抜き出しました。<br />
それだけでは、DBのバックアップは出来ないだろうなと思いつつも、違うサーバ上の同じ場所（/var/lib/mysql）に置いてみると、普通にphpmyadminでデータが読み込まれました。<br />
ただ、この状態では、データの参照は出来るものの、phpmyadmin上からデータの編集、削除や、phpプログラムからデータを追加することも出来ない状態でした。（read onlyというエラーが出ます）</p>
<p>これではあまり意味がないので、また試行錯誤していました。</p>
<p>新しいサーバ上のphpmyadminから参照しか出来ないread onlyのDBエクスポートし、/var/lib/mysql　から、さきほど置いた古いDB(old_db)のディレクトリを削除。<br />
この時点で、新しいphpmyadmin上には、古いDB(old_db)の情報はなくなっています。<br />
その状態で、新しいサーバに古いDBと同じ名前(old_db)のDBを作り、エクスポートしておいた、ものをインポートすると、編集や削除も出来る状態で、新しいphpmyadminに移行することが出来ました。</p>
<p>phpプログラムからのデータの追加や削除なども出来ました。</p>
<p>朝から夜までずっと調べて、試して、丸一日かけて、やっと辿り着きました・・・。</p>
<p>今回は、DBのバックアップなどをしてなかったので、こんな状況になりましたが、普段からDBをしっかりバックアップしておけば、良いだけ、、という普通の教訓を得ました(_ _。)･･･ｼｭﾝ</p>
<br />カテゴリー:<a href='http://yamazon.wordpress.com/category/%e9%9b%91%e8%a8%98/'>雑記</a> Tagged: <a href='http://yamazon.wordpress.com/tag/%e3%83%90%e3%83%83%e3%82%af%e3%82%a2%e3%83%83%e3%83%97/'>バックアップ</a>, <a href='http://yamazon.wordpress.com/tag/mysql/'>mysql</a>, <a href='http://yamazon.wordpress.com/tag/phpmyadmin/'>phpmyadmin</a>, <a href='http://yamazon.wordpress.com/tag/read-only/'>read only</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/yamazon.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/yamazon.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/yamazon.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/yamazon.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/yamazon.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/yamazon.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/yamazon.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/yamazon.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/yamazon.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/yamazon.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/yamazon.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/yamazon.wordpress.com/320/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/yamazon.wordpress.com/320/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/yamazon.wordpress.com/320/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=320&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://yamazon.wordpress.com/2010/04/03/mysql%e3%83%87%e3%83%bc%e3%82%bf%e3%81%ae%e7%a7%bb%e8%a1%8c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1f0213ee22ac4c2672d71e5b5136845?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">yamazon</media:title>
		</media:content>
	</item>
		<item>
		<title>phpmyadmin のインポートサイズの最大値を変更する</title>
		<link>http://yamazon.wordpress.com/2010/04/03/phpmyadmin-%e3%81%ae%e3%82%a4%e3%83%b3%e3%83%9d%e3%83%bc%e3%83%88%e3%82%b5%e3%82%a4%e3%82%ba%e3%81%ae%e6%9c%80%e5%a4%a7%e5%80%a4%e3%82%92%e5%a4%89%e6%9b%b4%e3%81%99%e3%82%8b/</link>
		<comments>http://yamazon.wordpress.com/2010/04/03/phpmyadmin-%e3%81%ae%e3%82%a4%e3%83%b3%e3%83%9d%e3%83%bc%e3%83%88%e3%82%b5%e3%82%a4%e3%82%ba%e3%81%ae%e6%9c%80%e5%a4%a7%e5%80%a4%e3%82%92%e5%a4%89%e6%9b%b4%e3%81%99%e3%82%8b/#comments</comments>
		<pubDate>Sat, 03 Apr 2010 10:40:31 +0000</pubDate>
		<dc:creator>yamazon</dc:creator>
				<category><![CDATA[雑記]]></category>
		<category><![CDATA[インポート]]></category>
		<category><![CDATA[php.ini]]></category>
		<category><![CDATA[phpmyadmin]]></category>

		<guid isPermaLink="false">http://yamazon.org/?p=318</guid>
		<description><![CDATA[php.iniを適当なサイズに変更します。 memory_limit 32M post_max_size 50M upload_max_filesize 50M php.iniを変更したら httpdをリスタートします。 service httpd restart これで、大きなサイズでもインポート可能になります。 カテゴリー:雑記 Tagged: インポート, php.ini, phpmyadmin<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=318&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>php.iniを適当なサイズに変更します。</p>
<p>memory_limit 32M<br />
post_max_size 50M<br />
upload_max_filesize 50M</p>
<p>php.iniを変更したら<br />
httpdをリスタートします。</p>
<p>service httpd restart</p>
<p>これで、大きなサイズでもインポート可能になります。</p>
<br />カテゴリー:<a href='http://yamazon.wordpress.com/category/%e9%9b%91%e8%a8%98/'>雑記</a> Tagged: <a href='http://yamazon.wordpress.com/tag/%e3%82%a4%e3%83%b3%e3%83%9d%e3%83%bc%e3%83%88/'>インポート</a>, <a href='http://yamazon.wordpress.com/tag/php-ini/'>php.ini</a>, <a href='http://yamazon.wordpress.com/tag/phpmyadmin/'>phpmyadmin</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/yamazon.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/yamazon.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/yamazon.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/yamazon.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/yamazon.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/yamazon.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/yamazon.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/yamazon.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/yamazon.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/yamazon.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/yamazon.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/yamazon.wordpress.com/318/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/yamazon.wordpress.com/318/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/yamazon.wordpress.com/318/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=318&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://yamazon.wordpress.com/2010/04/03/phpmyadmin-%e3%81%ae%e3%82%a4%e3%83%b3%e3%83%9d%e3%83%bc%e3%83%88%e3%82%b5%e3%82%a4%e3%82%ba%e3%81%ae%e6%9c%80%e5%a4%a7%e5%80%a4%e3%82%92%e5%a4%89%e6%9b%b4%e3%81%99%e3%82%8b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1f0213ee22ac4c2672d71e5b5136845?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">yamazon</media:title>
		</media:content>
	</item>
		<item>
		<title>PEARインストール</title>
		<link>http://yamazon.wordpress.com/2010/04/03/pear%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/</link>
		<comments>http://yamazon.wordpress.com/2010/04/03/pear%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/#comments</comments>
		<pubDate>Sat, 03 Apr 2010 10:16:16 +0000</pubDate>
		<dc:creator>yamazon</dc:creator>
				<category><![CDATA[雑記]]></category>
		<category><![CDATA[pear]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://yamazon.org/other/317</guid>
		<description><![CDATA[PEARインストール # yum -y install php-pear PEARのバージョンを確認 # pear -V カテゴリー:雑記 Tagged: pear, php<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=317&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>PEARインストール<br />
# yum -y install php-pear</p>
<p>PEARのバージョンを確認<br />
# pear -V</p>
<br />カテゴリー:<a href='http://yamazon.wordpress.com/category/%e9%9b%91%e8%a8%98/'>雑記</a> Tagged: <a href='http://yamazon.wordpress.com/tag/pear/'>pear</a>, <a href='http://yamazon.wordpress.com/tag/php/'>php</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/yamazon.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/yamazon.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/yamazon.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/yamazon.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/yamazon.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/yamazon.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/yamazon.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/yamazon.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/yamazon.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/yamazon.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/yamazon.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/yamazon.wordpress.com/317/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/yamazon.wordpress.com/317/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/yamazon.wordpress.com/317/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=yamazon.wordpress.com&amp;blog=10592478&amp;post=317&amp;subd=yamazon&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://yamazon.wordpress.com/2010/04/03/pear%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1f0213ee22ac4c2672d71e5b5136845?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">yamazon</media:title>
		</media:content>
	</item>
	</channel>
</rss>
