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
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
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
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
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
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
:[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
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
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
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
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
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
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
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
-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
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
-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
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
-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
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
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
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
//
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
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
-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
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
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
27 matches
Mail list logo