Server IP : 185.86.78.101 / Your IP : 216.73.216.124 Web Server : Apache System : Linux 675867-vds-valikoshka1996.gmhost.pp.ua 5.4.0-150-generic #167-Ubuntu SMP Mon May 15 17:35:05 UTC 2023 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /www/wwwroot/mifepriston.org/node_modules/js-base64/ |
Upload File : |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!-- $Id: base64.html,v 1.1 2009/03/01 22:00:28 dankogai Exp dankogai $ --> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Demo for base64.js</title> </head> <body> <h1>Demo for base64.js</h1> <p>$Id: base64.html,v 1.1 2009/03/01 22:00:28 dankogai Exp dankogai $</p> <table width="640"><tbody> <tr><th width="50%">Text</th><th>Base64 (URL Safe <input id="encodeURI" type="checkbox" onclick="doit()">)</th></tr> <tr> <th><textarea id="srctxt" cols="32" rows="4" onkeyup="doit()"> </textarea></th> <th><textarea id="base64" cols="32" rows="4" onkeyup=" $('srctxt').value = Base64.decode(this.value); doit(); if (1 /*@cc_on -1 @*/) $('data').src = 'data:text/plain;base64,' + this.value; "></textarea></th> </tr> <tr><th width="50%">Roundtrip</th><th>iframe w/ data: (no IE)</th></tr> <tr> <th><textarea id="roundtrip" cols="32" rows="4" disabled></textarea></th> <th><iframe id="data" width="80%" height="64"></iframe></th> </tr> </tbody></table> <script src="./base64.js"></script> <script> $ = function(id){ return document.getElementById(id) }; function doit(){ var encoded = Base64[ 'encode' + ($('encodeURI').checked ? 'URI' : '') ]($('srctxt').value); $('base64').value = encoded; if (1 /*@cc_on -1 @*/) { $('data').src = 'data:text/plain;base64,' + Base64.encode(Base64.decode(encoded)); } $('roundtrip').value = Base64.decode(encoded); } </script> </body> </html>