Как открыть pdf и doc! СРОЧНО ПОМОГИТЕ!

Discussion in 'PHP' started by Bromel, 15 Sep 2013.

  1. Bromel

    Bromel New Member

    Joined:
    6 Aug 2012
    Messages:
    8
    Likes Received:
    0
    Reputations:
    0
    Требуется открыть pdf и doc, через php, как это сделать,помогите!
     
  2. RRR_RRR

    RRR_RRR Member

    Joined:
    20 Jun 2012
    Messages:
    396
    Likes Received:
    35
    Reputations:
    0
    http://www.jqueryrain.com/2012/09/best-jquery-pdf-viewer-plugin-examples/
     
  3. svoy_man

    svoy_man New Member

    Joined:
    25 Mar 2013
    Messages:
    3
    Likes Received:
    0
    Reputations:
    0
    Вот для pdf
    <?php
    header("Content-type: application/pdf");
    readfile('1.pdf');
    ?>
     
Loading...