note 60802 deleted from function.chr by cece

From: Date: Tue, 17 Jan 2006 09:21:11 +0000
Subject: note 60802 deleted from function.chr by cece
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-101958@lists.php.net to get a copy of this message
Note Submitter: Father Jack Reason: bad code ---- <?php echo('<FONT FACE="Courier New">'); $max_ASCII=256; /* When you are going to modify this value far above 256 (let us say doubled a few times) * you are going to experience the ASCII table is repeated lots of times. */ for($i=0;$i<=$max_ASCII;$i++) { echo '<FONT COLOR="red">'.$i.'=</FONT><FONT COLOR="green">'.chr($i).'</FONT>=<FONT COLOR="blue">'.urlencode(chr($i)).'</FONT>=<FONT COLOR="green">'.rawurlencode(chr($i)).'</FONT><BR>'; } echo('</FONT>'); ?>

« previous php.notes (#101958) next »