Lid | 
                 | 
                
				
				Hallo allemaal, 
 
Zit er al dagen op vast. Ik gebruik deze code: 
 
    
    
        
            
                <?php
	$file = "::HEADER::]
filename: 'test']
author: 'Camil Staps']
description: '']
date: '22/12/2010 9:21']
width: 4]
height: 4]
fps: 4]
::CONTENTS::]
/000/000/000/000]
/000/000/000/000]
/000/000/000/000]
/000/000/000/000]
/f00/b00/800/400]
/0f0/0b0/080/040]
/00f/00b/008/004]
/fff/bbb/888/444]
/fff/bbb/888/444]
/f00/b00/800/400]
/0f0/0b0/080/040]
/00f/00b/008/004]
/00f/00b/008/004]
/fff/bbb/888/444]
/f00/b00/800/400]
/0f0/0b0/080/040]
--END--]";
	$file = str_replace("
","<br>",$file);
		echo '<table><tr><td>'.$file.'</td>';
	$contents = strpbrk($file,"::CONTENTS");
		echo '<td>'.$contents.'</td>';
	$contents = strpbrk($contents,"/");
		echo '<td>'.$contents.'</td></tr></table>';
?>
             
            <?php 	$file = "::HEADER::] filename: 'test'] author: 'Camil Staps'] description: ''] date: '22/12/2010 9:21'] width: 4] height: 4] fps: 4] ::CONTENTS::] /000/000/000/000] /000/000/000/000] /000/000/000/000] /000/000/000/000] /f00/b00/800/400] /0f0/0b0/080/040] /00f/00b/008/004] /fff/bbb/888/444] /fff/bbb/888/444] /f00/b00/800/400] /0f0/0b0/080/040] /00f/00b/008/004] /00f/00b/008/004] /fff/bbb/888/444] /f00/b00/800/400] /0f0/0b0/080/040] --END--]"; ","<br>",$file); 		echo '<table><tr><td>'.$file.'</td>'; 	$contents = strpbrk($file,"::CONTENTS"); 		echo '<td>'.$contents.'</td>'; 	$contents = strpbrk($contents,"/"); 		echo '<td>'.$contents.'</td></tr></table>'; ?> 
 
  
         
          
     
  
 
De bedoeling is dat hij eerst de hele variabele $file laat zien, daarna vanaf ::CONTENTS::] en daarna vanaf /000/000/000/000] 
Wat het doet? De tweede keer laat hij gewoon weer de hele variabele zien, en de derde keer dus vanaf /12/2010 (date) 
 
Waar ligt het aan? 
 
EDIT: opgelost met strstr() ipv strpbrk()				
				 |