cisclem Posted December 22, 2009 Share Posted December 22, 2009 Hi - can you please tell me if it is possble to open a pdf file directly using just a php file. I will be calling the php file from within Flash and what I want it to do is open the pdf file and zoom to 100%. I have found the html code to do this - "<a href=”mypdf.pdf#zoom=100″>" but need to know if it is possible to execute this command directly from the php file. In other words I dont want to produce another browser window containing a link to the pdf file. I hope I have explained myself clearly - thanks Link to comment https://forums.phpfreaks.com/topic/186010-opening-pdf-file/ Share on other sites More sharing options...
Deoctor Posted December 22, 2009 Share Posted December 22, 2009 u can embed the object pdf file in the html. after that u can inlcude the file like this include("$dir".clock."$arr_file_names[$rnumb]"); here $dir is the directory path and $arr_file_names[$rnumb] is the file name Link to comment https://forums.phpfreaks.com/topic/186010-opening-pdf-file/#findComment-982233 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.