Jump to content

++ probs


tinker

Recommended Posts

i got a string, 'C++.html', on the first usage when it comes out of database it ok, but then it not, i try lots of things such as,

echo htmlspecialchars('C++.html')."<br>";
echo htmlentities("C++.html")."<br>";	
$sret .= "<br>:".bin2hex("+").":".urlencode("+").":".rawurlencode("+").":".utf8_encode("+").":<br>";

also i try decode counterparts for each case...

when it appear in page or url it comes out as two spaces, when i run one through 'ord' it say 32, but + is 43 ascii

 

anybody know why or how to fix please?

Link to comment
https://forums.phpfreaks.com/topic/82820-probs/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.