Re: [PHP] problems creating a png image from an array{HELP} including the source code

2001-01-20 Thread Richard Lynch
> $size_x=1000; > $size_y=1000; > $ECODE=12; > > file://$filename='list.txt'; > echo ""; > $id=1; > $i=1; > echo "?? ?? $filename ?? ? ETNA"; > if ($fp=fopen($filename, "r")) > { > while (!feof($fp)) > { > $trimmed_line=trim($line=fgets($fp, 80)); > if (strstr($trimmed_line, "

[PHP] problems creating a png image from an array{HELP} including the source code

2001-01-19 Thread Nikos Tahos
convert.php "; $id=1; $i=1; echo "?? ?? $filename ?? ? ETNA"; if ($fp=fopen($filename, "r")) { while (!feof($fp)) { $trimmed_line=trim($line=fgets($fp, 80)); if (strstr($trimmed_line, "Handle")) { $handle=substr($trimmed_line, 9, 4); $trimmed_line=trim($line=fge

Re: [PHP] problems creating a png image from an array{HELP} with the source code

2001-01-19 Thread Nikos Tahos
convert.php "; $id=1; $i=1; echo "?? ?? $filename ?? ? ETNA"; if ($fp=fopen($filename, "r")) { while (!feof($fp)) { $trimmed_line=trim($line=fgets($fp, 80)); if (strstr($trimmed_line, "Handle")) { $handle=substr($trimmed_line, 9, 4); $trimmed_line=trim($line=fge

Re: [PHP] problems creating a png image from an array{HELP}

2001-01-19 Thread Richard Lynch
> I have a txt file as input.This file has the coordinates for a gas > network.With php I am creating an array with the above coordinates and then > I create from the array the image from the network.When the txt file is > >21Kb there is no image, else all works perfect{with a smaller txt file).I

[PHP] problems creating a png image from an array{HELP}

2001-01-18 Thread Nikos Tahos
I have a txt file as input.This file has the coordinates for a gas network.With php I am creating an array with the above coordinates and then I create from the array the image from the network.When the txt file is >21Kb there is no image, else all works perfect{with a smaller txt file).I am using