Re: [PHP] php redirection..

2006-12-18 Thread Richard Lynch
On Sat, December 16, 2006 5:58 am, Stut wrote: Casey Chu wrote: Well... They skip all !-- --'s, so they skip script!-- //--/script's. And you *know* this how? They may well skip comments in terms of what content actually gets indexed, but I would expect their indexer is smart enough to

Re: [PHP] php redirection..

2006-12-18 Thread Richard Lynch
On Mon, December 18, 2006 12:08 am, Chris Shiflett wrote: Richard Lynch wrote: The old school HTTP-EQUIV of a refresh with a time and URL would probably be suitable for this. YMMV And it's still not PHP. :-) It is if you use header(). :-) You mean Refresh is a real header? I always

Re: [PHP] php redirection..

2006-12-18 Thread Chris Shiflett
Richard Lynch wrote: You mean Refresh is a real header? Yeah, although if I remember correctly, the W3C really dislikes people using it for redirection instead of just refreshing the current URL. If that's the case, however, why can we indicate the URL at all? :-) A few years ago, someone

Re: [PHP] php redirection..

2006-12-17 Thread Chris Shiflett
Tim wrote: Considering bruce wants to be able to display the data and then change location after a given time, and as stut said you can't do this with a header() as it redirects before output Sure you can. Just use a Refresh header instead of Location. Chris -- Chris Shiflett

Re: [PHP] php redirection..

2006-12-17 Thread Chris Shiflett
Richard Lynch wrote: The old school HTTP-EQUIV of a refresh with a time and URL would probably be suitable for this. YMMV And it's still not PHP. :-) It is if you use header(). :-) Chris -- Chris Shiflett http://shiflett.org/ -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] php redirection..

2006-12-16 Thread Stut
Casey Chu wrote: Well... They skip all !-- --'s, so they skip script!-- //--/script's. And you *know* this how? They may well skip comments in terms of what content actually gets indexed, but I would expect their indexer is smart enough to parse HTML comments in a script block as though it

RE: [PHP] php redirection..

2006-12-15 Thread Richard Lynch
:[EMAIL PROTECTED] Sent: Thursday, December 14, 2006 8:40 AM To: 'PHP General List' Subject: RE: [PHP] php redirection.. Better to do this on the client side with JS html head titleRedirect Test/title script language=JavaScript function redirect() { location.href='http

Re: [PHP] php redirection..

2006-12-15 Thread Richard Lynch
On Tue, December 12, 2006 12:51 pm, Stut wrote: bruce wrote: hey stut... Please don't reply to me directly, always include the mailing list. thanks for the reply... i did get some output... i also have a question as to why i couldn't get it to work when i used 'header (foo.php)' 1) The

Re: [PHP] php redirection..

2006-12-15 Thread Richard Lynch
On Wed, December 13, 2006 9:41 pm, Casey Chu wrote: Search Engines don't like the META tag. Use scriptlocation.href='foobar.php';/scripta href='foobar.php'Foo Bar/a If the search engine authors are not smart enough to make the META tag and this JS snippet the same in their evaluation of the

Re: [PHP] php redirection..

2006-12-15 Thread Casey Chu
Actually... Search engines don't have a JavaScript interpreter. On 12/15/06, Richard Lynch [EMAIL PROTECTED] wrote: On Tue, December 12, 2006 12:51 pm, Stut wrote: bruce wrote: hey stut... Please don't reply to me directly, always include the mailing list. thanks for the reply... i did

Re: [PHP] php redirection..

2006-12-15 Thread Richard Lynch
On Fri, December 15, 2006 10:28 pm, Casey Chu wrote: Actually... Search engines don't have a JavaScript interpreter. Actually... You don't know for sure that Google isn't using Perl's javascript interpreter. Unless you work for Google, have just told us something they would consider

Re: [PHP] php redirection..

2006-12-15 Thread Casey Chu
Well... They skip all !-- --'s, so they skip script!-- //--/script's. On 12/15/06, Richard Lynch [EMAIL PROTECTED] wrote: On Fri, December 15, 2006 10:28 pm, Casey Chu wrote: Actually... Search engines don't have a JavaScript interpreter. Actually... You don't know for sure that Google

RE: [PHP] php redirection..

2006-12-14 Thread bruce
that this acts in a similar manner to the 'header' function as well... -Original Message- From: Budi Setiawan [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 13, 2006 9:33 PM To: [EMAIL PROTECTED] Cc: php-general@lists.php.net Subject: Re: [PHP] php redirection.. basically: cat.php

Re: [PHP] php redirection..

2006-12-14 Thread Youri LACAN-BARTLEY
Budi Setiawan wrote: basically: cat.php -echo test contentbr -echo more test contentbr //redirect user echo script location.href='foo.php'; /script ; Hi , im a new too.. but you can try with this to delay your script running for some seconds : echo test

RE: [PHP] php redirection..

2006-12-14 Thread Brad Fuller
-Original Message- From: Youri LACAN-BARTLEY [mailto:[EMAIL PROTECTED] Sent: Thursday, December 14, 2006 10:44 AM To: PHP General List Subject: Re: [PHP] php redirection.. Budi Setiawan wrote: basically: cat.php -echo test contentbr -echo more test contentbr //redirect

RE: [PHP] php redirection..

2006-12-14 Thread bruce
having the user hitting some 'submit' button. thanks! -Original Message- From: Brad Fuller [mailto:[EMAIL PROTECTED] Sent: Thursday, December 14, 2006 8:40 AM To: 'PHP General List' Subject: RE: [PHP] php redirection.. Better to do this on the client side with JS html head titleRedirect

RE: [PHP] php redirection..

2006-12-14 Thread Brad Fuller
-Original Message- From: bruce [mailto:[EMAIL PROTECTED] Sent: Thursday, December 14, 2006 12:08 PM To: 'Brad Fuller'; 'PHP General List' Subject: RE: [PHP] php redirection.. all these are solid posts... however, the original posting, was not to do a redirect on the page being

Re: [PHP] php redirection..

2006-12-13 Thread Youri LACAN-BARTLEY
will happen after 2 seconds. Good luck Bruce Regards, Tim -Message d'origine- De : Stut [mailto:[EMAIL PROTECTED] Envoyé : mardi 12 décembre 2006 19:52 À : [EMAIL PROTECTED] Cc : php Objet : Re: [PHP] php redirection.. bruce wrote: hey stut... Please don't reply to me directly

RE: [PHP] php redirection..

2006-12-13 Thread Tim
-Message d'origine- De : Youri LACAN-BARTLEY [mailto:[EMAIL PROTECTED] Envoyé : mercredi 13 décembre 2006 09:09 Cc : 'php' Objet : Re: [PHP] php redirection.. Tim wrote: Just a quick question regarding this issue. Considering bruce wants to be able to display the data

RE: [PHP] php redirection..

2006-12-13 Thread tedd
At 9:02 PM +0100 12/12/06, Tim wrote: Just a quick question regarding this issue. Considering bruce wants to be able to display the data and then change location after a given time, and as stut said you can't do this with a header() as it redirects before output, I would have imagined a dynamic

Re: [PHP] php redirection..

2006-12-13 Thread Casey Chu
Search Engines don't like the META tag. Use scriptlocation.href='foobar.php';/scripta href='foobar.php'Foo Bar/a On 12/13/06, tedd [EMAIL PROTECTED] wrote: At 9:02 PM +0100 12/12/06, Tim wrote: Just a quick question regarding this issue. Considering bruce wants to be able to display the data

Re: [PHP] php redirection..

2006-12-13 Thread Budi Setiawan
basically: cat.php -echo test contentbr -echo more test contentbr //redirect user echo script location.href='foo.php'; /script ; Hi , im a new too.. but you can try with this to delay your script running for some seconds : echo test contentbr echo more test contentbr //

Re: [PHP] php redirection..

2006-12-13 Thread Casey Chu
It's usually OK if it's 8 seconds or more, but that would take too long. See here for info: http://www.netmechanic.com/news/vol4/promo_no15.htm On 12/13/06, Budi Setiawan [EMAIL PROTECTED] wrote: basically: cat.php -echo test contentbr -echo more test contentbr //redirect user

Re: [PHP] php redirection..

2006-12-12 Thread Stut
bruce wrote: i want to be able to display some text/content and to then redirect the user to another page. basically: cat.php -echo test contentbr -echo more test contentbr //redirect user echo script location.href='foo.php'; /script ; --- foo.php -echo i'm here

Re: [PHP] php redirection..

2006-12-12 Thread Stut
-Original Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 12, 2006 9:21 AM To: [EMAIL PROTECTED] Cc: php-general@lists.php.net Subject: Re: [PHP] php redirection.. bruce wrote: i want to be able to display some text/content and to then redirect the user to another

RE: [PHP] php redirection..

2006-12-12 Thread Tim
are less common but they do occasionally happen. -Stut -Original Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 12, 2006 9:21 AM To: [EMAIL PROTECTED] Cc: php-general@lists.php.net Subject: Re: [PHP] php redirection.. bruce wrote: i want to be able

RE: [PHP] php redirection..

2006-12-12 Thread Tim
are less common but they do occasionally happen. -Stut -Original Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 12, 2006 9:21 AM To: [EMAIL PROTECTED] Cc: php-general@lists.php.net Subject: Re: [PHP] php redirection.. bruce wrote: i want to be able