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&user=email@foo.com
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?