Subversion Repositories Applications.projet

Rev

Rev 406 | Rev 431 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 406 Rev 420
Line 123... Line 123...
123
		//echo $numero_message;
123
		//echo $numero_message;
124
		// on cherche la ligne avec le numero du message
124
		// on cherche la ligne avec le numero du message
125
		while (!feof($fichier_index)) {
125
		while (!feof($fichier_index)) {
Line 126... Line 126...
126
				
126
				
-
 
127
				$temp = fgets($fichier_index,4096);
-
 
128
				$x = preg_match('/(\d+): (\w+) (.*)/', $temp, $matches);
127
				$temp = fgets($fichier_index,4096);
129
                array_shift($matches);
128
				list($num, $hash, $sujet) = split (':', $temp) ;
130
                list($num, $hash, $sujet) = $matches;
129
				
131
 
Line 130... Line 132...
130
				if ($num == $numero_message) {
132
				if ($num == $numero_message) {
131
					
133
					
132
					$ligne_message_precedent = $compteur_ligne -2;
134
					$ligne_message_precedent = $compteur_ligne -2;