Re: how to redirect ?

From: Date: Sat, 11 Sep 2004 17:25:58 +0000
Subject: Re: how to redirect ?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-196406@lists.php.net to get a copy of this message
Hey! I think you used header() after put out some data or php installed on server as CGI. Because send header possible only if php installed as apache module. You can use custom function which use javascript for redirection. But it works if browser of client support javascript: function redirect(path) { echo '<script type="text/javascript">window.location='.path.'</script>'; exit(); } -- "Cbharadwaj" <bharadwaj@ontrackindia.com> wrote in message news:002c01c48189$bfbbe000$1800a8c0@Cbharadwaj... Hi I have used Header (Location:PATH) function for redirection. it is giving some errors. is there any other method other than HEADER() funtion for redirecting ? Bharadwaj

« previous php.general (#196406) next »