Lelton dijo [Fri, Jul 27, 2007 at 09:28:03AM +1000]:
> Thanks for the reply but that does not solve the problem. The
> content-type is the easy part! With that code in a [- -] I still get
> the inherited HTML templates which gets stuck in with the contents of
> $binary_data in the rendered output.
> 
> As Ed mentioned, I need some way of preventing Embperl from processing
> any of the inherited templates in base.epl within a particular branch
> within the program logic.

Hi,

You might want to take a look at a little system I wrote, implementing
a simple SMB-to-web read-only gateway using Embperl. It includes the
answer to this point you are raising, although I don't know it's done
in the cleanest way - but it works perfectly :)

http://www.gwolf.org/soft/smbgate/SmbGate-1.0.tar.gz

There are still some references to my workplace sprinkled through the
code - If you want to use it, look for any occurrences of the 'iiec'
string :)

Greetings,

-- 
Gunnar Wolf - [EMAIL PROTECTED] - (+52-55)5623-0154 / 1451-2244
PGP key 1024D/8BB527AF 2001-10-23
Fingerprint: 0C79 D2D1 2C4E 9CE4 5973  F800 D80E F35A 8BB5 27AF

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to