[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

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

[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