In PHP I am streaming records out of my database into swish-e. 1 record
works fine but as soon as I try 2 I get the following error:
b4a748943bd4b0ddbb629169c771eddf:131: error: Extra content at the end of the
doc
ument
Path-Name: 82c3453c9c33ebf2df361159391bb126
^
b4a748943bd4b0ddbb629169c771eddf is the name of the first doc.
82c3453c9c33ebf2df361159391bb126 is the second doc.
The code goes something like this:
while($row = mysql_fetch_assoc ( $all )){
$theDoc = gzuncompress($row['doc']);
echo("Path-Name: " . $row['docID'] . "\n");
echo("Content-Length: " . strlen( $theDoc ). "\n");
echo("\n");
echo($theDoc);
echo("\n");
}
I realize this is a very broad question, but I'm just starting with swish-e
and I'm trying to eveluate it for use on a web site.
-ece
Received on Wed Mar 26 07:12:09 2003