Jan 102010
How to redirect user to another URL in PHP
Answer:
Assume you have a redirect.php, and want to redirect user to Google, use the following codes:
<?php
header("Location: http://www.google.com");
Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.
How to redirect user to another URL in PHP
Answer:
Assume you have a redirect.php, and want to redirect user to Google, use the following codes:
<?php
header("Location: http://www.google.com");