memo.xight.org

Home > Changelogメモ > PHP > 5ページ目 (全9ページ)
ChangeLog 最新ページ / カテゴリ最新ページ / 前ページ 1 2 3 4 5 6 7 8 9 次ページ / 5ページ目 (全9ページ)
2008-12 / 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

2005-12-29 Thu

PHPとWebアプリケーションのセキュリティについて

- Summary
PHPでWebアプリケーション開発を行う際の留意点.
悪いコード例と検証コードを紹介.

- php.ini 基本の設定

magic_quotes_gpc = Off;
session.use_trans_sid = 0;
session.use_only_cookie = 1
session.auto_start = 0;



- Reference
PHP と Web アプリケーションのセキュリティについてのメモ
http://www.asahi-net.or.jp/~wv7y-kmr/memo/php_security.html#PHP_Session
はてなダイアリーのヘルプ - はてなダイアリーXSS対策
http://hatenadiary.g.hatena.ne.jp/keyword/%e3%81%af%e3%81%a6%e3%81%aa%e3%83%80%e3%82%a4%e3%82%a2%e3%83%aa%e3%83%bcXSS%e5%af%be%e7%ad%96
- via
高木浩光@自宅の日記 - 2005-12-27 - 「サニタイズ言うなキャンペーン」とは何か
http://takagi-hiromitsu.jp/diary/20051227.html#p02

カテゴリ: [PHP][Security]

2005-12-26 Mon

PhpMyBorder - PHP で角が丸い枠を簡単に作るライブラリ

- Sample

<?php
require_once 'phpMyBorder2.class.php';
$pmb = new PhpMyBorder();
echo $pmb->begin_round('260px', 'DDDDFF', '78AAFF');
?>
 
コンテンツの内容
 
<?php
echo $pmb->end_round();
?>


- Screen shot
PhpMyBorderの利用例

- Reference
PhpMyBorder - add round corners by CSS
http://www.phpmyborder.com/
PhpMyBorder - Resouces and links to rounded corners, boxes and edges tutorials
http://www.phpmyborder.com/round_corners5.php
- via
cl.pocari.org - 2005-12-19 - PHP で角丸枠 (CSS) を簡単に作る方法
http://cl.pocari.org/2005-12-19-2.html

カテゴリ: [PHP]

2005-12-24 Sat

PHP Calendar

- Reference
Keith Devens - PHP Calendar
http://keithdevens.com/software/php_calendar
- via
PHPSPOT開発日記 - 2005-12-14 - カレンダー出力用の便利モジュール:PHP Calendar
http://phpspot.org/blog/archives/2005/12/php_calendar.html

カテゴリ: [PHP]

2005-12-22 Thu

サニタイズの基本

- SQLインジェクション

MySQL PHP $sql = mysql_escape_string($sql);
MySQL Perl $sql =~ s/'/''/g; $sql =~ s/\\/\\\\/g;
PostgreSQL PHP $sql = pgsql_escape_string($sql);
PostgreSQL Perl $sql =~ s/'/''/g; $sql =~ s/\\/\\\\/g;
SQLite PHP $sql = sqlite_escape_string($sql);

- OSインジェクション
Linux PHP $str = escapeshellarg($str);
Linux Perl $str =~ s/'/\\'/g;

- XSS
PHP $str = htmlspecialchars($str);
Perl $str =~ s/</&lt;/g;

- Reference
入門 Ajax: 本 - pp.16

カテゴリ: [PHP][Perl]

2005-12-18 Sun

GeSHiの利用

<?php
	include_once('geshi.php');
	$source         = $_REQUEST["source"];
	$language       = $_REQUEST["lang"];
	$geshi =& new GeSHi($source, $language);
	echo $geshi->parse_code();
	return;
?>

カテゴリ: [PHP]

2005-11-25 Fri

debugConsole

- Reference
debugConsole
http://www.debugconsole.de/
- via
cl.pocari.org - 2005-11-18 - JavaScript のポップアップウィンドウで PHP のデバッグを行うことができる debugConsole
http://cl.pocari.org/2005-11-18-1.html

カテゴリ: [PHP][Stub]

2005-11-17 Thu

RAP - RDF API for PHP

- Reference
RAP - Rdf API for PHP
http://www.wiwiss.fu-berlin.de/suhl/bizer/rdfapi/

- via
Web KANZAKI - RAPによるRDF/XMLのチェックと視覚化
http://www.kanzaki.com/works/2005/rap/graph-check

カテゴリ: [PHP][RDF/XML]

2005-11-16 Wed

HotPHPPER

- Reference
HotPHPPER News
http://news.hotphpper.net/

カテゴリ: [PHP]

2005-11-16 Wed

PEAR のプロトコルアップデート

$ pear search Proxy
WARNING: channel "pear.php.net" has updated its protocols, use
"channel-update pear.php.net" to update
$ su
# pear channel-update pear.php.net
Retrieving channel.xml from remote server
Update of Channel "pear.php.net" succeeded

カテゴリ: [PHP]

2005-11-08 Tue

phpFormGenerator

- Summary
form生成
- Reference
SourceForge - phpFormGenerator
http://phpformgen.sourceforge.net/
- via
phpspot開発日誌 - 2005-11-07
http://phpspot.org/blog/archives/2005/11/phpformgenerato.html

カテゴリ: [PHP]

2005-11-08 Tue

JpGraph - PHP Graph Creating Library

JpGraph - PHP Graph Creating Library
http://www.aditus.nu/jpgraph/
JpGraph : PHP4とPHP5に対応したグラフ生成ツール - アシアル株式会社
http://www.asial.co.jp/products/jpgraph/
PHP でグラフを作る (gd/JpGraph編)
http://www.gadgety.net/shin/tips/unix/php-gd.html
PHPで高機能なグラフ生成ライブラリーJpGraphを使ってグラフを描いてみました・・・
http://www.linkclub.or.jp/~ma3ki/webutil/jpgraph/howtomake-jpgraph.html

カテゴリ: [PHP]

2005-10-25 Tue

PHPで mysql系関数が利用できない

- php.iniを編集

extension=/usr/local/lib/php/20020429-debug/mysql.so

カテゴリ: [PHP][Trouble Shooting]

2005-10-25 Tue

iconvでコンパイルエラー

- Summary
Solaris 8で PHP make中に以下のエラー

/path/to/php/ext/iconv/iconv.c: In function `zm_startup_miconv':
/path/to/php/ext/iconv/iconv.c:175: `_libiconv_version' undeclared (first use in this function)
/path/to/php/ext/iconv/iconv.c:175: (Each undeclared identifier is reported only once
/path/to/php/ext/iconv/iconv.c:175: for each function it appears in.)

- 対処法
# mv /usr/include/iconv.h /usr/include/iconv.h.bak
# ln /usr/local/include/iconv.h /usr/include/iconv.h

- Reference
日本ではたらく社長のブログ | 【備忘録】php5.1インストール
http://ieiriblog.jugem.jp/?eid=659

カテゴリ: [PHP][Trouble Shooting]

2005-10-25 Tue

PHPのインストールでエラー

- エラー
fatal : relocation error: file /usr/local/lib/libstdc++.so.6: symbol __eprintf: referenced symbol not found

It works fine without --enable-xslt and
--with-xslt-sablot=/usr/local/.

I may have a Sablotron issue.

- Reference
PHP Resources -> PHP Help - #33425 [Fbk->Opn]: Symbol Referencing Error loading Apache Module __eprintf: referenced symbol not
http://www.php-resources.org/help/article-php.bugs-80819.php
#33425 [Opn->Csd]: Symbol Referencing Error loading Apache Module __eprintf: referenced symbol not
http://www.mail-archive.com/php-bugs@lists.php.net/msg66667.html

カテゴリ: [PHP][Trouble Shooting]
2008-12 / 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
最終更新時間: 2008-12-02 10:52

Color Reference

ChangeLogを検索
携帯電話からアクセス!

カテゴリ

最近の話題

リンク

過去ログ

Google

QR Code

Since
2002-11-28
Update
2008-12-02 10:52
Copyright © 2005 xight.org All Rights Reserved.