検索用語を入力
検索フォームを送信
my-Tool.com: 僕について - 私とこのサイトについての一言。 - お問い合わせ
IPアドレス
MaximaPHP
正規表現テスタ
数学
ゲーム
ネットワーク
インターネットコード
日付と時間
文字列とテキスト
ワードドメイン
コードテスタ
ビーワイズビット
ランキン
質問と答え
僕について
フォーラム
AdManner
無料広告サイト
インドネシア語
英語
僕のプロファイル
サイトマップ
お問い合わせ
お問い合わせ
このサイトについてご意見をお聞かせください。
送信者
:
件名
:
内容
:
このツールを利用したほとんどのお客様は以下のツールも利用しました。
Domain Verifier
(33.3%),
Source
(33.3%)
このツールのソースコードは以下に示す。
<?php /****************************************************************** * * Contact, このサイトについてご意見をお聞かせください。 * Copyright (C) 2006, Bowo Prasetyo * * http://www.my-tool.com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation below, * * http://www.gnu.org/licenses/gpl.html#TOC1 * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, * MA 02110-1301, USA. * * このプログラムはフリーソフトウェアです。あなたはこれを、以下のURLにフリーソフトウェ * ア財団によって発行された GNU 一般公衆利用許諾契約書の定める条件の下で * 再頒布または改変することができます。 * * http://www.gnu.org/licenses/gpl.html#TOC1 * * このプログラムは有用であることを願って頒布されますが、*全くの無保証* * です。商業可能性の保証や特定の目的への適合性は、言外に示されたものも含 * め全く存在しません。詳しくはGNU 一般公衆利用許諾契約書をご覧ください。 * * あなたはこのプログラムと共に、GNU 一般公衆利用許諾契約書の複製物を一部 * 受け取ったはずです。もし受け取っていなければ、フリーソフトウェア財団ま * で請求してください(宛先は the Free Software Foundation, Inc., 59 * Temple Place, Suite 330, Boston, MA 02111-1307 USA)。 * *****************************************************************/ /** * 現在のツールを表示する * * フォームがまだ送信されていない場合は連絡フォームの最初のページを表示 * し、送信されていたらつぎのページすなわち確認ページを表示して、それから * メッセージを送信する。 * * @param int $depth インデックスページからどれぐらい深いか * @param string $qstring 親ツールのクエリー文字列 */ unset($confirm); if (isset($_POST['confirm'])) $confirm = $_POST['confirm']; unset($from); if (isset($_POST['from'])) $from = trim(stripslashes($_POST['from'])); unset($subject); if (isset($_POST['subject'])) $subject = trim(stripslashes($_POST['subject'])); unset($message); if(isset($_POST['message'])) $message = trim(stripslashes($_POST['message'])); ?> <script type="text/javascript"> google_ad_client = "pub-6269511881695171";ngoogle_alternate_ad_url = "http://www.my-tool.com/a120_90.php"; google_ad_width = 728; google_ad_height = 15; google_ad_format = "728x15_0ads_al_s"; google_ad_channel = ""; google_color_border = "FFFFFF"; google_color_bg = "FFFFFF"; google_color_link = "A9501B"; google_color_text = "000000"; google_color_url = "008000"; </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script><br /><br /> <form method="POST" action=""> <table border=0> <?php if (!isset($confirm) && isset($from) && isset($subject) && isset($message)) echo <<<EOT <tr><td>送信しますか?</td><td>:</td><td> <input type="radio" name="confirm" value="yes"> はい <input type="radio" name="confirm" value="no" checked> いいえ </td></tr> EOT; ?> <tr><td>送信者</td><td>:</td><td><input type="text" name="from" value="<?php echo $confirm=='yes'?'':$from ?>"></td></tr> <tr><td>件名</td><td>:</td><td><input type="text" name="subject" value="<?php echo $confirm=='yes'?'':$subject ?>"></td></tr> <tr><td>内容</td><td>:</td><td><textarea name="message" rows="20" cols="60"><?php echo $confirm=='yes'?'':$message ?></textarea></td></tr> </table> <input type="submit"> </form> <br> <?php if (isset($from) && isset($subject) && isset($message)) { if ($confirm=='yes') { $headers = 'From: webmaster@my-tool.com' . "\r\n" . 'Reply-To: webmaster@my-tool.com' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); $message = wordwrap("送信者: $from\n\n$message", 70); if (mail('prazjp@gmail.com', $subject, $message, $headers)) { echo "ありがとうございます。以下の内容のメールがウェブマスタに送信しました。<br><br>"; echo "<pre>件名: $subject\n$message</pre><br><br>"; } } } ?>
©2006 my-Tool.com