IPアドレスから携帯のキャリアを高速に判定するsymfonyプラグイン「sfMobileIPPlugin」 Tweet 2009/4/23 木曜日 matsui Posted in ソフト紹介, 記事紹介・リンク | No Comments » ケータイサイトを作成する上で、キャリア判定は避けて通れないと思いますが、IPアドレスから携帯のキャリアを高速に判定するsymfonyプラグイン「sfMobileIPPlugin」というものがあるらしいです。 → ベイエリア情報局 IPアドレスから携帯のキャリアを高速に判定するsymfonyプラグインを作った [blog.bz2.jp] パッケージはopenpearに登録されています。 → openpear sfMobileIPPlugin [openpear.org] 仕組みとしては、あらかじめ登録されてある各キャリアのIPアドレス帯から、バイナリ
Easy Install Not sure? Get more info. pear install HTTP_Request2 Pyrus Install Try PEAR2's installer, Pyrus. php pyrus.phar install pear/HTTP_Request2 PHP5 rewrite of HTTP_Request package (with parts of HTTP_Client). Provides cleaner API and pluggable Adapters: * Socket adapter, based on old HTTP_Request code, * Curl adapter, wraps around PHP's cURL extension, * Mock adapter, to use for testing pa
Easy Install Not sure? Get more info. pear install HTTP_Request2-0.1.0 Pyrus Install Try PEAR2's installer, Pyrus. php pyrus.phar install pear/HTTP_Request2-0.1.0 Release date: 2008-11-17 08:30 UTC Release state: alpha Release uploaded by: avb Changelog: Initial release. The features supported are mostly the same as those of HTTP_Request, with the following additional feature requests implemented:
PEAR の HTTP_Request を使用してファイルをアップロードする方法です。 <form action='POST_URL' method='post' enctype='multipart/form-data'> <input type='text' name='title'> <textarea name='body'></textarea> <input type='file' name='upload_file'> <input type='submit'> </form> 上記のような HTML でファイルをアップロードする場合と同じような処理をするには、下記のように HTTP_Request を使用します。 // POST パラメータ $post_data = array( 'title' => $title, 'body' => $body, ); // アップロー
2008-10-05 製作著作 © 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 : The PEAR Documentation Group 目次はじめにこのマニュアルについてこのマニュアルの構成著者・訳者についてIPEAR について1 章 はじめに2 章 サポート3 章 標準コーディング規約4 章 PEAR2 コーディング規約5 章 PEAR2 Policies6 章 貢献7 章 FAQ - 頻出する質問8 章 Constitution9 章 PEAR グループの管理文書IIユーザーズガイド10 章 インストール11 章 コマンドラインのインストーラIIIメンテナ入門12 章 はじめに13 章 PEAR に貢献するための方法14 章 PEAR コミュニティーへの参加15 章 公式投稿採択プロセス16 章 メンテナンスされていないパッケージ
» What is it? PEAR is a framework and distribution system for reusable PHP components. Sounds good? Perhaps you might want to know about installing PEAR on your system or installing pear packages. You can find help using PEAR packages in the online manual and the FAQ. If you have been told by other PEAR developers to sign up for a PEAR website account, you can use this interface. » Hot off the Pre
POSTデータは、addPostData関数でnameとvalue(値)を指定します。 <?php require_once "HTTP/Request.php"; $objHttp = new HTTP_Request("https://www.bnote.net/"); $objHttp->setMethod(HTTP_REQUEST_METHOD_POST); $objHttp->addPostData("user", "bnote"); if (!PEAR::isError($objHttp->sendRequest())) { $body = $objHttp->getResponseBody(); } ?> Pearのマニュアルにもありますが、addPostData関数はメンバ変数に連想配列としてPOSTデータを 保存します。続けてリクエストする場合、POSTデータが残っている
This domain may be for sale!
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く