|
|
 |
Re: FN-FORUM: PHP/PDF problem
date posted 9th January 2004 22:55
Hi Andy,
I owe you one so wanted to help! But this isn't it, as I can't see anything!
How about converting pdf_views to float and incrementing 0.5!!
Does it work on your server, where presumably you can add debug tracing?
Hugh
> I've got an problem on a clients site that is driving me a little nuts. They
> have their site set up so that files with a .pdf extension are executed as
> .php. The php file has some code in that spits the pdf out to the browser.
> This part works fine.
>
> The .pdf php file also has some logging in, so that each download is
> recorded - the problem is each download is recorded twice and I can't for
> the life of me see why. Oddly, if the pdf link is clicked and acrobat is
> closed as soon as it opens, only 1 hit is recorded.
> (If I put the code from the .pdf file into a .php file the same thing
> happens)
>
> Example code:
>
> |
 |
|