入口
pkgsrc による設置
  php3
    php3-i18n
    database/php3-pgsql
    www/ap-php3
apache 版
postgres (1)
  php4-pgsql (3)
    make install
php4 (apache1)
  www/php4(2)
    php4 の版
  www/ap-php4(5)
  www/apache(4)
    IPv6
    IPv4+nossl
    Apache/SSL
php4(apache2) - 依存関係
  ap2-php4
    php4
    mod_php4.so
    /usr/pkg/etc/php.ini
  php4-session(6)
    session.so
    --enable-session
    core_globals
    map
    php4 i18n 無
    php4 i18n
  configure
セッション管理
  php3 互換モード
  php4 内蔵
  php4 + phplib
  phpinfo()
PostgreSQL 準備
  postmaster
  環境変数
  initdb
    実際の様子
    試しに起動
  postmaster 設定
  postgreql.conf
  pg_hba.conf
  postmaster の起動
  使用者登録
  pg_ctl
  /etc/rc.conf
  shutdown
データべースを作る
psql
  psql \h
  psql \?
  psql \h select
  psql \d
  psql \copy
  psql 操作
  Data Type
    DATE
Application
  pgpost
    pgpost 設置例
    psql で見る
  AuthPG
      create table
        GRANT
  pgimage
  pgimage psql
SQL
URL
  PostgreSQL
  PHP
良くある問題
    undefined pg_connect()
    Link-ID == false
    Call-time pass-by-reference
    session_register
    Undefined session_adapt_flush
    Failed opening for inclusion
  does not exist in ..
  pg_exec() query failed
  Undefined property: Port
  undefined function: preg_match()
  used in non-rule query
その他
適用例
  日記から等

PostgreSQL + Apache + PHP4 | PHP4 programming

php4 + phplib

Using PHP4 Sessions with PHPlib*
php4 内蔵のセッション管理を phplib と共に利用する方法
If you don't have full control over the PHP4 compilation or configuration, you are probably bound to the standard configuration (without the --enable-trans-sid --enable-session option). If this case you have to add the session id to all links manually (for no-cookie browsers). In this case you should use phplib for PHP4 because it offers convenient url functions, while still using PHP4 native sessions.
http://www.sanisoft.com/phplib/manual/php4_sessions.php
in-phpug ? Indian PHP User Group
phplib (for php4) はここから取得 (download)
http://groups.yahoo.com/group/in-phpug/files/
PHP マニュアル → LXXVIIIセッション処理関数
PHPのセッションサポート機能は、複数回のアクセスを通じて特定のデー タを保持する手段を実現するものです。
session_register() 他 session_* の関数の説明がある。
http://php.s3.to/man/ref.session.html
Session Management with PHP4 (Mattias Nilsson) ..
(英語だが、多くの人の意見も付いていて情報が多い)
http://www.phpbuilder.com/columns/mattias20000105.php3
簡単なショッピングカート
http://www.pat.hi-ho.ne.jp/dimension/sample/sample_others_session_cart.shtml
この画面は Jeedosaquin によって表示しています。
Last Update: Sat, 04 May 2019 00:45:20 GMT 1.66 2008/03/08