cobusbo Posted January 20, 2015 Share Posted January 20, 2015 Hi I'm currently experiencing problems with my super global outputs. I'm using $_SERVER['HTTP_X_MXIT_NICK']; to retrieve info but in the place of a space it gets replaced with a + Galaxy+Universe+Admin I've also tried using special characters like this in my name ᄃӨBЦƧBӨ {~KΛMΛKΛZI~} But the output is %E1%84%83%D3%A8B%D0%A6%C6%A7B%D3%A8+%7B~K%CE%9BM%CE%9BK%CE%9BZI~%7D Is there maybe a way to clean it up to show as normal text in Sentence case? Link to comment https://forums.phpfreaks.com/topic/294079-cleanup-super-globals/ Share on other sites More sharing options...
Barand Posted January 20, 2015 Share Posted January 20, 2015 echo urldecode("Galaxy+Universe+Admin"); #--> Galaxy Universe Admin Link to comment https://forums.phpfreaks.com/topic/294079-cleanup-super-globals/#findComment-1503501 Share on other sites More sharing options...
cobusbo Posted January 20, 2015 Author Share Posted January 20, 2015 echo urldecode("Galaxy+Universe+Admin"); #--> Galaxy Universe Admin Thank you it helped removing the + signs and by adding <html> <head> <meta charset="utf-8"><!-- Your HTML file can still use UTF-8--> </head> <body> <?php header('Content-Type: text/html; charset=ISO-8859-1'); helped with the special characters. Link to comment https://forums.phpfreaks.com/topic/294079-cleanup-super-globals/#findComment-1503511 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.