Warning: include_once(): http:// wrapper is disabled in the server configuration by allow_url_include=0 in /home/users/2/moriya-h5/web/confrage/php/confirmation/send/send.php on line 2

Warning: include_once(http://www.confrage.com/bin/header.php): failed to open stream: no suitable wrapper could be found in /home/users/2/moriya-h5/web/confrage/php/confirmation/send/send.php on line 2

Warning: include_once(): Failed opening 'http://www.confrage.com/bin/header.php' for inclusion (include_path='.:/usr/local/php/7.4/lib/php') in /home/users/2/moriya-h5/web/confrage/php/confirmation/send/send.php on line 2
次ページに渡す | PHP

Warning: include_once(/home/sites/heteml/users/m/o/r/moriya-h5/web/confrage/bin/menu.php): failed to open stream: No such file or directory in /home/users/2/moriya-h5/web/confrage/php/confirmation/send/send.php on line 28

Warning: include_once(): Failed opening '/home/sites/heteml/users/m/o/r/moriya-h5/web/confrage/bin/menu.php' for inclusion (include_path='.:/usr/local/php/7.4/lib/php') in /home/users/2/moriya-h5/web/confrage/php/confirmation/send/send.php on line 28
 
トップページ >  PHP >  次ページに渡す
初版2008/11/21: 最終更新日2008/11/21
次ページに渡す
目次
次ページに渡す
サンプルコード
サンプル
次ページに渡す
受け取ったデータを次ページに渡す方法として、セッション管理によるデータの受け渡しを行います。
また、別の方法として、「hidden」属性を持った<input>タグで表現される「隠しフィールド」を使う方法もありますが、
こちらは、HTMLソース上で内容が知られてしまうので、セキュリティ面で問題です。

以下がサンプルになります。

サンプルコード
<form method="post" action="send_2.php">
	<input type="text" name="memo" size="50">
	<input type="submit" name="btnExec" value="送信">
</form>

サンプル

文字列を入力し、「送信」ボタンを押します。



Warning: include_once(/home/sites/heteml/users/m/o/r/moriya-h5/web/confrage/bin/side_bar.php): failed to open stream: No such file or directory in /home/users/2/moriya-h5/web/confrage/php/confirmation/send/send.php on line 103

Warning: include_once(): Failed opening '/home/sites/heteml/users/m/o/r/moriya-h5/web/confrage/bin/side_bar.php' for inclusion (include_path='.:/usr/local/php/7.4/lib/php') in /home/users/2/moriya-h5/web/confrage/php/confirmation/send/send.php on line 103