Hi,
I'm trying to create a little online form for using base64_encode. The code is straightforward:
$s = "text string";
$e = base64_encode($s);
My form looks like this:
<form action="<?php b64_encode()?>" enctype="multipart/form-data" name="base64" id="base64">
Encode<br>
<input type="text" name="$s" value="<?php echo $s ?>" id="$s" size="60" maxlength="300"><BR><BR>
Output<br>
<textarea cols="60" rows="12" name="$e" id="$e"><?php echo $e ?></textarea>
<input type="submit" name="action" id="action" value="Submit">
</form>
The good news is that the script has not totally bombed out on me, but I'm not able to generate any output either.
What can I change to make this work?
Thanks