Today in the use of. htaccess do pseudo-static time, there is a strange thing, there will be a problem with C + + in the URL, in the processing of C + + when the word, in any case, $_get will not get + +, can only get C space.
At first I thought it was useless urlencode processing, and then found that the actual processing, backstage after the investigation, to determine the problem is rewrite, because in a single file environment can get C + + the word, of course, is through the urlencode.
Reason: Rewrite cannot get the word C + +, because Apache does urldecode processing after getting parameters, resulting in the addition of the plus part in C + +
Solution currently only see one, in the PHP official network also has records, in the processing of C + +, two times UrlEncode processing, that is, UrlEncode ("C + +"), so rewrite, you can get the word C + +.
Attach the specific address on the Php.net Http://www.php.net/urlencode
The plus sign in the URL cannot be resolved after Apache uses the Rewriterule redirect in the. htaccess file