Forum Moderators: coopster
The below is simple script to Print $_GET variables,
<?php
echo $_GET['var'];
?>
It's ok for more bits,
page.php?var=hello => print: hello
page.php?var=hello1&var=hello2 => print: hello2
BUT:
page.php?var=#mywords => print: (i.e print nothing)
page.php?var=%00 => print: \0 (with magic_quotes_gpc=on)
page.php?var=%00 => print: NULL (null byte)
Can some one tell me what chars allowed? and how I can get it?
and how deal with it?
excluding:htmlentities(), htmlspecialchars()
With very Thanks
BEST REGARDS
[w3.org...]
* All characters with ASCII values less than 32 decimal (0x20 hex) or greater than 127 decimal (0x7F hex).
* Any characters from the set:!"#$%&'()+,/:;<=>?[\]^`{\}~
* DELETE
* SPACE. Spaces are escaped by replacing them with pluses (+).