Skip to main content.
home | support | download

Back to List Archive

Using prog, how do I seperate files?

From: Eric Estabrooks <eric_estabrooks(at)>
Date: Wed Mar 26 2003 - 07:10:21 GMT
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
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");

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.

Received on Wed Mar 26 07:12:09 2003