Re: [PHP] Targetted redirection?

2002-03-17 Thread Michael P. Carel
is there any limitation with header function?im wondering why it not realy working for me. it really gives me a headache. i've done exactly what you've told us but it does'nt work. i remove the comment from the left.php or right.php and retain the index.ph as-is, but still it doesnt jump out the

Re: [PHP] Targetted redirection?

2002-03-16 Thread anders nawroth
the page once more, I think.) Anders - Ursprungligt meddelande - Från: Brinkman, Theodore [EMAIL PROTECTED] Till: PHP List [EMAIL PROTECTED] Skickat: den 15 mars 2002 17:27 Ämne: RE: [PHP] Targetted redirection? OK, If I understand correctly, the following scenario would work? Given

Re: [PHP] Targetted redirection?

2002-03-15 Thread Analysis Solutions
Hi Folks: Okay, here's what I'm talking about... A sample system. Four files. index.php main page holding the frameset. frameset has two frames. one on left. one on right. left.php navigation menu that goes in the left hand frame right.php content in right hand

Re: [PHP] Targetted redirection?

2002-03-15 Thread Erik Price
On Friday, March 15, 2002, at 10:27 AM, Analysis Solutions wrote: Now, put all those files on your machine. Hit index.php and you'll see everything normally. Then, uncomment the header function in left.php or right.php and you'll see that page jump out of the frames. But, turn the

RE: [PHP] Targetted redirection?

2002-03-15 Thread Brinkman, Theodore
PROTECTED]] Sent: Friday, March 15, 2002 10:27 AM To: PHP List Subject: Re: [PHP] Targetted redirection? Hi Folks: Okay, here's what I'm talking about... A sample system. Four files. index.php main page holding the frameset. frameset has two frames. one on left. one

Re: [PHP] Targetted redirection?

2002-03-15 Thread Chris Boget
?php # Turning this on will jump this page out of the frames. # header('Window-target: _top'); ? Can you use this only for the predefined variables? _top, _parent, etc? Because it isn't working for me. Perhaps I am misunderstanding something. Here are my sample files: index.php

Re: [PHP] Targetted redirection?

2002-03-15 Thread Analysis Solutions
On Fri, Mar 15, 2002 at 11:27:59AM -0500, Brinkman, Theodore wrote: Given: My site is being brought up inside somebody else's (say about.com)frameset. [We'll call this page about.html] Given: I want my main page (index.html) to break out of the frames in the about.html page. Solution:

Re: [PHP] Targetted redirection?

2002-03-15 Thread Analysis Solutions
On Fri, Mar 15, 2002 at 11:03:22AM -0600, Chris Boget wrote: script language=php if( isset( $submit )) { header( Window-target: content ); header( location: right.php ); exit(); } /script The script needs to be in between ?php and ? in order to execute on your server.

Re: [PHP] Targetted redirection?

2002-03-15 Thread Chris Boget
script language=php if( isset( $submit )) { header( Window-target: content ); header( location: right.php ); exit(); } /script The script needs to be in between ?php and ? in order to execute on your server. Browsers don't execute PHP. What you've written is how

Re: [PHP] Targetted redirection?

2002-03-15 Thread Analysis Solutions
On Fri, Mar 15, 2002 at 12:25:10PM -0500, Analysis Solutions wrote: On Fri, Mar 15, 2002 at 11:03:22AM -0600, Chris Boget wrote: script language=php /script The script needs to be in between ?php and ? in order to execute on your server. Browsers don't execute PHP. What you've

RE: [PHP] Targetted redirection?

2002-03-15 Thread Robert V. Zwink
]] Sent: Friday, March 15, 2002 12:50 PM To: PHP List Subject: Re: [PHP] Targetted redirection? On Fri, Mar 15, 2002 at 12:25:10PM -0500, Analysis Solutions wrote: On Fri, Mar 15, 2002 at 11:03:22AM -0600, Chris Boget wrote: DEFANGED_script language=php /script The script needs

Re: [PHP] Targetted redirection?

2002-03-15 Thread Chris Boget
Here's a nice link to Netscape.com describing the basics of frames: http://www.netscape.com/eng/mozilla/2.0/relnotes/demo/target.html Ok, I'll have to check it out. For your particular question though I would consider targeting the action of the FROM tag: FORM ACTION=top.php

Re: [PHP] Targetted redirection?

2002-03-14 Thread Erik Price
On Wednesday, March 13, 2002, at 07:36 PM, Analysis Solutions wrote: Sure it works... execpt when people who have Java'sCrap turned off come to your site. Oh, and then there's the folks with browsers that don't have JS at all? HTTP headers work across all browsers. header('Location:

Re: [PHP] Targetted redirection?

2002-03-14 Thread Analysis Solutions
On Thu, Mar 14, 2002 at 08:53:23AM +0800, Michael P. Carel wrote: oh yes i've got your point, but i've tried what you've told us before but still it does not redirect to cover over the frame page. Ah, yes, that'd be a problem... :) I knew what I said worked because I use it to get my pages

Re: [PHP] Targetted redirection?

2002-03-13 Thread Erik Price
On Wednesday, March 13, 2002, at 03:15 PM, Ben Cheng wrote: I have a page within a frame that uses Header() to redirect to another page. However, I don't want the redirection to take place just within that frame set. I want the page that it redirects to to cover over the frame. Is

Re: [PHP] Targetted redirection?

2002-03-13 Thread Joe Webster
If you were going to use javascript to do that, use _parent as the target -- that should reuse the window rather than making a new window. -Joe Erik Price [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Wednesday, March 13, 2002, at 03:15 PM, Ben Cheng

Re: [PHP] Targetted redirection?

2002-03-13 Thread Analysis Solutions
On Wed, Mar 13, 2002 at 03:52:42PM -0500, Erik Price wrote: On Wednesday, March 13, 2002, at 03:15 PM, Ben Cheng wrote: However, I don't want the redirection to take place just within that frame set. I want the page that it redirects to to cover over the frame. Is this possible?

Re: [PHP] Targetted redirection?

2002-03-13 Thread Michael P. Carel
Ben, I have that kind of problem before, but it whould be much better to use javascripts rather than the HTTP Header function when redirecting to cover over the frame page. Use this instead: echoscriptstop.location.href=http://your.page.direction; /scripts; I've already tried and using this

Re: [PHP] Targetted redirection?

2002-03-13 Thread Analysis Solutions
On Thu, Mar 14, 2002 at 07:58:29AM +0800, Michael P. Carel wrote: I have that kind of problem before, but it whould be much better to use javascripts rather than the HTTP Header function when redirecting to cover over the frame page. Use this instead:

Re: [PHP] Targetted redirection?

2002-03-13 Thread Michael P. Carel
- Original Message - From: Analysis Solutions [EMAIL PROTECTED] To: PHP List [EMAIL PROTECTED] Sent: Thursday, March 14, 2002 8:36 AM Subject: Re: [PHP] Targetted redirection? On Thu, Mar 14, 2002 at 07:58:29AM +0800, Michael P. Carel wrote: I have that kind of problem before