if($motif!="") { $mot=epure($motif); rech_dans_fic($mot); } ?>
![]() |
|
include "connexion_bdd.php"; ?>
if($motif!="") { $mot=epure($motif); rech_dans_fic($mot); } ?>
![]() |
|
".$le_lien."
";
echo "";
echo "";
echo $nb_rep.".
";
echo "".$ttt."
";
//echo "".getenv($HTTP_SERVER)."/".$fichier."
".$nb_rep." Résultat(s) trouvé(s).
"; } else { echo "Aucun Résultat trouvé.
"; } return $mess_txt; } //############################################################ // strpos ameliore pr differencier la pos 0 et le FAUX //############################################################ function mon_strpos($chaine,$motif) { $c=strpos($chaine,$motif); if($c>0) return true; if($c==0) { if(substr($chaine,0,strlen($motif))==$motif) return true; else return false; } } //############################################################## //############################################################ // strpos amelioré pr rechercher à partir d'un bout chaine comme instr(en ASP) // $position 0 équivaut à 1er caratère //############################################################ function mon_instr($position,$chaine,$motif) { $chaine=substr($chaine,$position,strlen($chaine)-$position); $c=strpos($chaine,$motif); if($c>0) return $c+$position; if($c==0) { if(substr($chaine,0,strlen($motif))==$motif) return 0+$position; else return false; } } //############################################################## ?>