Jump to content

Cleanup Super globals


cobusbo
Go to solution Solved by Barand,

Recommended Posts

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
Share on other sites

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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.