Re: [PHP-DB] gzip image files

2001-11-27 Thread Andrey Hristov
to remove .png from the filename. Regards, Andrey - Original Message - From: "Keith Whyman" <[EMAIL PROTECTED]> To: "Andrey Hristov" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, November 27, 2001 5:30 PM Subject: Re: [PHP-DB] gzip image files > h

[PHP-DB] RE: [PHP] Coding methods (was RE: [PHP-DB] gzip image files)

2001-11-27 Thread Jon Haworth
t is in green I've done it so much now it's burned into a finger macro, takes 0.01 seconds longer to type (approx) Cheers Jon -Original Message- From: Boget, Chris [mailto:[EMAIL PROTECTED]] Sent: 27 November 2001 15:29 To: [EMAIL PROTECTED]; '[EMAIL PROTECTED]

Re: [PHP-DB] Coding methods (was RE: [PHP-DB] gzip image files)

2001-11-27 Thread Russ Michell
I use the former method when concatenating say a complex SQL query thru a loop or loops, and me being the person I am like to keep things standard and consistant so I use the same method when I wish to concatenate simpler strings. Russ On Tue, 27 Nov 2001 09:28:37 -0600 "Boget, Chris" <[EMAI

[PHP-DB] [PHP] Coding methods (was RE: [PHP-DB] gzip image files)

2001-11-27 Thread Andrey Hristov
el. Regards, Andrey Hristov - Original Message - From: "Boget, Chris" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, November 27, 2001 5:28 PM Subject: [PHP] Coding methods (was RE: [PHP-DB] gzip image files) > > $fil

Re: [PHP-DB] gzip image files

2001-11-27 Thread Keith Whyman
, "w"); > fwrite($fp, $gzdata); > fclose($fp); > // this is ok > > Regards, > Andrey Hristov > IcyGEN Corporation > http://www.icygen.com > BALANCED SOLUTIONS > > > - Original Message - > From: "Keith Whyman" <[EMAIL PROTECTED]

[PHP-DB] Coding methods (was RE: [PHP-DB] gzip image files)

2001-11-27 Thread Boget, Chris
> $filename = 'kunden/'.$name.'.png'; I see this all the time and I'm curious: what takes more computing power (granted, either would be incredibly little I'm sure, just curious which requires more work by PHP)? this: $filename = "this " . $varname . " that"; or this: $filename = "this $varn

Re: [PHP-DB] gzip image files

2001-11-27 Thread Andrey Hristov
y Hristov" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, November 27, 2001 5:06 PM Subject: Re: [PHP-DB] gzip image files > and if i use > > $filename = 'kunden/'.$name.'.png'; > $data = fopen($filename, "r"); > $contents

Re: [PHP-DB] gzip image files

2001-11-27 Thread Keith Whyman
EN Corporation > http://www.icygen.com > BALANCED SOLUTIONS > > > - Original Message - > From: "Keith Whyman" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, November 27, 2001 4:23 PM > Subject: [PHP-DB] gzip image files >

Fw: [PHP-DB] gzip image files

2001-11-27 Thread Keith Whyman
a); > > fclose($fp); > > ?> > > > > Regards, > > Andrey Hristov > > IcyGEN Corporation > > http://www.icygen.com > > BALANCED SOLUTIONS > > > > > > - Original Message - > > From: "Keith Whyman" <[EMAIL PROTECT

Re: [PHP-DB] gzip image files

2001-11-27 Thread Andrey Hristov
://www.icygen.com BALANCED SOLUTIONS - Original Message - From: "Keith Whyman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 27, 2001 4:23 PM Subject: [PHP-DB] gzip image files > I create a png dynamically - store the path in mysql. > &g

[PHP-DB] gzip image files

2001-11-27 Thread Keith Whyman
I create a png dynamically - store the path in mysql. And want to be able to offer the user a zipped version to download Unfortunately haven't been able to get it to work up until now ! I'm sure it's something obvious but... Open the png $data = fopen('kunden/'.$name.'.png', "rb"); enco