<?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>muzin &#187; Webプログラミング</title>
	<atom:link href="http://www.muzin.org/wp/category/webprogramming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.muzin.org/wp</link>
	<description>PHPとか、JavaScriptとか、YomiSearch用の無料テンプレートを配布したり、ツールを作ったりしてます。</description>
	<lastBuildDate>Sat, 17 Oct 2020 12:11:57 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>perlでBenchmarkテスト２</title>
		<link>http://www.muzin.org/wp/webprogramming/perl/perl%e3%81%a7benchmark%e3%83%86%e3%82%b9%e3%83%88%ef%bc%92_18/</link>
		<comments>http://www.muzin.org/wp/webprogramming/perl/perl%e3%81%a7benchmark%e3%83%86%e3%82%b9%e3%83%88%ef%bc%92_18/#comments</comments>
		<pubDate>Mon, 16 Jan 2012 02:49:24 +0000</pubDate>
		<dc:creator>muzin</dc:creator>
				<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://www.muzin.org/wp/?p=18</guid>
		<description><![CDATA[perlの色々な関数や処理の実行時間をBenchmarkモジュールを使って計測・比較してみました。第２弾。 変数へのアクセス use Benchmark; $year = "2007"; $mon = "10"; $day = "27"; $date = "$year年$mon月$day日"; timethese 1_024_000, { operation1 => sub { print OUT "$year年$mon月$day日"; }, operation2 => sub { print OUT $date; }, }; ●実行結果 Benchmark: timing 1024000 &#8230; <a href="http://www.muzin.org/wp/webprogramming/perl/perl%e3%81%a7benchmark%e3%83%86%e3%82%b9%e3%83%88%ef%bc%92_18/">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.muzin.org/wp/webprogramming/perl/perl%e3%81%a7benchmark%e3%83%86%e3%82%b9%e3%83%88%ef%bc%92_18/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>phpBBの文字化け</title>
		<link>http://www.muzin.org/wp/webprogramming/php/phpbbieu_58/</link>
		<comments>http://www.muzin.org/wp/webprogramming/php/phpbbieu_58/#comments</comments>
		<pubDate>Thu, 05 Mar 2009 01:58:36 +0000</pubDate>
		<dc:creator>muzin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.muzin.org/wp/webprogramming/php/phpbbieu_58/</guid>
		<description><![CDATA[別サイトに phpBB を設置したのだが、いまいち文字化けしてしまいました。 phpbb2 文字化け &#8211; こまちドーナツを参考に、 データベースの文字コードと、phpBB自体の文字コード（UTF-8版とEUC-JP版があるので）をあわせたら上手くいきましたので、個人用にメモ]]></description>
		<wfw:commentRss>http://www.muzin.org/wp/webprogramming/php/phpbbieu_58/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHPで外部ファイルのサイズを取得する方法</title>
		<link>http://www.muzin.org/wp/webprogramming/php/file-size_52/</link>
		<comments>http://www.muzin.org/wp/webprogramming/php/file-size_52/#comments</comments>
		<pubDate>Mon, 01 Dec 2008 22:59:16 +0000</pubDate>
		<dc:creator>muzin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.muzin.org/wp/webprogramming/php/file-size_52/</guid>
		<description><![CDATA[ローカルのファイルのサイズを取得するときには filesize() 関数を使えば良いのですが、 どうもリモートでのファイルサイズを取得するには filesize() は使えないらしい。 というわけで探してみたところ、次のような方法で外部のファイルのサイズを取得できるようです。 ただし相手のサーバーの設定で Content-Length ヘッダーを返すようになっていないと使えないので注意。 戻り値は byte 単位です。 &#60;?php # 外部URIのファイルサイズを取得 function getFileSize($uri) { &#160;&#160;&#160;&#160;$headers = get_headers($uri, 1);&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;if ((!array_key_exists("Content-Length", $headers))) { return false; } &#160;&#160;&#160;&#160;return $headers["Content-Length"]; } ?&#62; 著色にはPHPソースをハイライト表示を使用しました。]]></description>
		<wfw:commentRss>http://www.muzin.org/wp/webprogramming/php/file-size_52/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHPで日本語メール送信スクリプト</title>
		<link>http://www.muzin.org/wp/webprogramming/php/phpsendmail070327_25/</link>
		<comments>http://www.muzin.org/wp/webprogramming/php/phpsendmail070327_25/#comments</comments>
		<pubDate>Tue, 27 Mar 2007 09:28:59 +0000</pubDate>
		<dc:creator>muzin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.muzin.org/wp/diary/phpsendmail070327/</guid>
		<description><![CDATA[PHPで日本語メールを送信するスクリプトの一番簡単な例。 機能としては メール件名（日本語可） 差出人アドレス 送信先アドレス メール本文（日本語可） をそれぞれ指定可能です。 文字コードはEUC-JPで保存してください。 submit.php &#60;html&#62; &#60;head&#62; &#60;title&#62;メール送信PHP&#60;/title&#62; &#60;meta http-equiv="Content-Type" content="text/html; charset=euc-jp"&#62; &#60;/head&#62; &#60;body&#62; &#60;h1&#62;メール送信&#60;/h1&#62; &#60;form action="submit.php" method="POST"&#62; 件名：&#60;input type="text" name="subject" size="50" value="テスト" /&#62;&#60;br /&#62; 差出元アドレス：&#60;input type="text" name="from" size="40" value="from@example.com" /&#62;&#60;br /&#62; 送信先アドレス：&#60;input type="text" name="to" size="40" &#8230; <a href="http://www.muzin.org/wp/webprogramming/php/phpsendmail070327_25/">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.muzin.org/wp/webprogramming/php/phpsendmail070327_25/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>perlで外部サイト読み込み</title>
		<link>http://www.muzin.org/wp/webprogramming/perl/getanothersite_16/</link>
		<comments>http://www.muzin.org/wp/webprogramming/perl/getanothersite_16/#comments</comments>
		<pubDate>Mon, 05 Mar 2007 03:31:43 +0000</pubDate>
		<dc:creator>muzin</dc:creator>
				<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://www.muzin.org/wp/perl/getanothersite/</guid>
		<description><![CDATA[perlを使って、外部サイト（別ドメイン）にあるWebページを読み込めないものかと探していたら、素晴らしいページを見つけました。 ネットワークプログラミングの基礎知識 perl,c,javaなどでsocketを使ったネットワークプログラミングを分かりやすく解説してくださっています。 暗号化やＳＳＬの実装などの話も興味深いです。]]></description>
		<wfw:commentRss>http://www.muzin.org/wp/webprogramming/perl/getanothersite_16/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RSSのContent-Type</title>
		<link>http://www.muzin.org/wp/webprogramming/rss-content-type_20/</link>
		<comments>http://www.muzin.org/wp/webprogramming/rss-content-type_20/#comments</comments>
		<pubDate>Wed, 28 Feb 2007 23:40:35 +0000</pubDate>
		<dc:creator>muzin</dc:creator>
				<category><![CDATA[Webプログラミング]]></category>

		<guid isPermaLink="false">http://www.muzin.org/wp/webprogramming/rss-content-type/</guid>
		<description><![CDATA[RSSのContent-Typeはどうなっているのか、主要なサイト（自分にとって笑）のRSSのヘッダを読み込んで、Content-Typeを調べてみました。 読み方 ・サイト名 ・ＲＳＳファイル名 ・Content-Type ＠IT &#8211; アットマーク・アイティ http://www.atmarkit.co.jp/rss/rss.xml Content-Type: text/html; charset=iso-8859-1 GIGAZINE &#8211; コクピットから撮影した美麗な写真 http://gigazine.net/index.php?/news/rss_1.0/ Content-Type: text/xml; charset=utf-8 スラッシュドット ジャパン : アレゲなニュースと雑談サイト http://slashdot.jp/slashdotjp.rss Content-Type: text/html; charset=iso-8859-1 IT総合情報ポータル「ITmedia」Home http://rss.itmedia.co.jp/rss/0.91/news_bursts.xml Content-Type: text/html Yahoo!ブログ &#8211; 無料で2GBの大容量のブログ(Blog)をはじめよう！ http://blogs.yahoo.co.jp/rss.xml Content-Type: text/xml; charset=utf-8 Google グループ &#8230; <a href="http://www.muzin.org/wp/webprogramming/rss-content-type_20/">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.muzin.org/wp/webprogramming/rss-content-type_20/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>perlでBenchmarkテスト</title>
		<link>http://www.muzin.org/wp/webprogramming/perl/benchmark070228_17/</link>
		<comments>http://www.muzin.org/wp/webprogramming/perl/benchmark070228_17/#comments</comments>
		<pubDate>Tue, 27 Feb 2007 23:27:25 +0000</pubDate>
		<dc:creator>muzin</dc:creator>
				<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://www.muzin.org/wp/perl/benchmarkyaeyye/</guid>
		<description><![CDATA[perlの色々な関数や処理の実行時間をBenchmarkモジュールを使って計測・比較してみました。 スカラ変数と配列によるアクセス時間の差 実用性の高い、localtimeによる日時取得を例にします。 use Benchmark; timethese 1_024_000, { operation1 => sub { ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time); $year += 1900; $mon++; }, operation2 => sub { ($mday,$mon,$year) = (localtime(time))[3..5]; $year += 1900; $mon++; }, operation3 => sub { @times = localtime(time); $times[5] &#8230; <a href="http://www.muzin.org/wp/webprogramming/perl/benchmark070228_17/">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.muzin.org/wp/webprogramming/perl/benchmark070228_17/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>phpで文字コード変換</title>
		<link>http://www.muzin.org/wp/webprogramming/php/phpceuyyeen_9/</link>
		<comments>http://www.muzin.org/wp/webprogramming/php/phpceuyyeen_9/#comments</comments>
		<pubDate>Wed, 07 Feb 2007 21:47:05 +0000</pubDate>
		<dc:creator>muzin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.muzin.org/wp/2007/phpceuyyeen/</guid>
		<description><![CDATA[PHPで文字コードを変換するために、mb_stringを実装しました。 mb_stringを有効にする php.iniで[mbstring]を -------------------------------------- [mbstring] mbstring.language = Japanese mbstring.internal_encoding = EUC-JP mbstring.http_input = auto mbstring.http_output = pass (SJIS では文字化けすることがある) mbstring.encoding_translation = On (Off を On に. BBSなどで文字化けするようなら Offに) mbstring.detect_order = auto mbstring.substitute_character = none; mbstring.func_overload = 0 -------------------------------------- さらに、dllの位置指定とコメントアウトも。 ---------------------------------- &#8230; <a href="http://www.muzin.org/wp/webprogramming/php/phpceuyyeen_9/">続きを読む <span class="meta-nav">&#8594;</span></a>]]></description>
		<wfw:commentRss>http://www.muzin.org/wp/webprogramming/php/phpceuyyeen_9/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
