Re: I'm really getting annoyed with PHP
| From: | Curt Zirzow | Date: | Thu, 24 Jul 2003 02:18:45 +0000 |
| Subject: | Re: I'm really getting annoyed with PHP | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-156574@lists.php.net to get a copy of this message | ||
* Thus wrote skate (root@fatcuban.com):
> you could also shove some JavaScript in there if you don't like the way the
> PHP header("location:...") function works...
>
> <script language="JavaScript">
> location.href="new_page.php";
> </script>
And in my case I would never see the next page. I have javascript turned
off.
Never rely on javascript to do the work, excpecially in small cases like
this when php can handle it without any issues, such as javascript being
turned off.
Curt
--
"I used to think I was indecisive, but now I'm not so sure."