Re: Raising error early

2007-10-02 Thread kolikov
[EMAIL PROTECTED] a écrit : > Hi, > > In order to do some tracking on the PDF downloaded on our > site, I have modified my _base.epl and send the file > "by hand" : > > if (open(PDF,$ENV{DOCUMENT_ROOT}.$ENV{SCRIPT_NAME})) { > $http_headers_out{'Content-type'}='application/pdf'; > $http_headers

Re: Raising error early

2007-10-02 Thread embperl
Hello my friend ;-) Nice to see an answer from you ! kolikov a écrit : > site, I have modified my _base.epl and send the file > "by hand" : > The opened file is your own script, so the open is always true. No. My _base.epl (EMBPERL_OBJECT_BASE) is being called for every .pdf file. This is p