One thing that doesn't seem to have been considered is the use of the
refresh meta tag. Whilst it depends on whether or not the browser is
archaic (and let's face it, most people nowadays seem to be running at least
version 4 of either IE or Netscape), it's something that can't be turned off
(at
Is there any PHP native function to redirect to another page or URL?
No, because you can only redirect a browser to another page using the
appropriate HTTP command (it is a header) or JavaScript.
I would like that once the user clicks on home.php4 and a few
verifications are done, he/she
At 11:22 23/4/2001 +1000, Jason Murray wrote:
Is there any PHP native function to redirect to another page or URL?
No, because you can only redirect a browser to another page using the
appropriate HTTP command (it is a header) or JavaScript.
I would like that once the user clicks on
At 11:56 23/4/2001 +1000, you wrote:
I never had any trouble using header() to redirect, but
wouldn't something like this work even better (without
worring about previous outputs)??
function redirect($dest)
{
?
script language="JavaScript"
Yeah... I know that... but, c'mon... a browser that doesn't support
Javascript can't surf trough at least 30% of all websites... it's the
absolute minority. Netscape itself is a minority.
That's not the point. You should be writing the code such that you
shouldn't need to make this kind of
At 11:15 PM 22/04/2001, Christian Dechery wrote:
Yeah... I know that... but, c'mon... a browser that doesn't support
Javascript can't surf trough at least 30% of all websites... it's the
absolute minority. Netscape itself is a minority.
While its true Netscape is a minority, and browsers not
At 12:22 23/4/2001 +1000, Chris Aitken wrote:
At 11:15 PM 22/04/2001, Christian Dechery wrote:
Yeah... I know that... but, c'mon... a browser that doesn't support
Javascript can't surf trough at least 30% of all websites... it's the
absolute minority. Netscape itself is a minority.
While its
I work on a e-commerce website (coding in ASP, but what can I
do?) with lots of JavaScript calls that in some cases are the heart
of the operation, and we never had any trouble or complaints with it.
I want your job.
We have people complain every time we set a cookie. Imagine the
fuss
At 12:42 23/4/2001 +1000, you wrote:
I work on a e-commerce website (coding in ASP, but what can I
do?) with lots of JavaScript calls that in some cases are the heart
of the operation, and we never had any trouble or complaints with it.
I want your job.
I don't think u do. :) ASP sux.
At 12:48 23/4/2001 +1000, Chris Aitken wrote:
At 11:40 PM 22/04/2001, you wrote:
I justed pointed out that it could work nicely... and I just tought of
that... I user header("location: ... ") on all my scripts and struggle to
put them before any output (that's not easy)...
I work on a
use the javascript function, but also use as backup plan such as a link at
the bottom or even code at the top like this:
///
if (conditionals == true) {
header(location:home.html);
}
//
that way
11 matches
Mail list logo