0) { //This name exists in the database and has a potential taxon using it. //We have to resturn the gree button $file_to_use="green.gif"; } else { //This name doesnt't exist in the database //We have to return the red button $file_to_use="red.gif"; } $Rspecie=null; } else { //There's no name to search for //We have to return the red button $file_to_use="red.gif"; } ?> Open; $BinaryStream->Type=1; $BinaryStream->LoadFromFile($PathTo); //------------------------------------------------- //Loop through blocks of data and send------------- while($SizeOf>$BlockOf+$CountOf) { $CountOf=$CountOf+$BlockOf; print $BinaryStream->Read($BlockOf); flush(); } //------------------------------------------------- //Read Last Block of bytes and send---------------- print $BinaryStream->Read($SizeOf-$CountOf); flush(); exit(); //------------------------------------------------- //Set to Nothing-------------- $BinaryStream=null; $fso=null; //---------------------------- ?>