2009年12月07日 過去Blog
今回RSSを取り出すのに使っていた「MagpieRSS」を以下のように使っていたのですが、 include (‘rss_fetch.inc’); require_once ‘code_table.ucs2jis’; require_once ‘jcode.php’; 繰り返し処理を行おうとしたところ、Fatal error: Cannot redeclare phpでのエラーとういうエラーが出現するので、以下のように修正したら、とりあえず動くようになりました。 ちゃんとした解決策なのかどうかは不明ですが・・・( ; ゚Д゚) require_once (‘rss_fetch.inc’); require_once ‘code_table.ucs2jis’; require_once ‘jcode.php’;

この投稿へのコメント

コメントはまだありません。

コメントを残す

メールアドレスが公開されることはありません。

次のHTML タグと属性が使えます。
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

CAPTCHA


ピックアップ記事

PHP strstr stristr ある文字列が含まれるかどうか調べる

2010年06月11日 過去Blog
$string = 'Hello World!'; if(stristr($string, 'earth') === FALSE) { echo '"earth" not found in string'; } // 出力は "earth" not found in string となります 参照元:http://www.php.net/manual/ja/function.st…
「PHP strstr stristr ある文字列が含まれるかどうか調べる」をはてなブックマークに追加

htmlソース内からメールアドレスを抽出

2010年05月20日 過去Blog
//mailto:が使用されているメールアドレス preg_match_all("/mailto:(.+?)"/s", $html2, $matches); //mailto:は使用されておらず、@を基準に判別 preg_match_all('/[-.w/]+@[-._[:lower:]d]+.[[:lower:]]{2,4}/s', $html2, $matches); …
「htmlソース内からメールアドレスを抽出」をはてなブックマークに追加

PHP short_open_tag

2010年04月05日 過去Blog
php.iniの short_open_tag = On にすることで <?php の省略形が使えるようになる。 <?php echo "test"; ?> ↓↓↓↓↓↓↓↓ <? echo "test"; ?> best-wedding.getbestnews.com…
「PHP short_open_tag」をはてなブックマークに追加

addressbook内のデータをtableViewに表示させる

2011年01月17日 過去Blog
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *CellIdentifier = @"Cell"; UITableViewCell *cell = [tableView dequeueReusab…
「addressbook内のデータをtableViewに表示させる」をはてなブックマークに追加
© graffiti on the web . All rights reserved. WordPress Theme by comfy