[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4363: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3542)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3542)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3542)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4367: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3542)
[Résolu] Accent dans les url (xn--ostopathe-d4a.tel)

[Résolu] Accent dans les url (xn--ostopathe-d4a.tel)

Langage de programmation (PHP, ASP, Javascript, Ajax...) et bases de données (MySQL, MsSQL, PostgreSQL, Oracle...)

[Résolu] Accent dans les url (xn--ostopathe-d4a.tel)

Messagede osteopathe-annuaire » Mer 1 Sep 2010 07:29

Bonjour à tous,

Je lance un annuaire pour ostéopathe http://osteopathe-annuaire.fr

En plus de cela je propose de créer des mini sites en .tel aux ostéopathes qui n'ont pas de site à référencer.
l'url est de type: nom-prenoms.ostéopathe.tel

Le problème est que lorsque je veux inscrire dans l'annuaire l'url avec l'accent Arfooo refuse... l'url est non valide.

J'aimerai modifier le code pour la rendre valide mais là je bute vraiment...

Je cherche une ligne de code du genre:

$domain = '([a-z0-9]([-a-z0-9]*[a-z0-9]+)?)'; // caractères autorisés (nom de domaine)

Mais je trouve pas...
Alors je suis obligé d'inscrire l'url en format international:

Mais c'est pas vraiment classe...

Merci pour votre aide!
Dernière édition par osteopathe-annuaire le Sam 4 Sep 2010 09:52, édité 1 fois.
osteopathe-annuaire
 
Messages: 14
Inscription: Mer 1 Sep 2010 07:17


Re: Accent dans les url (xn--ostopathe-d4a.tel)

Messagede Seebz » Ven 3 Sep 2010 18:30

Seebz
 
Messages: 7
Inscription: Ven 3 Sep 2010 17:57

Re: Accent dans les url (xn--ostopathe-d4a.tel)

Messagede osteopathe-annuaire » Sam 4 Sep 2010 07:46

Merci pour la réponse,

La variable $domain n'existe pas en fait. On trouve $url mais je n'arrive pas à modifier les caractères interdits.
Mais déjà est ce bien celle la? et dans quel fichier?? puisque le fichier pour ajouter un site est généré il me semble par le script.

Bref je patooooge...
osteopathe-annuaire
 
Messages: 14
Inscription: Mer 1 Sep 2010 07:17

Re: Accent dans les url (xn--ostopathe-d4a.tel)

Messagede Seebz » Sam 4 Sep 2010 09:17

Seebz
 
Messages: 7
Inscription: Ven 3 Sep 2010 17:57

Re: Accent dans les url (xn--ostopathe-d4a.tel)

Messagede osteopathe-annuaire » Sam 4 Sep 2010 09:50

Merci !!!


Cela marche parfaitement!

Je reporte les éventuels bugs si j'en trouve!

A charge de revanche
osteopathe-annuaire
 
Messages: 14
Inscription: Mer 1 Sep 2010 07:17


Retourner vers Programmation

 


  • Articles en relation
    Réponses
    Vus
    Dernier message

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 0 invités

 
Copyright © arfooo.com  2007 - 2011  -  Tous droits réservés  -  Partenaires de confiance
Sites du groupe: petites annonces gratuites   voyance en direct - tirage tarot   Consultant en référencement
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group | phpBB SEO Traduction par: phpBB-fr.com
cron