| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15414
|
Posted: Fri Dec 08, 2006 3:55 pm Post subject: Re: two other problem with UTF-8 persian |
|
|
Oh I see, this is because the characters used are already passed through htmlspecialchars(), most likely because they where not posted in your forum's char-set.
Anyway, to sort this out the above fix should now read as follow :
Open :
| Code: | | Includes/funtions_validate.php |
Find:
| Code: | function validate_username($username)
{
global $db, $lang, $userdata; |
After add :
| Code: |
// www.phpBB-SEO.com BEGIN
$username = ereg_replace('&#[0-9];', " ", $username);
$username = rawurlencode(trim($username));
$username = ereg_replace('%[a-zA-Z0-9]{2}', " ", $username);
// www.phpBB-SEO.com END |
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |