約 5,511,629 件
https://w.atwiki.jp/asia/pages/43.html
PHP Hypertext Preprocessor http //www.php.net/ http //jp2.php.net/ (日本のミラーサイト) 日本PHPユーザー会 (Japan PHP User Group) http //www.php.gr.jp/
https://w.atwiki.jp/testafds/pages/12.html
PHP Hypertext Preprocessor http //www.php.net/ http //jp2.php.net/ (日本のミラーサイト) 日本PHPユーザー会 (Japan PHP User Group) http //www.php.gr.jp/
https://w.atwiki.jp/picolit/pages/19.html
コード ステータス おおよその意味 200 OK リクエストは正常に成功 304 Not Modified リクエストされたリソースは更新されていない 403 Forbidden アクセス権がない 404 Not Fount リクエストされたリソースが存在しない 500 Internal Server Error サーバ側のエラー 503 Service Unavailable サーバが一時的に利用できない
https://w.atwiki.jp/wiki8_hime/pages/42.html
環境;FreeBSD6.3 コピペパーツ 時計あわせ ntpdate -s -b 133.100.11.8 カーネルチューニング ===/boot/loader.conf=== echo /boot/loader.conf; echo kern.ipc.nmbclusters=32768 /boot/loader.conf; echo kern.ipc.maxsockets=32768 /boot/loader.conf; echo accf_http_load="YES" /boot/loader.conf; echo beastie_disable="YES" /boot/loader.conf; echo kern.maxssiz="134217728" /boot/loader.conf; echo kern.dfldsiz="1073741824" /boot/loader.conf; echo kern.maxdsiz="1073741824" /boot/loader.conf ===/etc/sysctl.conf=== echo /etc/sysctl.conf echo net.inet.tcp.inflight_enable=1 /etc/sysctl.conf echo kern.maxfiles=16384 /etc/sysctl.conf echo kern.maxfilesperproc=14745 /etc/sysctl.conf echo kern.ipc.somaxconn=4096 /etc/sysctl.conf echo kern.ipc.maxsockbuf=1048576 /etc/sysctl.conf ===前準備 ~ パッケージからインストール -r するとリモートからとってくるよ編~ === pkg_add -r perl pkg_add -r rsync pkg_add -r cvsup-without-gui pkg_add -r zip pkg_add -r unzip pkg_add -r wget pkg_add -r curl pkg_add -r libxml2 pkg_add -r expat2 pkg_add -r cclient pkg_add -r tidy-lib pkg_add -r freebsd-update pkg_add -r jpeg pkg_add -r png pkg_add -r freetype pkg_add -r freetype2 pkg_add -r gd pkg_add -r mhash pkg_add -r bsdsar pkg_add -r openssl ===cvsup=== cvsupは vi /usr/share/examples/cvsup/ports-supfile で host=backup1.atwiki.jp に設定。 rehash でパスを再読み込み ==cvsupでportsを更新== cvsup /usr/share/examples/cvsup/ports-supfile アパッチ fetch ftp //ftp.ring.gr.jp/pub/net/apache/httpd/apache_1.3.39.tar.gz tar zxvf apache_1.3.39.tar.gz cd apache_1.3.39 setenv EXTRA_CFLAGS -DFD_SETSIZE=16384 ./configure --prefix=/usr/local/apache13 --enable-module=most --enable-module=so --enable-shared=max --enable-suexec --suexec-caller=www --suexec-logfile=/usr/local/apache13/logs/suexec_log --suexec-uidmin=10000 --suexec-gidmin=10000 make make install mod_layout改造版をどっかからとってくる。 tar zxvf mod_layout cd mod_layout-3.4 vi Makefile make make install viで /usr/local/apache13/bin/apxs 開いて、 #!/usr/local/bin/perl 追加。 Mysql cd /usr/ports/databases/mysql41-client/ make WITH_CHARSET=sjis WITH_XCHARSET=all make install cd /usr/ports/databases/mysql41-server/ make make install /etc/rc.confに追加 mysql_enable="YES" mysql_dbdir="/usr/local/mysql_data" PHP fetch http //jp.php.net/get/php-5.2.6.tar.gz/from/this/mirror mv mirror php-5.2.6.tar.gz tar zxvf php-5.2.6.tar.gz cd php-5.2.6/ ./configure --with-apxs=/usr/local/apache13/bin/apxs --enable-mbstring --with-openssl --with-tidy --with-gd --with-jpeg-dir=/usr/local --with-zlib --enable-mbregex --enable-gd-jis-conv --with-freetype-dir=/usr/local/ --enable-zend-multibyte --enable-mbstring=japanese --enable-ftp --with-png-dir=/usr/local --enable-memory-limit --with-xmlrpc --enable-imap --with-mysql=/usr/local --with-pdo-mysql=/usr/local --enable-iconv --with-gettext --with-curl --with-mh make make install proftpd cd /usr/ports/ftp/proftpd make (defolut + quota + mysql) make install /etc/rc.confに追加 proftpd_enable="YES" APC ===autoconf/aotoheader=== cd /usr/ports/devel/autoconf213/ make make install ln -s /usr/local/bin/autoconf213 /usr/local/bin/autoconf ln -s /usr/local/bin/autoheader213 /usr/local/bin/autoheader ===APC=== fetch http //pecl.php.net/get/APC-3.0.12p2.tgz tar zxvf APC-3.0.12p2.tgz cd APC-3.0.12p2 phpize ./configure --enable-apc-mmap--with-apxs --with-php-config=/usr/local/bin/php-config make make install mod_bandwidth.c mkdir tmp cd tmp/ fetch ftp //ftp.cohprog.com/pub/apache/module/1.3.0/mod_bandwidth.c /usr/local/apache13/bin/apxs -c mod_bandwidth.c /usr/local/apache13/bin/apxs -i -a mod_bandwidth.so /usr/local/apache13/bin/apachectl restart httpd.confを設定する前に作業デレクトリを作成。 mkdir /usr/local/apache13/bandwidth mkdir /usr/local/apache13/bandwidth/link mkdir /usr/local/apache13/bandwidth/master chown -R www www /usr/local/apache13/bandwidth mod_limitipconn fetch http //dominia.org/djao/limit/mod_limitipconn-0.04.tar.gz tar zxvf mod_limitipconn-0.04.tar.gz cd mod_limitipconn-0.04 vi Makefile APXS=/usr/local/apache13/bin/apxs ←apxsをフルパスで指定 make make install 権限変更 権限変更750 /root/ /usr/local/apache13/conf/* /usr/local/etc/ /usr/local/etc/proftpd.conf /usr/home/* ディレクトリ設置 /usr/local/www/以下 /usr/local/www/htdocs/_/ /root/_atpages/ python インストール cd /usr/ports/lang/python25/ make make install ruby インストール cd /usr/ports/lang/ruby18/ make make install * 導入ずみ CGI グループ追加 pw groupadd -n pages -g 10000 pf mysql設定 analog /usr/local/www/session/ 設置 /usr/local/www/skel/ 設置 /usr/local/lib/php.ini 設置 /etc/crontab 編集 /etc/newsyslog.conf 編集 モジュール追加 imagemagick perl python ruby
https://w.atwiki.jp/bfgmatome/pages/603.html
ゲーム情報(登録されているタグ) ジャンル>アイテム探し ジャンル>アドベンチャー ジャンル>コレクターズエディション ジャンル>パズル 製作会社>不明 言語>英語 コメント欄へ移動 ゲーム配布ページ 英語 http //www.bigfishgames.com/download-games/11532/stray-souls-dollhouse-story/index.html http //www.bigfishgames.com/download-games/11140/stray-souls-dollhouse-story-collectors/index.html 日本語 紹介文 Welcome to a town where something that should not exist runs free; where a desperate wife will risk her beating heart to find her husband; and where a terrible secret lies buried behind an orphanage. Search for clues, solve puzzles, and unlock new areas as you visit spine-chilling locations, play stimulating mini-games and locate Hidden Objects. Stray Souls – A Dollhouse Mystery will take you to a dark and spooky world! Dark and spooky atmosphere Incredible storyline Solve A Dollhouse Mystery! For a more in-depth experience, check out the Collector s Edition! The Collector’s Edition includes Bonus prequel chapter Concept art Incredible soundtrack Wonderful wallpapers 画像 « » var ppvArray_0_360c20672bec53dac4f6841293a80130 = new Array(); ppvArray_0_360c20672bec53dac4f6841293a80130[0] = http //w.atwiki.jp/bfgmatome/?cmd=upload&act=open&page=Stray+Souls%3A+Dollhouse+Story&file=en_stray-souls-dollhouse-story-collectors-screen1.jpg ; window.onload=function(){ ppvShow_0_360c20672bec53dac4f6841293a80130(0); }; function ppvShow_0_360c20672bec53dac4f6841293a80130(n){ if(!ppvArray_0_360c20672bec53dac4f6841293a80130[n]){ alert( 画像がありません ); return; } ppv_0_360c20672bec53dac4f6841293a80130$( ppv_img_0_360c20672bec53dac4f6841293a80130 ).src=ppvArray_0_360c20672bec53dac4f6841293a80130[n]; ppv_0_360c20672bec53dac4f6841293a80130$( ppv_link_0_360c20672bec53dac4f6841293a80130 ).href=ppvArray_0_360c20672bec53dac4f6841293a80130[n]; ppv_0_360c20672bec53dac4f6841293a80130$( ppv_prev_0_360c20672bec53dac4f6841293a80130 ).href= javascript ppvShow_0_360c20672bec53dac4f6841293a80130( +(n-1)+ ) ; ppv_0_360c20672bec53dac4f6841293a80130$( ppv_next_0_360c20672bec53dac4f6841293a80130 ).href= javascript ppvShow_0_360c20672bec53dac4f6841293a80130( +(n+1)+ ) ; } function ppv_0_360c20672bec53dac4f6841293a80130$(){ var elements = new Array(); for (var i = 0; i arguments.length; i++){ var element = arguments[i]; if (typeof element == string ) element = document.getElementById(element); if (arguments.length == 1) return element; elements.push(element); } return elements; } 備考 レス一覧 コメント コメント すべてのコメントを見る トップページに戻る
https://w.atwiki.jp/dattan-zin/pages/22.html
1974 UK Tour 03.01 – UK, Blackpool, Winter Gardens 03.02 – UK, Aylesbury, Friars 03.03 – UK, Plymouth, Guildhall 03.04 – UK, Paignton, Festival Hall 03.08 – UK, Sunderland, Locarno 03.09 – UK, Cambridge, Corn Exchange 03.10 – UK, Croydon, Greyhound 03.12 – UK, Dagenham, Roundhouse 03.14 – UK, Cheltenham, Town Hall 03.15 – UK, Glasgow, University 03.16 – UK, Stirling, University 03.19 – UK, Cleethorpes, Winter Gardens 03.20 – UK, Manchester, University 03.22 – UK, Canvey Island, The Paddocks 03.23 – UK, Cromer, Links Pavillon 03.24 – UK, Colchester, Woods Leisure Centre 03.26 – Isle Of Man, Douglas, Palace Lido 03.28 – UK, Aberystwyth, University 03.29 – UK, Penzance, The Gardens 03.30 – UK, Taunton, Century Ballroom 03.31 – UK, London, Rainbow Theatre 04.02 – UK, Birmingham, Barbarellas (postponed from1974.03.17) USA Tour(Supporting MOOT THE HOOPLE) 04.16 – USA, Denver, Regis College 04.17 – USA, Kansas City, Memorial Hall 04.18 – USA, St Louis, Keil Auditorium 04.19 – USA, Oklahoma City, Fairgrounds Appliance Building 04.20 – USA, Memphis, Mid South Coliseum 04.21 – USA, New Orleans, St Bernard Civic Auditorium Cancelled:04.25 – USA, Reading, Allbright Centre 04.26 – USA, Boston, Orpheum Theatre 04.27 – USA, Providence, Palace Theatre 04.28 – USA, Portland, Exposition Hall 05.01 – USA, Harrisburg, Farm Arena 05.02 – USA, Allentown, Agricultural Hall 05.03 – USA, Wilkes Barre, Kings College 05.04 – USA, Waterbury, Palace Theatre 05.07 – USA, New York, Uris Theatre 05.08 – USA, New York, Uris Theatre 05.09 – USA, New York, Uris Theatre 05.10 – USA, New York, Uris Theatre 05.11 – USA, New York, Uris Theatre 05.12 – USA, New York, Uris Theatre Cancelled:05.14 – USA, Boston, Orpheum Theatre Cancelled:05.15 – USA, Washington, Construction Hall Cancelled:05.16 – USA, Charleston, Municipal Auditorium Cancelled:05.17 – USA, Atlanta, Fox Theatre Cancelled:05.18 – USA, Knoxville, Coliseum Cancelled:05.20 – USA, Detroit, Masonic Temple Cancelled:05.21 – USA, Chicago, Auditorium Theatre Cancelled:05.22 – USA, Milwaukee, Auditorium Cancelled:05.23 – USA, South Bend, Morris Civic Center Cancelled:05.24 – USA, Toledo, Sports Arena Cancelled:05.25 – USA, Cleveland, Allan Theatre Cancelled:05.26 – USA, Columbus, AMershon Auditorium Cancelled:05.27 – Canada, Toronto, Massey Hall Cancelled:05.28 – Canada, London Cancelled:05.29 – USA, Pittsburg Cancelled:05.30 – USA, Philadelphia, Schubert Theatre Cancelled:05.31 – USA, Philadelphia, Schubert Theatre Cancelled:06.02 – USA, Richmond
https://w.atwiki.jp/monopowers/pages/80.html
PHP Hypertext Preprocessor http //www.php.net/ http //jp2.php.net/ (日本のミラーサイト) 日本PHPユーザー会 (Japan PHP User Group) http //www.php.gr.jp/
https://w.atwiki.jp/ma-100140/pages/22.html
Ver5.2.10での不思議 今まで5.1系を使っていたのですが、本番環境をやり直すときによせばいいけどバージョンアップ。 そうすると不思議なことに今まで動いていたところがうまくいかない。 define( MY_PHPLM_DIR ,$d_root2 . /phplayersmenu ); require_once MY_PHPLM_DIR. /lib/PHPLIB.php ; エラー内容は、PHPLIB.phpが見つからないんだって?? そんなはずないよね。いままで5.1系では動いていたんだから... define( MY_PHPLM_DIR ,$d_root2 . /phplayersmenu ); require_once / . MY_PHPLM_DIR. /lib/PHPLIB.php ; 仕方ないので、こうやったら動きました。 何で、ルートをわざわざ改めて指定してあげるのかな?不思議。 LinuxサーバーからAIXのDB2へ接続する 今回はLinuxサーバーのPHPからAIX上にあるDB2への接続にチャレンジします。 Turbolinux Server 11 (Musasabi)1回目 ダメでした Kernel Level 2.6.23-2 Kernel Build Date #1 SMP Sun Oct 28 14 52 33 JST 2007 Machine Type i686 GLIBC version 2.6.1 DB2 v8.x (x86 for 2.6 kernels) libstdc++-.so.5 does not exist on this system. CentOS release 4.8 (Final) Kernel Level 2.6.9-89.EL Kernel Build Date #1 Mon Jun 22 12 19 40 EDT 2009 Machine Type i686 GLIBC version 2.3.4 DB2 v8.x (x86 for 2.6 kernels) libstdc++.so.5 exists and is a link to libstdc++.so.5.0.7 残念ながらCentOSでは自分でコンパイルしたApacheへセキュリティーの設定でうまくいかなかったために今後の使用をあきらめました。たぶん2度と使うことはない。丸3日嵌ってしまいました。 プロセスの SELinux セキュリティコンテキスト を見る パッケージの分 $ ps auxZ | grep httpd root system_r httpd_t root 23929 0.0 2.3 20776 8900 ? Ss 17 55 0 00 /usr/sbin/httpd -k start root system_r httpd_t apache 23930 0.0 1.2 20776 4848 ? S 17 55 0 00 /usr/sbin/httpd -k start root system_r httpd_t apache 23931 0.0 1.1 20776 4348 ? S 17 55 0 00 /usr/sbin/httpd -k start root system_r httpd_t apache 23932 0.0 1.2 20776 4848 ? S 17 55 0 00 /usr/sbin/httpd -k start root system_r httpd_t apache 23933 0.0 1.2 20776 4812 ? S 17 55 0 00 /usr/sbin/httpd -k start root system_r httpd_t apache 23934 0.0 1.4 20776 5668 ? S 17 55 0 00 /usr/sbin/httpd -k start root system_r httpd_t apache 23935 0.0 1.3 20776 5128 ? S 17 55 0 00 /usr/sbin/httpd -k start root system_r httpd_t apache 23936 0.0 1.1 20776 4252 ? S 17 55 0 00 /usr/sbin/httpd -k start root system_r httpd_t apache 23937 0.0 1.1 20776 4244 ? S 17 55 0 00 /usr/sbin/httpd -k start 自分でコンパイルした分 user_u system_r unconfined_t admin 24055 0.0 0.1 6116 748 pts/1 S+ 20 32 0 00 grep httpd $ ps auxZ | grep httpd root system_r unconfined_t root 24096 0.9 3.0 34652 11768 ? Ss 20 36 0 00 /www/bin/httpd root system_r unconfined_t nobody 24097 0.0 2.2 34628 8752 ? S 20 36 0 00 /www/bin/httpd root system_r unconfined_t nobody 24098 0.0 2.2 34628 8752 ? S 20 36 0 00 /www/bin/httpd root system_r unconfined_t nobody 24099 0.0 2.2 34628 8752 ? S 20 36 0 00 /www/bin/httpd root system_r unconfined_t nobody 24100 0.0 2.2 34628 8752 ? S 20 36 0 00 /www/bin/httpd root system_r unconfined_t nobody 24101 0.0 2.2 34628 8752 ? S 20 36 0 00 /www/bin/httpd root system_r unconfined_t root 24103 0.0 0.1 4816 748 pts/1 S+ 20 36 0 00 grep httpd apacheのユーザにしたとき $ ps auxZ | grep httpd root system_r unconfined_t root 24111 2.2 3.0 34540 11764 ? Ss 20 38 0 00 /www/bin/httpd root system_r unconfined_t apache 24112 0.0 2.2 34516 8748 ? S 20 38 0 00 /www/bin/httpd root system_r unconfined_t apache 24113 0.0 2.2 34516 8748 ? S 20 38 0 00 /www/bin/httpd root system_r unconfined_t apache 24114 0.0 2.2 34516 8748 ? S 20 38 0 00 /www/bin/httpd root system_r unconfined_t apache 24115 0.0 2.2 34516 8748 ? S 20 38 0 00 /www/bin/httpd root system_r unconfined_t apache 24116 0.0 2.2 34516 8748 ? S 20 38 0 00 /www/bin/httpd root system_r unconfined_t root 24118 0.0 0.1 5624 748 pts/1 S+ 20 38 0 00 grep httpd unconfined_tになっているのが問題であることは推測できたけど、どこで設定するのやら... 80ポートを空けたりと色々大変でした。結局SELinuxは大嫌いになりました。分かり難い。だからセキュリティーなんだろうけど...普通の人には使わせないというポリシーだろう。 Vien Linux 4.2 db2のセットアップ時に文字化け発生。そういえば前回失敗したCent OSはUTF-8だったよな。 # LANG=ja_JP.eucJP ./db2setup このOS幸先悪い。このコマンドでも文字化け。仕方ない英語モードで実施しよう。マニュアルも当てにならない。先が思いやられます。 Kernel Level 2.6.16-0vl76.27 Kernel Build Date #1 SMP Tue Dec 18 23 38 48 JST 2007 Machine Type i686 GLIBC version 2.3.4 DB2 v8.x (x86 for 2.6 kernels) libstdc++.so.5 exists and is a link to libstdc++.so.5.0.7 どうもこのOSもCent OSと同じで腐れているな。ファイアウォールなしでインストールしたのに、Apacheにアクセスできない。アクセスログをみても0バイト。完全にCentOSのときと同じ症状。ためしにiptablesを見ようとおもったが、無い。そうだろう何せファイアウォールなしでインストールしたんだから。何でだろうね。psコマンドで見てもちゃんとhttpdはある。しかしvnc使っての作業だったけど、何度も落ちる。こんなのはCentOSでも無かったな。やはりこのOSも使う気しなくなってきた。3連続はずれだ。時間の無駄だ。そのそもDB2がきちんとGLIBC2.6で動けば、こんな腐ったosと遊ばなくてすんだのに。さて次は何にすべきか... カーネル2.4版にしようか。これもSELinuxの亡霊か Turbolinux Server 11 (Musasabi)2回目 やっとAIX上のDB2へ接続できました。感激です。 まとめ GUI環境で行った方が楽です。 どうしてもCUIが好きな場合(私みたいに)は応答ファイルを利用してインストール 文字コード関係でエラーになったら、$LANG設定を確認します。 phpの再コンパイル コンパイルオプションに以下をプラスして実行します。あとは通常の手順です。 --with-pdo-odbc=ibm-db2,/opt/IBM/db2/V8.1/ --with-unixODBC apachectlに以下を追加 #DB2 . /home/db2inst1/sqllib/db2profile LANG=ja_JP.eucJP export LANG おまけ① 私の環境ではAIXのDB2(SJISで格納)⇒PHP(SJISで表示)のために、上記部分に db2set DB2CODEPAGE="943" を追加して、PHP側で文字コードの変換をしなくてもいいようにしています。 おまけ② php.iniに [pdo] pdo_odbc.db2_instance_name ="/home/db2inst1/" を記入するとエラーになります。Ver5.2.10 そういえば、Vien Linux 4.2ではphp.iniが無いのにちゃんと機能しています。この設定はしないほうがいいような気がします。 Rad Hat Linux release 2.6.18-194.el5 DB2+PHPのメモ Flex3+PHPのメモ jQuery+PHPのメモ
https://w.atwiki.jp/sakuba/pages/11.html
アクセスカウンター AC.PHP ? # ***************************************************** # このソースコードは、EUC-JP で記述されています # ***************************************************** header( "Content-Type text/javascript; Charset=shift_jis" ); header( "Expires Wed, 31 May 2000 14 59 58 GMT" ); ini_set( display_errors , "1" ); function inc( $path ) { $inc = @file( $path ); array_shift($inc); array_pop($inc); $GLOBALS[ inc_eval_txt ] = implode( "", $inc ); eval($GLOBALS[ inc_eval_txt ]); } $conf_client_charset = "euc-jp"; $conf_db_type = 1; $conf_db_connect_action = "set names ujis "; inc( "http //homepage2.nifty.com/lightbox/gen/db.php" ); $target = "http //localhost/php/"; if ( substr( $_SERVER[ HTTP_REFERER ], 0, strlen( $target ) ) == $target ) { $SQL = new DB( "localhost", "land", "root", "" ); $Query = "update アクセス set count = count + 1"; $SQL- Execute( $Query ); $Query="select * from アクセス"; $Column = $SQL- QueryEx( $Query ); $cnt=$Column[0]; $SQL- Close; } else { $cnt = アクセスできません ; } $font_path = "./7barP.ttf"; # ******************************************************* # 内部コードは、UTF-8 ( EUC-JP でも良い ) #******************************************************** mb_language( "ja" ); mb_internal_encoding( "UTF-8" ); # ******************************************************** # 対象文字列 # ******************************************************** $img_text = $cnt; $img_text = mb_convert_encoding( $img_text , "UTF-8" , "EUC-JP" ); # ******************************************************* # キャンバス作成 # ******************************************************* $im = imagecreate( 150, 30 ); # ******************************************************* # 画像の背景色 # imagecolorallocate() の最初のコールで背景色がセットされます # ******************************************************* $white = imagecolorallocate( $im, 255, 255, 255 ); # ******************************************************* # 画像の文字色 # ******************************************************* $black = imagecolorallocate( $im, 0, 0, 0 ); imagettftext( $im, 20,# サイズ 0,# 角度 5,# x 座標 22,# y 座標 $black, $font_path, $img_text); # ******************************************************* # PNG 出力 # ******************************************************* imagepng($im); # ******************************************************* # 終了処理 # ******************************************************* imagecolordeallocate( $im, $black ); imagecolordeallocate( $im, $white ); imagedestroy($im); ? HTML埋め込み IMG src="./AC.php" border="0" galleryimg="no" / Google検索設置 Google.PHP ? header( "Content-Type text/javascript; Charset={$_GET[ charset ] }" ); header( "Expires Wed, 31 May 2000 14 59 58 GMT" ); if ( $_GET[ charset ] == ) { $_GET[ charset ] = EUC-JP ; } mb_language( "ja" ); mb_internal_encoding("EUC-JP"); $KJ1 = 検索 ; $KJ2 = を検索 ; if ( strtoupper( $_GET[ charset ] ) == SHIFT_JIS ) { $KJ1 = mb_convert_encoding( $KJ1, "SHIFT_JIS", "EUC-JP" ); $KJ2 = mb_convert_encoding( $KJ2, "SHIFT_JIS", "EUC-JP" ); } if ( strtoupper( $_GET[ charset ] ) == UTF-8 ) { $KJ1 = mb_convert_encoding( $KJ1, "UTF-8", "EUC-JP" ); $KJ2 = mb_convert_encoding( $KJ2, "UTF-8", "EUC-JP" ); } ? str= ; str+=" form target=\"_blank\" method=get action=\"http //www.google.co.jp/search\" "; str+="\n table bgcolor=\"#FFFFFF\" tr valign=top td "; str+="\n a href=\"http //www.google.co.jp/\" "; str+="\n img src=\"http //www.google.com/logos/Logo_40wht.gif\" "; str+=" \nborder=\"0\" alt=\"Google\" align=\"absmiddle\" /a "; str+="\n /td \n td \n input type=text "; str+="name=q size=31 maxlength=255 value=\"\" \n input "; str+="type=hidden name=ie value= ?= $_GET[ charset ] ? \n input "; str+="type=hidden name=oe value= ?= $_GET[ charset ] ? \n input "; str+="type=hidden name=hl value=\"ja\" \n input "; str+="type=submit name=btnG value=\"Google ?= $KJ1 ? \" "; str+="\n font size=-1 \n input type=hidden "; str+="name=domains value=\" ?= $_GET[ domain ] ? \" br "; str+="\n input type=radio name=sitesearch value=\"\" "; str+="WWW ?= $KJ2 ? \n input type=radio name=sitesearch "; str+="value=\" ?= $_GET[ domain ] ? \" checked ?= $_GET[ title ] ? "; str+=" ?= $KJ2 ? \n /font \n /td /tr /table "; str+="\n /form \n "; document.write( str ); HTML埋め込み SCRIPT language="javascript" type="text/javascript" src="ディレクトリパス/Google.php" /SCRIPT
https://w.atwiki.jp/idol-master/pages/27.html
PHP Hypertext Preprocessor http //www.php.net/ http //jp2.php.net/ (日本のミラーサイト) 日本PHPユーザー会 (Japan PHP User Group) http //www.php.gr.jp/