<?php include 'kinou.php'; include 'config.php'; /*リンクのパラメーターからファイルのデータを読み込む*/ $a = $_REQUEST['a']; $honbun = file_get_contents($a); /*携帯用に表示する為に変換する*/ $keitai = new keitai(); $keitai->pre($honbun); print $honbun;
#!/usr/local/bin/php <?php include 'kinou.php'; include 'config.php'; $keitai = new keitai(); $data = $_REQUEST; while (list($key, $value) = each($data)) { $naiyoulist[] = $key . ":" . $value; ${$key} = $value; } /*送信内容を受け取るためのメール文章作成*/ //タイトル $subject = "上野院:携帯からご相談のメールです。"; //文章 //$naiyou = implode("\n\r",$naiyoulist); $naiyou = '※なまえ:%%※なまえ%% ※年齢:%%※年齢%%歳 ※住所:%%※住所%% ※電話番号:%%※電話番号%% ※mail:%%※mail%% ■予\約希望日時 ・※第一希望 %%※第一希望月%%月%%※第一希望日%%日%%第一希望時間%% ・第二希望 %%第二希望月%%月%%第二希望日%%日%%第一希望時間%%