Re: Auto Load PHP
| From: | Stephen Hui | Date: | Mon, 14 Aug 2000 21:28:52 +0000 |
| Subject: | Re: Auto Load PHP | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-11688@lists.php.net to get a copy of this message | ||
David Costelloe wrote:
>
> Hi,
> I tried the below:
>
> What I am trying to do is load a HTML page and then load the PHP script
> after the page is loaded is there a HTML delay process to re-direct to
> another page automaticly similar to the post and submit only the user does
> not click any buttons the page just loads.
> Thanks
> David..........
You could use a <META> tag in the <HEAD> of the HTML. Something like
this:
<meta HTTP-equiv="Refresh"
content="10;URL=next_screen.php?key1=value1&key2=value2">
The page this tag is included on will wait 10 seconds then refresh with
next_screen.php, passing along "value1" and "value2" through key1 and
key2 respectively. Don't forget to URL-encode the query string (after
the ? in the URL)
Hope this helps! :o)
Stephen.
--
Stephen Hui, ARL:UT, Austin, Texas
Computer Terms: Programmer - A red-eyed, mumbling mammal
capable of conversing with inanimate objects.