Re: how to open a webpage

From: Date: Mon, 12 Jan 2004 14:52:47 +0000
Subject: Re: how to open a webpage
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-174328@lists.php.net to get a copy of this message
Or with PHP you could do: Header("Location:$launch"); die; Make sure that nothing is outputted before this is called though. The variable $launch should also be an absolute URL. Neil Richard Davey wrote:
*********************************************** This Email Has Been Virus Swept *********************************************** Hello bernard, Monday, January 12, 2004, 1:47:39 PM, you wrote: b> I have a field with an URL b> The value of this in a variable $launch. b> How can I open this URL automatically ?? PHP itself cannot open a web page, it's a server-side language and doesn't have any control over the client like that. What it can do however is echo out the HTML required to make it happen. Either some JavaScript, or a link with the TARGET attribute set to be $launch.
-- ---------------------- www.curvedvision.com ---------------------- This communication is confidential to the intended recipient(s). If you are not that person you are not permitted to make use of the information and you are requested to notify the sender immediately of its receipt then destroy the copy in your possession. Any views or opinions expressed are those of the originator and may not represent those of Advanced System Architectures Ltd. *** This Email Has Been Virus Checked ***

« previous php.general (#174328) next »