Redirection PHP ou htaccess
Fermé
Vitaly58
Messages postés
43
Date d'inscription
samedi 2 avril 2011
Statut
Membre
Dernière intervention
15 novembre 2012
-
24 sept. 2012 à 16:42
Utilisateur anonyme - 25 sept. 2012 à 03:44
Utilisateur anonyme - 25 sept. 2012 à 03:44
A voir également:
- Redirection PHP ou htaccess
- Easy php - Télécharger - Divers Web & Internet
- Php?id=1 - Forum PHP
- Htaccess 404 - Forum Référencement
- Get_magic_quotes_gpc php 8 ✓ - Forum PHP
- \R php ✓ - Forum PHP
1 réponse
Utilisateur anonyme
25 sept. 2012 à 03:44
25 sept. 2012 à 03:44
Voici une piste en php:
$url = "http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
$newurl = str_replace ( "-", "+" , $url )
header("Location:".$newurl)
$url = "http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
$newurl = str_replace ( "-", "+" , $url )
header("Location:".$newurl)