Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
サーバーベースを から にリダイレクトする最良の方法は何http://example.com/example.phpですかhttp://example.com/example.php?date=2013-06-05?
http://example.com/example.php
http://example.com/example.php?date=2013-06-05
ヘッダーを使用します。
header('Location: http://example.com/example.php?date=2013-06-05'); exit;
今日の日付に基づいてリダイレクトする場合:
header('Location: http://example.com/example.php?date=' . date('Y-d-m')); exit;