Re: js, printing and redirection
| From: | Chris Shiflett | Date: | Wed, 12 Nov 2003 22:28:44 +0000 |
| Subject: | Re: js, printing and redirection | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-169382@lists.php.net to get a copy of this message | ||
--- Martin Marques <martin@bugs.unl.edu.ar> wrote:
> I need to print a page and redirect the browser to another page. As it
> can't be done with PHP [snip]
Is that a challenge? :-)
Try this:
<?
header('Refresh: 3; url=http://www.php.net/');
echo 'Hello, world!';
?>
Hope that helps.
Chris
=====
My Blog
http://shiflett.org/
HTTP Developer's Handbook
http://httphandbook.org/
RAMP Training Courses
http://www.nyphp.org/ramp