No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I am using the following code to open a pdf document. The pdf document is stored outside of the root directory: [CODE] $file = $_GET['file']; $fileDir = '../../c_direc/'; if (file_exists($fileDir . $file)) { $contents = file_get_contents($fileDir . $file); header('Content-type: application/pdf'); echo $contents; } [/CODE] This code works (the pdf file … |
|
I have to update a site that has a few hundred html pages and uses frames. The admin wants to rid the site of the use of frames. I have gotten as far as to replace the frames w/php by including dynamic URL for the navigation menu. Here is my … |
|
Re:
Apologies for the huge post! I am having trouble with ajax right now on my site: (This site is only a first draft and has a few nav problems with the flash - will sort it soon) My main problem is I have an Ajax code on the index page … |