Re: Re[2]: [PHP] how to open a webpage

2004-01-12 Thread Chris Shiflett
--- Richard Davey <[EMAIL PROTECTED]> wrote: > CS> You can open Web pages just like local files: > CS> > CS> $handle = fopen('http://www.example.com/', 'r'); > > Depends on your meaning of the word "open" though doesn't it? :) That's true. I see now from everyone else's answers that the majority

Re[2]: [PHP] how to open a webpage

2004-01-12 Thread Richard Davey
Hello Chris, Monday, January 12, 2004, 5:00:16 PM, you wrote: >> PHP itself cannot open a web page, it's a server-side language and >> doesn't have any control over the client like that. CS> Well, that's not exactly true if the allow_url_fopen directive is enabled. CS> You can open Web pages jus

Re: [PHP] how to open a webpage

2004-01-12 Thread Chris Shiflett
--- Richard Davey <[EMAIL PROTECTED]> wrote: > 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. Well, that's not exactly true if the allow_url_fopen directive is enabled. You ca

Re: [PHP] how to open a webpage

2004-01-12 Thread Neil Freeman
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 **

Re: [PHP] how to open a webpage

2004-01-12 Thread Richard Davey
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

[PHP] how to open a webpage

2004-01-12 Thread bernard
Hi, I am new to php and doing reasonable well (ok, copying other code and learning ;-) I have a field with an URL The value of this in a variable $launch. How can I open this URL automatically ?? TIA!! Bernard Antwerp, Belgium -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v