How ASP detects frame?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • R. Rajesh Jeba Anbiah

    How ASP detects frame?

    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

    #2
    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.

    Comment

    • Nikolai Chuvakhin

      #3
      Re: How ASP detects frame?

      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

      Cheers,
      NC

      Comment

      • R. Rajesh Jeba Anbiah

        #4
        Re: How ASP detects frame?

        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

        Comment

        • Nikolai Chuvakhin

          #5
          Re: How ASP detects frame?

          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.

          Cheers,
          NC

          Comment

          • R. Rajesh Jeba Anbiah

            #6
            Re: How ASP detects frame?

            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

            Working...