For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > August 2007 > header()









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author header()
java.inet@gmail.com

2007-07-16, 3:58 am

HI

this is new bie


how to store an images by using php gd2 library

C.

2007-07-16, 9:59 pm

On 16 Jul, 06:32, java.i...@gmail.com wrote:
> HI
>
> this is new bie
>
> how to store an images by using php gd2 library



gd is for manipulating images (creating/changing) not storing them.

You need to provide a better explanation of what you are trying to
achieve.

C.

Rik

2007-07-16, 9:59 pm

On Mon, 16 Jul 2007 07:32:53 +0200, <java.inet@gmail.com> wrote:

> HI
>
> this is new bie
>
>
> how to store an images by using php gd2 library
>


RTFM:
http://www.php.net/imagepng (or any of the others for that matter):

bool imagepng ( resource $image [, string $filename [, int $quality [, int
$filters]]] )
....
filename

The path to the saved file. If not set or NULL, the raw image stream will
be outputed directly.

So, just give it a filename to a directory where you've got writing rights.
--
Rik Wasmus
Julien Plée

2007-08-12, 6:59 pm

Le Sun, 15 Jul 2007 22:32:53 -0700, java.inet a écritÂ_:

> HI
>
> this is new bie
>
>
> how to store an images by using php gd2 library


Hi java.inet,

How comes gd2 is related to header() ?


Julien
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com