タグ

ブックマーク / www.php.net (5)

  • PHP: コア php.ini ディレクティブに関する説明 - Manual

    以下に設定ディレクティブに関する 簡単な説明を示します。 short_open_tag bool PHP タグの短縮型 (<? ?>) を使用 可能にするかどうかを設定します。PHPをXMLと組み合わせて用いる 場合は、<?xml ?>をファイル中で用 いるためにこのオプションをオフにする必要があります。オンにし た場合にPHPでXMLを出力するには、例えば、次のようにします。 <?php echo '<?xml version="1.0"?>'; ?> これをオフにした場合、長い方の形式のタグ (<?php ?>)を使用する必要があります。 注意: これは、<?= 記法に影響を与えません。常に有効となります。 precision int 浮動小数点数に関して表示される最大桁数を指定します。 -1 は、数値を丸める際に拡張アルゴリズムを用いることを意味します。 serialize_prec

    PHP: コア php.ini ディレクティブに関する説明 - Manual
    tadasy
    tadasy 2012/11/29
  • PHP: 定義済み定数 - Manual

    Getting Started Introduction A simple tutorial Language Reference Basic syntax Types Variables Constants Expressions Operators Control Structures Functions Classes and Objects Namespaces Enumerations Errors Exceptions Fibers Generators Attributes References Explained Predefined Variables Predefined Exceptions Predefined Interfaces and Classes Predefined Attributes Context options and parameters Su

    PHP: 定義済み定数 - Manual
    tadasy
    tadasy 2012/11/29
    PHPのMemcahcedライブラリはコンシステントハッシングがデフォルトじゃないのか
  • PHP: pi - Manual

    Getting Started Introduction A simple tutorial Language Reference Basic syntax Types Variables Constants Expressions Operators Control Structures Functions Classes and Objects Namespaces Enumerations Errors Exceptions Fibers Generators Attributes References Explained Predefined Variables Predefined Exceptions Predefined Interfaces and Classes Predefined Attributes Context options and parameters Su

    tadasy
    tadasy 2012/06/13
    phpの円周率
  • PHP: セキュリティ - Manual

    I'd recommend a 404 over a 403 considering a 403 proves there is something worth hacking into. index.php: <?php define('isdoc',1); include('includes/include.sqlfunctions.php'); // Rest of code for index.php ?> include.sqlfunctions.php (or other include file): <?php if(isdoc !== 1) // Not identical to 1 { header('HTTP/1.1 404 Not Found'); echo "<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n

    PHP: セキュリティ - Manual
    tadasy
    tadasy 2010/05/13
  • PHP: tokyo_tyrant - Manual

    tokyo_tyrant はじめにインストール/設定要件インストール手順実行時設定リソース型定義済み定数例TokyoTyrant — TokyoTyrant クラスTokyoTyrant::add — 数値キーを加算するTokyoTyrant::connect — データベースに接続するTokyoTyrant::connectUri — データベースに接続するTokyoTyrant::__construct — 新しい TokyoTyrant オブジェクトを作成するTokyoTyrant::copy — データベースをコピーするTokyoTyrant::ext — リモートスクリプトを実行するTokyoTyrant::fwmKeys — 前方一致でマッチするキーを返すTokyoTyrant::get — 値を取得するTokyoTyrant::getIterator — イテレータを取得する

  • 1