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
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 to find a Slackware

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