All pastes #1701636 Raw Edit

Anonymous

public php v1 · immutable
#1701636 ·published 2009-12-04 10:33 UTC
rendered paste body
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>	<title>Cursive Text</title>	<meta http-equiv="Content-Language" content="en-us" />	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><?php/** * Unicode script creater, using the * MATHEMATICAL BOLD ITALIC characters. * * This script will make people think you're * a 12-year-old Myspace girl. * Use at your own risk! * * http://stuff.yudirosen.com/cursive.php * * @author  Yudi Rosen <yudi42@gmail.com> * @license BSD */$script_chars = array (	'A' => '&#x1D4D0', 'B' => '&#x1D4D1', 'C' => '&#x1D4D2', 'D' => '&#x1D4D3', 'E' => '&#x1D4D4', 	'F' => '&#x1D4D5', 'G' => '&#x1D4D6', 'H' => '&#x1D4D7', 'I' => '&#x1D4D8', 'J' => '&#x1D4D9', 	'K' => '&#x1D4DA', 'L' => '&#x1D4DB', 'M' => '&#x1D4DC', 'N' => '&#x1D4DD', 'O' => '&#x1D4DE', 	'P' => '&#x1D4DF', 'Q' => '&#x1D4E0', 'R' => '&#x1D4E1', 'S' => '&#x1D4E2', 'T' => '&#x1D4E3', 	'U' => '&#x1D4E4', 'V' => '&#x1D4E5', 'W' => '&#x1D4E6', 'X' => '&#x1D4E7', 'Y' => '&#x1D4E8', 	'Z' => '&#x1D4E9', 'a' => '&#x1D4EA', 'b' => '&#x1D4EB', 'c' => '&#x1D4EC', 'd' => '&#x1D4ED', 	'e' => '&#x1D4EE', 'f' => '&#x1D4EF', 'g' => '&#x1D4F0', 'h' => '&#x1D4F1', 'i' => '&#x1D4F2', 	'j' => '&#x1D4F3', 'k' => '&#x1D4F4', 'l' => '&#x1D4F5', 'm' => '&#x1D4F6', 'n' => '&#x1D4F7', 	'o' => '&#x1D4F8', 'p' => '&#x1D4F9', 'q' => '&#x1D4FA', 'r' => '&#x1D4FB', 's' => '&#x1D4FC', 	't' => '&#x1D4FD', 'u' => '&#x1D4FE', 'v' => '&#x1D4FF', 'w' => '&#x1D500', 'x' => '&#x1D501', 	'y' => '&#x1D502', 'z' => '&#x1D503', '<' => '&amp;lt;', '>' => '&amp;gt;', '"' => '&amp;quot;');$array = preg_split('//', $_GET['text'], -1, PREG_SPLIT_NO_EMPTY);foreach($array as $char) {	$string .= $script_chars[$char] ? $script_chars[$char] : $char;}$string = html_entity_decode($string, ENT_QUOTES, 'UTF-8');?><body>	<?php echo stripslashes($string); ?>	<form method="get" action="">		Your text here:<br />		<textarea name="text" rows="6" cols="50"></textarea>		<br /><br />		<input type="submit" value="Submit" name="Submit" />	</form></body></html>