error_reporting(0); $ip = "trix.tele3.com"; $user = "root"; $password = "wektax1"; $db = "shortlink"; $table="links"; ?>
if ($submit == 'Encrypt' && "$text" != "") { if ("$passwd" != "") { $text=`HOME=/home/portal/nobody;export HOME;ulimit -t 20;echo '$text'|/usr/bin/pgp -ca -z $passwd -f -`; } else { $error=" Please enter an encryption password"; } } if ($msg) { $text=base64_decode($msg); $text=gzuncompress($text); } if ($hint && !$submit) { $urlhint=base64_decode($hint); $urlhint=gzuncompress($urlhint); $hint=rawurldecode($urlhint); } if ($submit == 'Decrypt' && "$text" != "") { if (!isset($passwd)) { $error=" Please enter a decryption password"; } else { $text=rawurldecode($text); $text=`HOME=/home/portal/nobody;export HOME;ulimit -t 10;echo '$text'|/usr/bin/pgp -z $passwd -f -`; $text=stripslashes($text); unset($hint); } } ?>