quote:
Originally posted by hmaster
To read specific lines from a file, you can use something like
code:
$file = file('pathtoyourfile.txt');
$line1 = $fiile[0];
$line3 = $file[2];
Then use imagettftext to add the text in each position. You can specify the font, x and y positions in that tag.
You'll need fopen wrappers or whatever enabled.
why do you need fopen wrappers enabled to read from a localfile? .... fopen wrappers are what let you access urls like files. they dont disable local file reading.