[PHP] Re:[PHP] Re: REDIRECT

2003-06-07 Thread fongming
Hi: May be you can try javascript: function goto($where,$string) { ? script alert(\?=$string;?\); location.href=\?=$where?\; /script ? exit; } if(true) { goto(\http://www.yam.com\,\thank you!\); }

RE: [PHP] Re: REDIRECT

2003-06-07 Thread Boaz Yahav
To save you the search : How to use META REFRESH to auto refresh an html page after x seconds. http://examples.weberdev.com/get_example.php3?count=124 Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -Original Message- From: Bobby

RE: [PHP] Re: REDIRECT

2003-06-07 Thread myphp
PUT THE CODE BELOW INTO HEAD TAG OF ANY PAGE TO REDIRECT IT:- script language='JavaScript' setTimeout(location.href='http://www.your-page.com/index.php', 200); /script Change the number 200 to anything you want. The following sample is what I use it for: http://www.eastlothian.org/03eloG.php

RE: [PHP] Re: REDIRECT

2003-06-07 Thread myphp
Should have been: http://www.eastlothian.org/03eloG.html not .php page which was the page it redirected to. Just have a look at source code of above page as this list message has removed a tag. Chris --- Quoting myphp [EMAIL PROTECTED]: PUT THE CODE BELOW INTO HEAD TAG OF ANY PAGE TO

Re: [PHP] Re: Redirect without header or javascipt

2003-02-20 Thread Chris Shiflett
--- Daniel Guerrier [EMAIL PROTECTED] wrote: Is there any to redirect in php with using header() and without the use of javascript? Yes: header('Location: http://www.php.net/'); If we are meant to answer your subject and not your message, then use a meta HTML tag. Chris -- PHP General

Re: [PHP] Re: Redirect Question

2002-07-21 Thread Jason Wong
On Monday 22 July 2002 10:35, Chris Earle wrote: Which versions of IE is somebody claiming can't handle a Location: header? And it's not version 4 (I'm assuming not 5(.5) either) When you say version 4, which version 4 do you mean? Ditto for version 5. With so many patches and 'upgrades'

Re: [PHP] Re: Redirect?

2002-01-16 Thread val petruchek
If this isn't in the PHP FAQ (I couldn't find it), it definitely should be, because somebody asks this question at the very least once a week on this list. Very useful feature, i think :) and better to add it to the manual III. Features section (with file apploading, image functions etc)

Re: [PHP] Re: Redirect Function?!!

2001-12-07 Thread Brian Clark
* Roko Roic [EMAIL PROTECTED] [Dec 07. 2001 03:26]: I don't like header('Location: page.php'); so I use a HTTP request class to call another script/page. This does fork another httpd, but that's life :) Just out of curiosity, what's wrong with header('Location ... ');? -- -Brian Clark --

Re: [PHP] Re: Redirect Function?!!

2001-12-07 Thread Roko Roic
Brian Clark [EMAIL PROTECTED] wrote in message 20011207082759.GB8750@ganymede">news:20011207082759.GB8750@ganymede... * Roko Roic [EMAIL PROTECTED] [Dec 07. 2001 03:26]: I don't like header('Location: page.php'); so I use a HTTP request class to call another script/page. This does fork

Re: [PHP] Re: Redirect Function?!!

2001-12-07 Thread Miles Thompson
RFC 2616 is your friend 14.30 Location The Location response-header field is used to redirect the recipient to a location other than the Request-URI for completion of the request or identification of a new resource. For 201 (Created) responses, the Location is that of the new resource