in reply to problem loading ipx files
I checked and is printing out the correct mime type.my $sth = $dbh->prepare(qq(SELECT tripdata, tripmimetype FROM vacation +_files WHERE id=?)); $sth->execute($id); $sth->bind_columns(\$tripdata, \$tripmimetype); $sth->fetch(); $sth->finish(); $dbh->disconnect; $tripmimetype = ($tripmimetype eq "application/octet-stream") ? 'appli +cation/x-ipix' : $tripmimetype; print "Content-type: $tripmimetype\n"; print $tripdata; exit;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: problem loading ipx files
by Anonymous Monk on Dec 17, 2004 at 03:49 UTC | |
|
Re^2: problem loading ipx files
by Thilosophy (Curate) on Dec 17, 2004 at 11:09 UTC |