!
zhaoxd
zhaoxd
imageTTFText($pic,20,0,10,20,$white,$font,$str);
//create png picture
imagepng($pic);
//release the memory occupied by the picture
imagedestroy($pic);
?
I tried this and it works. I can only see www.ccidnet.com.
Thank you,
zhaoxd
FreeType font in my gd so
as to use gd function like ImageTTFText ,etc.
Thank you
zhaoxd
It works fine. Spell Header() right, or remove the header altogether so
you can see the error message. I predict
php support ttf?I hava just compiled gd in php,but I found it can not use some
functions like ImageTTFtext and ImageTTFBBox,why?
Is that right that gd-1.8.4 can't support functions about ttf ,just as gd cannot
support gif?
Thank you
zhaoxd
Thank you all,I have solved the problem.
:)
zhaoxd
- Original Message -
From: Jason Wong [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, April 19, 2002 7:08 PM
Subject: Re: [PHP] some problems about gd in php
On Friday 19 April 2002 18:57, zhaoxd wrote
recompile php from scratch.
: P
zhaoxd
- Original Message -
From: Jason Wong [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, April 22, 2002 12:51 PM
Subject: Re: [PHP] some problems about gd in php
On Monday 22 April 2002 10:54, zhaoxd wrote
I have installed gd-1.8.4 in apache server without any problems.To check if the gd can
work,I write some codes with php like this:
?
Header(Content-type: image/gif);
$im = imagecreate(40,30);
$black = ImageColorAllocate($im, 0,0,0);
$white = ImageColorAllocate($im, 255,255,255);
I have installed gd-1.8.4 in apache server without any problems.To check if the gd can
work,I write some codes in php like this:
?
Header(Content-type: image/gif);
$im = imagecreate(40,30);
$black = ImageColorAllocate($im, 0,0,0);
$white = ImageColorAllocate($im, 255,255,255);
I have installed gd-1.8.4 in apache server without any problems.To check if the gd can
work,I write some codes in php like this:
?
Header(Content-type: image/gif);
$im = imagecreate(40,30);
$black = ImageColorAllocate($im, 0,0,0);
$white = ImageColorAllocate($im, 255,255,255);
On Friday 19 April 2002 15:06, zhaoxd wrote:
I have installed gd-1.8.4 in apache server without any problems.To check if
the gd can work,I write some codes in php like this:
?
Header(Content-type: image/gif);
$im = imagecreate(40,30);
$black = ImageColorAllocate($im
please!!!
On Friday 19 April 2002 15:41, zhaoxd wrote:
But this time,when I use imagepng function instead imagegif funtion,the
result is not right ,either!
The warning message displayed also,which is bWarning/b: ImagePng: No
PNG support in this PHP build in b/usr/local
or something I forgot?
Thank you.
zhaoxd
you
zhaoxd
On Friday 19 April 2002 18:57, zhaoxd wrote:
The version of php is php-4.1.2,the latest version,apache-1.3.24,also
latest.
I have installed gd-1.8.4 in apache server without any problems.To check if
the gd can work
not worked in the apache server,apache server can not recognize
php file.
What shall I do?Is my httpd.conf not right?
Help,please!
zhaoxd
Thank u all,I've got it!!!
:)
I have a question about cookies,why is the time that the cookies
expired not same as the time that parameter of session.cookie_lifetime
set?
for example, I wanna the cookies expired 5 minutes later,what should I
do?I think I should set the parameter,as follow:
session.cookie_lifetime =
17 matches
Mail list logo