Re: [PHP] php-gd problems on Ubuntu 8.04

2008-08-18 Thread Chantal Rosmuller
I did, but it doens't help On Thursday 14 August 2008 18:58:57 Micah Gersten wrote: > Make sure that your php.ini file for the cli is loading gd. > > Thank you, > Micah Gersten > onShore Networks > Internal Developer > http://www.onshore.com > > Chantal Rosmuller wrote: > > Hi list, > > > > I hav

Re: [PHP] php-gd problems on Ubuntu 8.04

2008-08-18 Thread Luke
Which gd package did you install? Php5-gd worked for me. Could be something like it trying to install a php4 module onto php5 Luke Slater Lead Developer NuVoo On 18 Aug 2008, at 15:47, Chantal Rosmuller <[EMAIL PROTECTED]> wrote: I did, but it doens't help On Thursday 14 August 2008 18:58:5

Re: [PHP] php-gd problems on Ubuntu 8.04

2008-08-14 Thread Micah Gersten
Make sure that your php.ini file for the cli is loading gd. Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com Chantal Rosmuller wrote: > Hi list, > > I have a PHP problem on Ubuntu 8.04, the php-gd package for ubuntu > doesn't use the gd bundles library for s

[PHP] php-gd problems on Ubuntu 8.04

2008-08-14 Thread Chantal Rosmuller
Hi list, I have a PHP problem on Ubuntu 8.04, the php-gd package for ubuntu doesn't use the gd bundles library for security reasons if I understood this correctly. I solved it by downloading a php-gd fedora rpm and converting it to .deb with alien. it works for the apache websites but not for t

Re: [PHP] GD problems

2006-06-23 Thread chris smith
On 6/24/06, Beauford <[EMAIL PROTECTED]> wrote: Honestly, I've never seen anything so ridiculous. How is one to know that in order to get one program to work you have to install 28 others. I'm not trying to be a smart ass here, but seriously - No where in any documentation I've read does it say I

RE: [PHP] GD problems

2006-06-23 Thread Beauford
e some time if I had though. Thanks to everyone. B -Original Message- From: chris smith [mailto:[EMAIL PROTECTED] Sent: June 23, 2006 6:11 PM To: Beauford Cc: php-general@lists.php.net Subject: Re: [PHP] GD problems On 6/24/06, Beauford <[EMAIL PROTECTED]> wrote: > > Here

Re: [PHP] GD problems

2006-06-23 Thread chris smith
On 6/24/06, Beauford <[EMAIL PROTECTED]> wrote: Here's something else I just noticed. When I run the script below in Windows it works fine, in Linux I get this error: Fatal error: Call to undefined function bcmod() in /usr/local/apache/htdocs/home/cap.php on line 62 David told you about this

RE: [PHP] GD problems

2006-06-23 Thread Beauford
I'm missing in Linux that is required by these scripts? This is what I've been fighting with the last two weeks. Thanks for all the help. -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: June 23, 2006 2:20 AM To: Beauford Cc: php-general@lists.php.net Subject: Re: [P

RE: [PHP] GD problems

2006-06-23 Thread Beauford
Here's something else I just noticed. When I run the script below in Windows it works fine, in Linux I get this error: Fatal error: Call to undefined function bcmod() in /usr/local/apache/htdocs/home/cap.php on line 62 This is line 62: $pos_x = bcmod($code,$size_x-60) +3; Linux is running PHP

Re: [PHP] GD problems

2006-06-22 Thread Chris
Beauford wrote: Since I know nothing of how this works, does this actually create a physical image, and if it does I'm assuming it would be in the originating directory from where the script was run - if this is the case, I got nothing. This is a moot point now as I have done what I need withou

RE: [PHP] GD problems

2006-06-22 Thread Beauford
Since I know nothing of how this works, does this actually create a physical image, and if it does I'm assuming it would be in the originating directory from where the script was run - if this is the case, I got nothing. This is a moot point now as I have done what I need without using gd, but it

RE: [PHP] GD problems

2006-06-22 Thread Richard Lynch
On Wed, June 21, 2006 1:06 pm, Beauford wrote: > This is the output from . As far as I can > tell, > jpeg support is enabled. It also says it is if I run phpinfo(). Yet is > still > doesn't work. > > Anyone know of a way I can test this further. A small script perhaps. -- Like Music? http://l-i

RE: [PHP] GD problems

2006-06-21 Thread David Robley
Beauford wrote: > > There is something wonky with gd. I completely reinstalled Slackware > today, including PHP, gd, and all the other stuff - and still nothing. > > I downloaded 5 separate captcha scripts and only got one to work. The code > in all of them is very similar in that it creates a

RE: [PHP] GD problems

2006-06-21 Thread Beauford
and numbers. Here is the entire code from one that doesn't work. -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: June 21, 2006 8:41 PM To: Beauford Cc: php-general@lists.php.net Subject: Re: [PHP] GD problems Beauford wrote: > This is the output from . As far

Re: [PHP] GD problems

2006-06-21 Thread Chris
Beauford wrote: This is the output from . As far as I can tell, jpeg support is enabled. It also says it is if I run phpinfo(). Yet is still doesn't work. Show us some code that "doesn't work" and you'll probably get some suggestions. -- Postgresql & php tutorials http://www.designmagick.co

RE: [PHP] GD problems

2006-06-21 Thread Beauford
ot;WBMP Support"]=> bool(true) ["XPM Support"]=> bool(false) ["XBM Support"]=> bool(true) ["JIS-mapped Japanese Font Support"]=> bool(false) } -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: June 20, 2006 8:51 PM To: Beauford Cc

Re: [PHP] GD problems

2006-06-20 Thread Chris
Beauford wrote: After my last email I searched around some more and found the following. /Q: gd keeps saying it can't find png or jpeg support. I did install libpng and libjpeg. What am I missing?/ /A: Be sure to do "make install-headers" for libpng and "make install-lib" for libjpeg, in addit

Re: [PHP] GD problems

2006-06-19 Thread Chris
Beauford wrote: What surprises me about this is that no one in the various forums, newsgroups, email lists, etc. can offer a solution. I'm sure I'm not the only one that's had this problem. I can't even get an answer from the gd forums or faq's. I offered the solution - install the header files

RE: [PHP] GD problems

2006-06-19 Thread Beauford
an find a captcha program that doesn't use gd, or (shudder) move my web server to Windows. Thanks again -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: June 19, 2006 10:14 PM To: Beauford Cc: php-general@lists.php.net Subject: Re: [PHP] GD problems Beauford wrote: > Th

RE: [PHP] GD problems

2006-06-19 Thread David Robley
me 5 minutes in Windows to get this working. As you can see I'm way > pass frustrated. > > Thanks again > > -Original Message- > From: Chris [mailto:[EMAIL PROTECTED] > Sent: June 19, 2006 9:10 PM > To: Beauford > Cc: php-general@lists.php.net > Su

Re: [PHP] GD problems

2006-06-19 Thread Chris
Beauford wrote: Thanks for the reply, but what are these for then - libpng and libjpeg? No where does it say I need anything else. I have searched and searched for information on installing this and never have I seen anything about -devel packages. Even in the link I gave it says nothing about th

RE: [PHP] GD problems

2006-06-19 Thread Beauford
can see I'm way pass frustrated. Thanks again -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: June 19, 2006 9:10 PM To: Beauford Cc: php-general@lists.php.net Subject: Re: [PHP] GD problems Beauford wrote: > Hi again, > > I started again to see if I cou

Re: [PHP] GD problems

2006-06-19 Thread Chris
Beauford wrote: Hi again, I started again to see if I could get it to work. I first removed everything (libpng, libjpeg, zlib, and PHP). Then as before I followed the info in the link below. Now I get the following when I run make for PHP. Note also that I can not compile gd on it's own, I had t

RE: [PHP] GD problems

2006-06-19 Thread Beauford
"cinfo" gd_jpeg.c: At top level: gd_jpeg.c:920: error: parse error before "cinfo" gd_jpeg.c: In function `empty_output_buffer': gd_jpeg.c:922: error: `cinfo' undeclared (first use in this function) gd_jpeg.c:926: error: `JERR_FILE_WRITE' undeclared (first use in this

Re: [PHP] GD problems

2006-06-19 Thread Richard Lynch
On Mon, June 19, 2006 5:43 pm, Beauford wrote: > I finally broke down and reinstalled PHP using the info from the site > below, > but GD is still not working. Phpinfo() shows it is enabled, as are the > other > libraries. So I'm lost as to what I am missing? > > http://tanksoftware.com/tutes/instal

[PHP] GD problems

2006-06-19 Thread Beauford
I finally broke down and reinstalled PHP using the info from the site below, but GD is still not working. Phpinfo() shows it is enabled, as are the other libraries. So I'm lost as to what I am missing? http://tanksoftware.com/tutes/installingphp.html Any help is appreciated. B -- PHP General M

[PHP] GD problems with opacity on translucent background

2004-05-05 Thread Raymond den Ouden
Hi, I have a little problem with a script I am trying to make. The main problem is that when I draw something on a translucent png created with gd, it will still take the color which was set as transparent color. For a demo look at http://www.cranberries-fan.com/images/transparent/test.php The b

Re: [PHP] PHP / gd problems / compiling

2001-06-21 Thread Rasmus Lerdorf
> >./configure' '--with-mysql' '--with-apache=../apache_1.3.12' > >'--enable-track-vars' '--enable-ftp' '--with-jpeg-dir=/usr/local/bin' > >'--with-gd-dir=/usr/local/bin' The configure option is --with-gd and it should definitely not point to /usr/local/bin. Quoting from the INSTALL file: Th

Re: [PHP] PHP / gd problems / compiling

2001-06-20 Thread Sebastian Wenleder
>my configure line: > >./configure' '--with-mysql' '--with-apache=../apache_1.3.12' >'--enable-track-vars' '--enable-ftp' '--with-jpeg-dir=/usr/local/bin' >'--with-gd-dir=/usr/local/bin' > >gd version 1.8.1 .. > >Then whenever I try to create an image of any kind, be it gif, jpg, or png, >I get: >

[PHP] PHP / gd problems / compiling

2001-06-20 Thread Chad Day
my configure line: ./configure' '--with-mysql' '--with-apache=../apache_1.3.12' '--enable-track-vars' '--enable-ftp' '--with-jpeg-dir=/usr/local/bin' '--with-gd-dir=/usr/local/bin' gd version 1.8.1 .. Then whenever I try to create an image of any kind, be it gif, jpg, or png, I get: Warning: