Perlfect Solutions
 

[Perlfect-search] PHP-Code in template

Daniel Naber daniel.naber@t-online.de
Wed, 27 Jun 2001 23:40:57 +0200
--------------Boundary-00=_9WYLGOQIRF1M8A27FXTU
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

On Tuesday 26 June 2001 19:42, you wrote:

> Could you, Daniel, or s.o.a. tell me an example of a wrapper please.

Here's a simple PHP wrapper.

regards
 Daniel

--=20
Daniel Naber, Paul-Gerhardt-Str. 2, 33332 Guetersloh, Germany
Tel. 05241-59371, Mobil 0170-4819674

--------------Boundary-00=_9WYLGOQIRF1M8A27FXTU
Content-Type: text/html;
  charset="iso-8859-1";
  name="template.php"
Content-Disposition: attachment; filename="template.php"
Content-Transfer-Encoding: base64

PGh0bWw+CjxoZWFkPgogIDxtZXRhIGh0dHAtZXF1aXY9IkNvbnRlbnQtVHlwZSIgY29udGVudD0i
dGV4dC9odG1sOyBjaGFyc2V0PUlTTy04ODU5LTEiPgogIDx0aXRsZT5Zb3VyIHNlYXJjaCBmb3Ig
Jzw/IHByaW50IHN0cmlwX2h0bWwoJHEpOyA/Pic8L3RpdGxlPgo8L2hlYWQ+Cjxib2R5IGJnY29s
b3I9IndoaXRlIiB0ZXh0PSJibGFjayIgbGluaz0iYmx1ZSIgYWxpbms9InJlZCIgdmxpbms9InB1
cnBsZSI+Cgo8PwovKiAKU2ltcGxlIFBIUCB3cmFwcGVyIGZvciBQZXJsZmVjdCBTZWFyY2gKKGEg
YmV0dGVyIHdyYXBwZXIgd291bGQgcGFyc2UgdGhlIHJlc3VsdCBhbmQgYWNjZXNzIGl0IHZpYSBQ
SFApClRvIHVzZSB0aGlzLCB5b3UgbmVlZCB0byBtb2RpZnk6CjEuIHRoZSBzZWFjaCBmb3JtLCBz
ZXQgdGhpcyBmaWxlJ3MgVVJMIGluIHRoZSAnYWN0aW9uJyBhdHRyaWJ1dGUKMi4gdGVtcGxhdGVz
L3NlYXJjaC5odG1sIGFuZCB0ZW1w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