• I have a wordpress site with posts that have links to a custom php script (watermarking.php).

    The links look like: mysite.com/watermarking.php?file=blah&[email protected]

    My watermarking script then uses the file and user GET values to generate a PDF file for download with each page watermarked with the users email (works, tested.)

    Problem is, when the script is in place and I click a link I simply get a “No Access” image. 🙁 If I strip out the GET values form the link and just output some “Hello World” message, the link works just fine. How can I force wordpress to stop freaking out whe I pass some GET variables to my custom script?

Viewing 1 replies (of 1 total)
  • Thread Starter viperfunk

    (@viperfunk)

    I’m chalking this up to the theme I have in place not allowing FPDF to send teh generated PDF to the browser and force a download

    (anyone else who stumbles upon this problem, I am using the “I” option with FPDF; FPDF->Output(“file.pdf”, “I”) successfully, but the “D”option simply isn’t working. My gut tells me the theme is preventing this.

    * shrugs *

Viewing 1 replies (of 1 total)

The topic ‘Here's a problem’ is closed to new replies.