home

Your Name in Binary



$time (PST)

"; $logout = $arg . " $time"; `echo $logout >> log.txt`; $out = htmlentities($out); // replace
for newlines $search[0] = '@([\r\n])[\s]+@'; $replace[0] = '

'; $out = preg_replace($search, $replace, $out); print " $out "; // undo escapeshellarg for output strip off the single quotes $search[0] = "'\''"; $replace[0] = "'"; $arg = substr($arg,1); $arg = substr($arg,0, strlen($arg)-1); $arg = str_replace($search, $replace, $arg); // escape the remaining single quotes that are supposed to be there // and make html entities of anything relevent $arg = htmlentities($arg, ENT_QUOTES); // now prepare for next entry into program print "Enter your name, a word or sentance you would like to see translated to binary:"; print '
'; print '
'; print ''; print '
'; ?> home