ng4rrjanbiah@re diffmail.com (R. Rajesh Jeba Anbiah) wrote
in message news:<abc4d8b8. 0408030308.7d54 a028@posting.go ogle.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
nc@iname.com (Nikolai Chuvakhin) wrote in message news:<32d7a63c. 0408031325.7cd8 e76c@posting.go ogle.com>...[color=blue]
> ng4rrjanbiah@re diffmail.com (R. Rajesh Jeba Anbiah) wrote
> in message news:<abc4d8b8. 0408030308.7d54 a028@posting.go ogle.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
ng4rrjanbiah@re diffmail.com (R. Rajesh Jeba Anbiah) wrote
in message news:<abc4d8b8. 0408032058.ec47 3e8@posting.goo gle.com>...[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.
nc@iname.com (Nikolai Chuvakhin) wrote in message news:<32d7a63c. 0408041031.364f 5bbf@posting.go ogle.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
Comment