Hi,
I've got a mysql database with the following fields (and more)
file LONGBLOB
filesize VARCHAR
filetype VARCHAR
I can upload new stuff into the database and I've tested it with a simple output form.
Header( "Content-type: $users_avater_filetype");
echo $users_avater;
i know you can only send a header once and it has to be at the start of the page, what if i want this...
<?php
include "nav.php" //layout information
?>
<html>
some html code
</html>
<?php
echo $users_avater;
?>
That's not possible as far as i know, i've tried some imagecreate functions (jpeg/pjpeg etc) but i only get a bunch of errors... can anyone help me out here?
erik