Connecting Tech Pros Worldwide Forums | Help | Site Map

How ASP detects frame?

R. Rajesh Jeba Anbiah
Guest
 
Posts: n/a
#1: Jul 17 '05
Anyone knows how ASP detects frame? I couldn't find any PHP solutions yet. TIA

--
| Just another PHP saint |
Email: rrjanbiah-at-Y!com

Colin McKinnon
Guest
 
Posts: n/a
#2: Jul 17 '05

re: How ASP detects frame?


R. Rajesh Jeba Anbiah wrote:
[color=blue]
> Anyone knows how ASP detects frame? I couldn't find any PHP solutions yet.
> TIA
>[/color]

This a PHP list - who cares?

Anyway, both PHP and ASP are server-side scripting languages and don't know
about frames. Go ask on a Javascript newsgroup.

C.
Nikolai Chuvakhin
Guest
 
Posts: n/a
#3: Jul 17 '05

re: How ASP detects frame?


ng4rrjanbiah@rediffmail.com (R. Rajesh Jeba Anbiah) wrote
in message news:<abc4d8b8.0408030308.7d54a028@posting.google. com>...[color=blue]
>
> Anyone knows how ASP detects frame?[/color]

By matching user agent information against a browser capability file
(usually called browscap.ini).
[color=blue]
> I couldn't find any PHP solutions yet.[/color]

Here you go:

$browser = get_browser();
echo $browser->frames;

However, this will only work if your browscap configuration setting
in php.ini points to a current browscap.ini file on your system.
(By default, the browscap directive is disabled.) For more information,
see http://www.php.net/get_browser

Cheers,
NC
R. Rajesh Jeba Anbiah
Guest
 
Posts: n/a
#4: Jul 17 '05

re: How ASP detects frame?


nc@iname.com (Nikolai Chuvakhin) wrote in message news:<32d7a63c.0408031325.7cd8e76c@posting.google. com>...[color=blue]
> ng4rrjanbiah@rediffmail.com (R. Rajesh Jeba Anbiah) wrote
> in message news:<abc4d8b8.0408030308.7d54a028@posting.google. com>...[color=green]
> >
> > Anyone knows how ASP detects frame?[/color]
>
> By matching user agent information against a browser capability file
> (usually called browscap.ini).[/color]

Thanks a lot for your help.

--
| Just another PHP saint |
Email: rrjanbiah-at-Y!com
Nikolai Chuvakhin
Guest
 
Posts: n/a
#5: Jul 17 '05

re: How ASP detects frame?


ng4rrjanbiah@rediffmail.com (R. Rajesh Jeba Anbiah) wrote
in message news:<abc4d8b8.0408032058.ec473e8@posting.google.c om>...[color=blue]
>[color=green][color=darkred]
> > > Anyone knows how ASP detects frame?[/color]
> >
> > By matching user agent information against a browser capability file
> > (usually called browscap.ini).[/color]
>
> Thanks a lot for your help.[/color]

No problem. As an afterthought, you might recall that the issue
with frames used to be that they were not a part of HTML specification,
which was resolved by including frames in HTML 4.0. So you may safely
assume that any browser claiming compatibility with Mozilla/4.0
would be capable of supporting frames.

Cheers,
NC
R. Rajesh Jeba Anbiah
Guest
 
Posts: n/a
#6: Jul 17 '05

re: How ASP detects frame?


nc@iname.com (Nikolai Chuvakhin) wrote in message news:<32d7a63c.0408041031.364f5bbf@posting.google. com>...[color=blue][color=green][color=darkred]
> > > > Anyone knows how ASP detects frame?
> > >
> > > By matching user agent information against a browser capability file
> > > (usually called browscap.ini).[/color]
> >
> > Thanks a lot for your help.[/color]
>
> No problem. As an afterthought, you might recall that the issue
> with frames used to be that they were not a part of HTML specification,
> which was resolved by including frames in HTML 4.0. So you may safely
> assume that any browser claiming compatibility with Mozilla/4.0
> would be capable of supporting frames.[/color]

Many thanks for your great idea. Thanks

--
| Just another PHP saint |
Email: rrjanbiah-at-Y!com
Closed Thread