$decode » History » Revision 4
Revision 3 (Per Amundsen, 04/08/2016 10:56 AM) → Revision 4/20 (Per Amundsen, 04/08/2016 10:59 AM)
_Added in 1.9.0_
*$decode(text|&binvar, bhmut, N)*
Decodes text or &binvar using Uuencode, Mime or html codes.
If decoding a &binvar, returns the actual number of characters written to the &binvar.
Default is Uuencode.
*Parameters*
text|&binvar - The text or a &binvar to decode.
abhmut - a = base32 decoding, b indicates a &binvar is specified, h = hmtl coded decoding, m = mine decoding, u = Uuencode. (h is AdiIRC only)
N - TODO
<pre>
; UUencode 'test'.
//echo -ag $encode(test)
; UUencode 'test', then decode it.
//echo -ag $decode($encode(test))
</pre>