Re: [PHP] can a popup window get the page referer?

2002-11-13 Thread Jason Wong
On Thursday 14 November 2002 10:43, Martin Towell wrote: > Unfortunately I didn't catch the start of this thread, bur no matter > In IE, all you need to do to bring up a window with an address bar is the > select the window you want to know the address of and press CTRL-N - there 

Re: [PHP] can a popup window get the page referer?

2002-11-13 Thread Joseph Szobody
Justin, I have no intenetion of implementing such work-arounds. I simply wanted to know if a popup can determine the Referer. With PHP, that answer is no. The continuing discussion has been helpful to clarify what one 'can' and 'cannot' do, not that I'm actually going to use all these methods!

Re: [PHP] can a popup window get the page referer?

2002-11-13 Thread @ Edwin
Hello, "Justin French" <[EMAIL PROTECTED]> wrote: > It still seems to me that there must be a fundamental problem with the > application design if such great lengths / work-arounds / patch jobs need to > be applied. > > But that's probably another discussion altogether :) Well, I agree. Besides

Re: [PHP] can a popup window get the page referer?

2002-11-13 Thread Justin French
It still seems to me that there must be a fundamental problem with the application design if such great lengths / work-arounds / patch jobs need to be applied. But that's probably another discussion altogether :) Justin on 14/11/02 12:20 PM, @ Edwin ([EMAIL PROTECTED]) wrote: > "Joseph Szobod

Re: [PHP] can a popup window get the page referer?

2002-11-13 Thread Joseph Szobody
> ...press CTRL-N - there > you go, a new window, pointing to the same page, with the addess bar showing > exactly where the page is. I use this method quite often :) Furthermore, disabling right-click does NOT disable the Context Menu key (you know, the one in between the Windows

RE: [PHP] can a popup window get the page referer?

2002-11-13 Thread Martin Towell
> >Message-ID: <[EMAIL PROTECTED]> >References: <[EMAIL PROTECTED]> > >"Joseph Szobody" <[EMAIL PROTECTED]> wrote: >>Actually, it still won't work under Windows. >> Even on a pop-up window, you can right click, >> view properties, copy the page address, open >> a new browse

Re: [PHP] can a popup window get the page referer?

2002-11-13 Thread @ Edwin
"bahwi" <[EMAIL PROTECTED]> wrote: > Because you can only do that with JavaScript, and that still assures > nothing. You can always just download the source of an HTML page with no > problems. In UNIX with libwww installed you just type GET > http://www.microsoft.com/ and it

Re: [PHP] can a popup window get the page referer?

2002-11-13 Thread bahwi
Because you can only do that with JavaScript, and that still assures nothing. You can always just download the source of an HTML page with no problems. In UNIX with libwww installed you just type GET http://www.microsoft.com/ and it downloads the html and puts it on the screen. -

Re: [PHP] can a popup window get the page referer?

2002-11-13 Thread @ Edwin
Message-ID: <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> "Joseph Szobody" <[EMAIL PROTECTED]> wrote: >Actually, it still won't work under Windows. > Even on a pop-up window, you can right click, > view properties, copy the page address, open > a new browser window,

Re: [PHP] can a popup window get the page referer?

2002-11-13 Thread Joseph Szobody
> But... it seems like this will be used in an intranet where everybody is > using WinXP so there shouldn't be any problem ;) Actually, it still won't work under Windows. Even on a pop-up window, you can right click, view properties, copy the page address, open a new browser window, paste in the

Re: [PHP] can a popup window get the page referer?

2002-11-13 Thread @ Edwin
"Brent Baisley" <[EMAIL PROTECTED]> wrote: > While this works pretty well under Windows, it does not work on the Mac. > A new window will be generated with the requested properties except for > the menus thing. The Mac UI always has the menu at the top of the screen > and are not associated with

Re: [PHP] can a popup window get the page referer?

2002-11-13 Thread Brent Baisley
While this works pretty well under Windows, it does not work on the Mac. A new window will be generated with the requested properties except for the menus thing. The Mac UI always has the menu at the top of the screen and are not associated with a particular window, they are tied to the applica

Re: [PHP] can a popup window get the page referer?

2002-11-13 Thread @ Edwin
Hello, "Joseph Szobody" <[EMAIL PROTECTED]> wrote: > Folks, I have a popup window that I would like to put a mild security > constraint on. I don't want others to be able to directly type in the address > of this page, modify url parameters, etc. ...[snip]... Just wondering... Why, can't you ju

Re: [PHP] can a popup window get the page referer?

2002-11-13 Thread Joseph Szobody
Thanks Justin. I should have clarified this is going to be used on an Intranet, where I can be sure that every browser will be IE 6 with javascript enabled, and no firewalls between the webserver and the clients. That's why I felt more or less safe with depending on HTTP_REFERER and javascri

Re: [PHP] can a popup window get the page referer?

2002-11-13 Thread Justin French
Relying on the referrer is bad mojo anyway, because not all useragents (browsers) set it... it's not required by "standards". I have a feeling that if you're needing this, you've got a bad data/design issue. Anyway, since you've used javascript (i won't bother to mention the 1000's of useragents

[PHP] can a popup window get the page referer?

2002-11-12 Thread Joseph Szobody
Folks, I have a popup window that I would like to put a mild security constraint on. I don't want others to be able to directly type in the address of this page, modify url parameters, etc. I only want this page accessible if it was triggered from a link on my own website, then I know I can trus