RE: [PHP] Beginner: Open URL

2002-01-16 Thread Rick Emery

In your original post (see below), you stated that that you wanted  tag
functinality, which would involve the user clicking.  In your last post, you
state that you do not want the user to click; which is it to be?

Now, your question is really about re-direction based upon a condition,
whereby the user does not clisk a link, then the answer is:


However, this snip must be executed before anything else is sent.  It WILL
NOT be displayed.  Rather, the user will automatically be delivered to the
referenced page.

-Original Message-
From: Tommi Trinkaus [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 16, 2002 3:44 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Beginner: Open URL


Hi Nick

> I'm not sure what you mean can you be a little more detailed?
> I can tell however that PHP is *not* a substitute for HTML. If you want
> something like the  tag then *use* the  tag.

in fact i want something like the  tag, but the new url should be opened
within a php if-statement, not by user-clicking. Is that more detailed for
you?

thanks, tommi

-Original Message-
From: Tommi Trinkaus [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 16, 2002 2:04 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Beginner: Open URL


Hi over there,

i'm just beginning with php and i wonder if it is possible to show another
url in the current window like the  Tag in HTML.
Thanks for any answer...

tommi

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Beginner: Open URL

2002-01-16 Thread Nick Wilson

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


* On 16-01-02 at 10:47 
* Tommi Trinkaus said

> Hi Nick
> 
> > I'm not sure what you mean can you be a little more detailed?
> > I can tell however that PHP is *not* a substitute for HTML. If you want
> > something like the  tag then *use* the  tag.
> 
> in fact i want something like the  tag, but the new url should be opened
> within a php if-statement, not by user-clicking. Is that more detailed for
> you?

Some page");
} else print ("Another page");
?>

Try that.
- -- 

Nick Wilson

Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8RVlEHpvrrTa6L5oRAtxcAKCFoKa/m9R+/QcueGWbMY+j3MqVvwCgtRIg
FXlIsiEa72gnAJ13cJg4tto=
=so9Q
-END PGP SIGNATURE-

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Beginner: Open URL

2002-01-16 Thread Tommi Trinkaus

Hi Nick

> I'm not sure what you mean can you be a little more detailed?
> I can tell however that PHP is *not* a substitute for HTML. If you want
> something like the  tag then *use* the  tag.

in fact i want something like the  tag, but the new url should be opened
within a php if-statement, not by user-clicking. Is that more detailed for
you?

thanks, tommi



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Beginner: Open URL

2002-01-16 Thread Nick Wilson

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


* On 16-01-02 at 09:50 
* Tommi Trinkaus said

> Hi over there,
> 
> i'm just beginning with php and i wonder if it is possible to show another
> url in the current window like the  Tag in HTML.
> Thanks for any answer...

I'm not sure what you mean can you be a little more detailed?
I can tell however that PHP is *not* a substitute for HTML. If you want
something like the  tag then *use* the  tag.

HTH
- -- 

Nick Wilson

Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8RUEkHpvrrTa6L5oRAhHHAJ49g3T89zgjW2wxypuqkt3Qwz5cqwCfd0sF
RpYr1yo504a7JW9VN+uAbXQ=
=at90
-END PGP SIGNATURE-

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]