Hello Everyone,
I wrote a GD function that resizes some images and displays them as
thumbnails. When I put the function in the index.php page I receive an
error Warning: Headers have already been sent... then it shows a bunch
of binary. I do not want re-save the file, I just want resize and
Probably nothing really. When it complains about headers already being
sent is the line number the same as your header() line below? If so, that
means you're outputting something back to the browser prior to that line.
I'd make sure you don't have any white space before your initial opening
The script works fine when I test it on a stand alone page. I'm just
not sure how to include with the rest of the site.
On Apr 5, 2005, at 1:17 PM, Philip Hallstrom wrote:
Probably nothing really. When it complains about headers already
being sent is the line number the same as your header()
On Tuesday 05 April 2005 19:19, Craig Hoffman wrote:
The script works fine when I test it on a stand alone page. I'm just
not sure how to include with the rest of the site.
You can't do it all from the same script (AFAIK). This is because of the way
http/browsers work - each image is requested
Thanks - it works perfectly!
On Apr 5, 2005, at 1:33 PM, Simon Rees wrote:
On Tuesday 05 April 2005 19:19, Craig Hoffman wrote:
The script works fine when I test it on a stand alone page. I'm just
not sure how to include with the rest of the site.
You can't do it all from the same script (AFAIK).
.
Yes I know. Thanks.
-Wendell
-Original Message-
From: Craig Hoffman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 05, 2005 11:04 AM
To: php-db@lists.php.net
Subject: [PHP-DB] GD Question
Hello Everyone,
I wrote a GD function that resizes some images and displays them as
thumbnails. When I
img src=doimage.php?id=$some_id
Bastien
From: Craig Hoffman [EMAIL PROTECTED]
To: Wendell Frohwein [EMAIL PROTECTED]
CC: php-db@lists.php.net
Subject: Re: [PHP-DB] GD Question
Date: Tue, 5 Apr 2005 14:10:50 -0500
Hi Wendell,
If its not too much trouble, I have one more question. How can I get GD