Re: Branching to pages
| From: | Johannes Schlüter | Date: | Thu, 19 Oct 2000 20:21:06 +0000 |
| Subject: | Re: Branching to pages | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-21258@lists.php.net to get a copy of this message | ||
Hi Todd,
JavaScript:
<SCRIPT LANGUAGE="javascript">
document.forms[0].submit();
</SCRIPT>
submits a form automatically
Johannes
Date sent: Thu, 19 Oct 2000 12:29:28 -0700
From: Todd Cary <todd@aristesoftware.com>
To: "php-general@lists.php.net" <php-general@lists.php.net>
Subject: [PHP] Branching to pages
> If I use the header() to branch to different pages depending on certain
> conditions, I cannot have executed an "include" or any HTML.
>
> My work-around is to change the FORM ACTION. But this requires the
> surfer to press a FORM SUBMIT button. Is there some other way to
> programatically go to a page, even if HTML has been executed?
>
> Todd
>
> --
> Todd Cary
> Ariste Software
> todd@aristesoftware.com
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>