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 condu

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

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 '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 > HT

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/) T

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 http://shifl

Re: [PHP] php redirection..

2006-12-16 Thread Stut
Casey Chu wrote: Well... They skip all 's, so they skip '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 were not

Re: [PHP] php redirection..

2006-12-15 Thread Casey Chu
Well... They skip all 's, so they skip '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 isn't using Perl's

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 double-sec

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...

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 > > location.href='foobar.php';Foo > Bar 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 page, maybe that search engi

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

RE: [PHP] php redirection..

2006-12-15 Thread Richard Lynch
' > 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 t

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 or

RE: [PHP] php redirection..

2006-12-14 Thread bruce
is without 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

RE: [PHP] php redirection..

2006-12-14 Thread Brad Fuller
inal 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 > &g

Re: [PHP] php redirection..

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

RE: [PHP] php redirection..

2006-12-14 Thread bruce
ested this, but i imagine 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: R

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 content" > -echo " more test content" > > //redirect us

Re: [PHP] php redirection..

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

Re: [PHP] php redirection..

2006-12-13 Thread Casey Chu
Search Engines don't like the META tag. Use location.href='foobar.php';Foo Bar 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 and then change >location aft

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 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. > >

Re: [PHP] php redirection..

2006-12-13 Thread Youri LACAN-BARTLEY
irection to www.example.com 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 >>

RE: [PHP] php redirection..

2006-12-12 Thread Tim
ED] > Cc : php > Objet : Re: [PHP] php redirection.. > > 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

RE: [PHP] php redirection..

2006-12-12 Thread Tim
ED] > Cc : php > Objet : Re: [PHP] php redirection.. > > 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

Re: [PHP] php redirection..

2006-12-12 Thread Stut
ts. Thoughts 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 t

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 content" -echo " more test content" //redirect user echo" location.href='foo.php'; "; --- foo.php -echo "i'm here" should be

[PHP] php redirection..

2006-12-12 Thread bruce
hi... i have what should be a pretty simple question that i'm obviously missing something for... i want to be able to display some text/content and to then redirect the user to another page. basically: cat.php -echo " test content" -echo " more test content" //redirect user echo" loc

[PHP] PHP Redirection If Login Fails.

2004-07-09 Thread Harlequin
Hi all I've created a page that allows registered users who have previously registered and been entered into the database to login. However, for some reason if a user login fails my code does not display the appropriate error message. Ideally I would like the users to be redirected to another page