JpGraph is a Object-Oriented Graph creating library for PHP >= 4.3.1 The library is completely written in PHP and ready to be used in any PHP scripts (both CGI/APXS/CLI versions of PHP are supported). The library can be used to create numerous types of graphs either on-line or written to a file. JpGraph makes it easy to draw both "quick and dirty" graphs with a minimum of code as well as complex
== Welcome to Trax Trax is a web-application and persistance framework that includes everything needed to create database-backed web-applications according to the Model-View-Control pattern of separation. This pattern splits the view (also called the presentation) into "dumb" templates that are primarily responsible for inserting pre-build data in between HTML tags. The model contains the "smart"
Возможные причины – Сервер, к которому вы обратились, не зарегистрирован в системе DNS. – Домен, к которому вы обратились, не делегирован или не зарегистрирован. Поддержка и делегирование доменов .ru.net, com.ru, exnet.su и геодоменов (msk.ru, spb.ru и других) осуществляется в регистратуре Фонда содействия развитию технологий инфраструктуры Интернета с использованием программно-аппаратного комплек
This PHP console script generates an XMI scheme (1.3) representing your classes and interfaces. The XMI scheme can be imported into UML modelers like umbrello to browse, print, think about your library/application design. The PHP2XMI script is licensed under the terms of the LGPL (GNU LESSER GENERAL PUBLIC LICENSE) contained in the COPYING file of this package. Features public, protected, private,
(Last Updated On: 2018年8月13日)Hardedned PHPプロジェクトのStefan EsserさんがPHP SESSIONをより安全に運用するパッチを公開しています。 このパッチはPHPのセッション管理の問題に対応します。PHPのSESSIONモジュールがSession Fixation(セッションIDの固定化)に対して脆弱であることは随分前から広く(?)知られていました。このパッチを適用すればSession Fixation問題も随分改善します。 例えば、PHP SESSIONを利用しているサイトで http://example.jp/index.php と言うURLがクッキーを利用したセッション管理行っているとします。セッションデータが初期化されサーバに保存されているか、されていないかに関わらず、ブラウザが送信したクッキーによって指定されたセッションIDがそ
SourceForge project page:http://sourceforge.net/projects/ffmpeg-php/ Google ffmpeg-php discussion group:http://groups.google.com/group/ffmpeg-php Downloads:http://sourceforge.net/project/showfiles.php?group_id=122353&package_id=133626 Documentation:API Docs Browse SVN:http://ffmpeg-php.svn.sourceforge.net/viewvc/ffmpeg-php/ Anonymous SVN: svn co https://ffmpeg-php.svn.sourceforge.net/svnroot/ffmpe
If you are like many business owners, you may be ready to launch your first website. Maybe you have not even launched your business yet, but you want to stay ahead and have a strong online presence right away! That’s a great idea! Launching your first website can be done in many different ways. There are also a lot of little details that need to go into it to ensure it’s a site you are proud of. K
Deprecated: Assigning the return value of new by reference is deprecated in /home/sites/chengfu.net/www/wp-includes/cache.php on line 36 Deprecated: Assigning the return value of new by reference is deprecated in /home/sites/chengfu.net/www/wp-includes/query.php on line 21 Deprecated: Assigning the return value of new by reference is deprecated in /home/sites/chengfu.net/www/wp-includes/theme.php
About this project This parser strips down all potentially dangerous content within HTML: opening tag without its closing tag closing tag without its opening tag any of these tags: “base”, “basefont”, “head”, “html”, “body”, “applet”, “object”, “iframe”, “frame”, “frameset”, “script”, “layer”, “ilayer”, “embed”, “bgsound”, “link”, в
dBug 変数の表示に便利な標準関数のprint_r。 ちょっとしたデータだとこれで十分なのですが、データが多く、かつ複雑になってくると、どうもデータが見難くなってしまいます。 dBugを使えば、変数内容をもっと分かりやすくテーブルで表示することが可能です。 出力例) なんと、クリックで折りたたみすることもでき、非常に便利です。 使い方も簡単で、次のようにincludeしてnew dBugするだけです。<? include("dBug.php"); $variable = array( "first"=>"1", "second", "third"=>array( "inner third 1", "inner third 2"=>"yeah"), "fourth"); new dBug($variable1);
前にも書いたが、最近他人のコードを見る機会が多い。中でも気になるのが次のようなコード。 $sql = "select * from some_table "; if ($pref != "") { if ($flag) { $sql .= "AND pref='$pref' "; } else { $sql .= "WHERE pref='$pref' "; $flag = true; } } if ($zip != "") { if ($flag) { $sql .= "AND zip='$zip' "; } else { $sql .= "WHERE zip='$zip' "; $flag = 1; } } // 以下条件文の追加が続く 驚いたことに、「既に条件文が追加されたかどうか」のフラグを立てておいて、フラグが立っていなければWHERE句を起
過去の議論はこちら 一般的に言われている対策と実際の有効性についてはこちら 一般にCSRFはセッションの利用に伴う脆弱性なのだから、予測不能な文字列を生成してhiddenとセッション内(PHPセッションの場合$_SESSION内)に入れておき、完了画面でこの2つを照会する方法が簡便で堅牢だと考えられる。(要はセッションを使ったワンタイムトークン方式)。 この対策だけでも充分だが、hiddenを横取りされた場合に発生する脆弱性に備え、Cookieでも比較を行う。 実際のコード // 確認画面 session_start(); (認証など略) $uniq_id = md5(uniqid(rand(),1)); // 推測不可能な文字列を生成 $_SESSION['uniq_id'] = $uniq_id; // セッションに保存 setcookie('uniq_id',
よく、フォームの処理などで表示するページを振り分ける際に、Locationヘッダを多用する事例を良く見かける。確かに一見便利な方法ではあるが、果たして理にかなった方法なのだろうか。php/header()でheader(”Location: ..”)とすると、デフォルトではリザルトコード302(Found)が送られる。この302の目的についてはRFC 2616で次のように定義されている。 RFC 2616 10.3.3 302 Found The requested resource resides temporarily under a different URI. 要は「要求されたリソース(情報)は一時的に別の場所に格納されていますよ」というものだ。フォームの結果の振分けなどにこれを使うのはちょっと違うのではないだろうか。 ※もっとも当該RFCをよく読むと、このような場合は3
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く