ATOM is not redirecting in Firefox

Discussion in 'PHP' started by prassunair, Apr 10, 2007.

  1. #1
    Hai All,

    My issue is when I am try to make a FEED in ATOM format it wont redirect (Windows Firefox only , In all other including MAC Firefox too its working).
    (I used feedcreator.class.php for creating feeds ) . In the case of Atom the standard content type is “application/atom+xml” and all other feeds including RSS it would be
    “application/xml”
    I am giving the header code also below..Its not redirecting in the case of ATOM
    (firfox windows only ..all other cases its working fine)

    Header("Content-Type: ".$this->contentType."; charset=".$this->encoding);
    Header("Content-Disposition: inline; filename=".basename($filename));
    readfile($filename, "r");

    Might be your suggestion would be a great help for me ..

    Wishing you all a nice time …

    Prasanth . Nair.
     
    prassunair, Apr 10, 2007 IP