astrofiles Posté 6 Septembre 2005 Partager Posté 6 Septembre 2005 Bonsoir, j'ai un htaccess de ce style RewriteRule news-([a-zA-Z]*)-([a-zA-Z]*)-([a-zA-Z]*)-([a-zA-Z]*)-([a-zA-Z]*)-([a-zA-Z]*)-([a-zA-Z]*)-([a-zA-Z]*)-([a-zA-Z]*)-([a-zA-Z]*)-([0-9]*)-([0-9]*)-([0-9]*)-([0-9]*).html /index.php?subaction=$1&mot1=$2&mot2=$3&mot3=$4&mot4=$5&mot5=$6&mot6=$7&mot7=$8&mot8=$9&mot9=$10&id=$11&archive=$12&start_from=$13&ucat=$14&page=news [L]RewriteRule news-([a-zA-Z]*)-([a-zA-Z]*)-([a-zA-Z]*)-([a-zA-Z]*)-([a-zA-Z]*)-([a-zA-Z]*)-([a-zA-Z]*)-([a-zA-Z]*)-([a-zA-Z]*)-([0-9]*)-([0-9]*)-([0-9]*)-([0-9]*).html /index.php?subaction=$1&mot1=$2&mot2=$3&mot3=$4&mot4=$5&mot5=$6&mot6=$7&mot7=$8&mot8=$9&id=$10&archive=$11&start_from=$12&ucat=$13&page=news [L]RewriteRule news-([a-zA-Z]*)-([a-zA-Z]*)-([a-zA-Z]*)-([a-zA-Z]*)-([a-zA-Z]*)-([a-zA-Z]*)-([a-zA-Z]*)-([a-zA-Z]*)-([0-9]*)-([0-9]*)-([0-9]*)-([0-9]*).html /index.php?subaction=$1&mot1=$2&mot2=$3&mot3=$4&mot4=$5&mot5=$6&mot6=$7&mot7=$8&id=$9&archive=$10&start_from=$11&ucat=$12&page=news [L]RewriteRule news-([a-zA-Z]*)-([a-zA-Z]*)-([a-zA-Z]*)-([a-zA-Z]*)-([a-zA-Z]*)-([a-zA-Z]*)-([a-zA-Z]*)-([0-9]*)-([0-9]*)-([0-9]*)-([0-9]*).html /index.php?subaction=$1&mot1=$2&mot2=$3&mot3=$4&mot4=$5&mot5=$6&mot6=$7&id=$8&archive=$9&start_from=$10&ucat=$11&page=news [L]RewriteRule news-([a-zA-Z]*)-([a-zA-Z]*)-([a-zA-Z]*)-([a-zA-Z]*)-([a-zA-Z]*)-([a-zA-Z]*)-([0-9]*)-([0-9]*)-([0-9]*)-([0-9]*).html /index.php?subaction=$1&mot1=$2&mot2=$3&mot3=$4&mot4=$5&mot5=$6&id=$7&archive=$8&start_from=$9&ucat=$10&page=news [L] etc...... au dela de 10 paramètres lorsque j'utilise $10 il affiche valeur de $1 et me colle un 0 derrière..... Il y a t-il une syntaxe pour lui spécifier que c'est le paramètre 10 $10 qu'il faut interpreter. Ou alors il y a t-il une syntaxe dynamique qui s'adapterait à tosu les coups quel que soit le nombre de parametres Merci d'avance pour votre aide Lien vers le commentaire Partager sur d’autres sites More sharing options...
Sujets conseillés
Veuillez vous connecter pour commenter
Vous pourrez laisser un commentaire après vous êtes connecté.
Connectez-vous maintenant