Jump to content


Member Since 30 Jul 2007
Offline Last Active Mar 26 2013 10:36 AM

Posts I've Made

In Topic: New Guru: Christian F.

10 February 2013 - 10:30 AM

/me facepalms

In Topic: imagecreatefromstring help!

27 January 2013 - 07:48 PM

Try these headers:

/* Your other code above, minus the image/png header */
$image = imagecreatefromstring($row['thumb']);

header('Content-Description: File Transfer');
header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; filename="'.$filename.'"'); //<<< Note the " " surrounding the file name
header('Content-Transfer-Encoding: binary');
header('Connection: Keep-Alive');
header('Expires: 0');
header('Cache-Control: must-revalidate, post-check=0, pre-check=0');
header('Pragma: public');
header('Content-Length: ' . strlen($image));

echo $image;

Making necessary changes like the file name. You only use the image/png header when you want to display the image.

In Topic: Seeking friends for a "geek" team

25 January 2013 - 06:35 PM

you are offensive.

That is what I said wasn't it? 

In Topic: Seeking friends for a "geek" team

25 January 2013 - 06:27 PM

I am offended. 

In Topic: Seeking friends for a "geek" team

24 January 2013 - 04:55 PM

I thought that was for premiso to have his virtual hell on earth?

Hell on earth? That is my HAVEN! 

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime