On Saturday, 30 April 2011 at 03:32, Mitch wrote:
I was wondering about that. Since I am not actually hosting my ISP would
> have to have it loaded (or compiled into their PHP implementation), right?
You may be able to use http://php.net/dl to load the extension (you'll need to
build it to be co
I was wondering about that. Since I am not actually hosting my ISP would
have to have it loaded (or compiled into their PHP implementation), right?
I'll have to do some legwork with my ISP and ImageMagic
On 4/29/2011 9:26 AM, Stuart Dallas wrote:
On Friday, 29 April 2011 at 03:33, Mitch wrote:
On Friday, 29 April 2011 at 03:33, Mitch wrote:
I have written a lightweight, easy to use photo album "system" in
> HTML/PHP/MySQL.In addition to the Photo Album side I have written a
> series of Admin Utilities to manage it with. One of the administrative
> utilities uploads photos from my loca
Hi Mitch, you could try with
http://www.php.net/manual/en/function.exif-read-data.php
I did a test with image jpg and this was the result:
FILE . FileName: bruce_lee_black_white.jpg
FILE . FileDateTime: 1304086298
FILE . FileSize: 33464
FILE . FileType: 2
FILE . MimeType: image/jpeg
FILE . Section
On 19 September 2010 16:05, tedd wrote:
> At 6:03 PM -0400 9/17/10, Gary wrote:
>>
>> Is there a way to insert a watermark on an image as it is being uploaded
>> to
>> the image file, then removed when it is called from a database to be
>> viewed
>> on a website?
>>
>> The rational behind this is
At 6:03 PM -0400 9/17/10, Gary wrote:
Is there a way to insert a watermark on an image as it is being uploaded to
the image file, then removed when it is called from a database to be viewed
on a website?
The rational behind this is I have a photographers site I am doing, and I am
limiting the si
On Fri, 2010-09-17 at 18:03 -0400, Gary wrote:
> Is there a way to insert a watermark on an image as it is being uploaded to
> the image file, then removed when it is called from a database to be viewed
> on a website?
>
> The rational behind this is I have a photographers site I am doing, and
Hi Ash,
Thanks for your suggestion. I think this is where my confusion is. I
understand how to use imagecolorallocatealpha() to for example create a 50%
transparant colour, and apply it to a new rectangle for example.
I dont understand how to "apply" it to a new source image, for example
$src = i
Hey tedd,
Sorry bout that.. here you go.
http://designdrumm.com/upload_images_test.zip
Karl
On May 13, 2010, at 9:06 AM, tedd wrote:
At 6:40 PM -0500 5/12/10, Karl DeSaulniers wrote:
Hi Alex,
I have a php file I made just a few months ago.
It takes a gif, jpeg or png of any size and sizes i
At 6:40 PM -0500 5/12/10, Karl DeSaulniers wrote:
Hi Alex,
I have a php file I made just a few months ago.
It takes a gif, jpeg or png of any size and sizes it proportionately
to a specified size and then outputs a png.
If the image is a transparent png or transparent gif, it will still
hold th
On Thu, 2010-05-13 at 00:12 +0100, Alex Davies wrote:
> Hi,
>
> I am trying to import a PNG image from disk, place it on top of a
> transparant image created in GD and output it to the browser. In the case of
> a low opacity setting, I would expect to see the background colour from the
> HTML pag
Hi Alex,
I have a php file I made just a few months ago.
It takes a gif, jpeg or png of any size and sizes it proportionately
to a specified size and then outputs a png.
If the image is a transparent png or transparent gif, it will still
hold the transparency.
This is just a test page and it t
Martin Scotta wrote:
> Why are you ussing GD?
> All you need is output the image to the browser?
>
> try this... I didn't test/run this code, but it may work...
>
> public function showPicture( $id ) {
> header('Content-type:' . mime_content_type( $this->updir . $id .
> '.png' ) );
>
Ash, Martin,
Seems you are both wandering around the obvious problem...
I suspect that $tipo (in the next line) is *supposed* to be $type - sounds like
a partial Italian translation to me...
So given that $type="imagecreatefrompng" (for example, if the mime check returns
'png' - not very reliabl
Why are you ussing GD?
All you need is output the image to the browser?
try this... I didn't test/run this code, but it may work...
public function showPicture( $id ) {
header('Content-type:' . mime_content_type( $this->updir . $id .
'.png' ) );
readfile( $this->updir . $id . '.png' )
On Tue, 2009-07-14 at 14:16 -0300, Martin Scotta wrote:
> On Tue, Jul 14, 2009 at 1:48 PM, Ashley
> Sheridan wrote:
> > On Tue, 2009-07-14 at 13:41 -0300, Martin Scotta wrote:
> >> He is calling the function by variable
> >>
> >> something like this
> >>
> >> $func = 'var_dump';
> >>
> >> $func( ne
On Tue, Jul 14, 2009 at 1:48 PM, Ashley
Sheridan wrote:
> On Tue, 2009-07-14 at 13:41 -0300, Martin Scotta wrote:
>> He is calling the function by variable
>>
>> something like this
>>
>> $func = 'var_dump';
>>
>> $func( new Foo );
>>
>> On Tue, Jul 14, 2009 at 1:30 PM, Ashley
>> Sheridan wrote:
>>
On Tue, 2009-07-14 at 13:41 -0300, Martin Scotta wrote:
> He is calling the function by variable
>
> something like this
>
> $func = 'var_dump';
>
> $func( new Foo );
>
> On Tue, Jul 14, 2009 at 1:30 PM, Ashley
> Sheridan wrote:
> > On Tue, 2009-07-14 at 13:27 -0300, Martin Scotta wrote:
> >> $
He is calling the function by variable
something like this
$func = 'var_dump';
$func( new Foo );
On Tue, Jul 14, 2009 at 1:30 PM, Ashley
Sheridan wrote:
> On Tue, 2009-07-14 at 13:27 -0300, Martin Scotta wrote:
>> $immagine = $tipo($this->updir.$id.'.png');
>>
>> $tipo is undefined
>>
>>
>> On
On Tue, 2009-07-14 at 13:27 -0300, Martin Scotta wrote:
> $immagine = $tipo($this->updir.$id.'.png');
>
> $tipo is undefined
>
>
> On Tue, Jul 14, 2009 at 12:48 PM, Il pinguino
> volante wrote:
> > Hi to all
> >
> > I get a problem processing an image with GD libraries.
> >
> > This is my functi
$immagine = $tipo($this->updir.$id.'.png');
$tipo is undefined
On Tue, Jul 14, 2009 at 12:48 PM, Il pinguino
volante wrote:
> Hi to all
>
> I get a problem processing an image with GD libraries.
>
> This is my function
>
> public function showPicture($id) {
> header('Content-type: image/
I got it to work :)
Like you had recommended, I found a script in http://php.net/imagecolortransparent
from: fmkaiba at optonline dot net
07-Feb-2008 08:05. The function is called, createthumb
Cheers
Graham
On Jan 18, 2009, at 4:46 PM, Jochem Maas wrote:
Graham Anderson schreef:
Hi
I am
Thanks for the reply
I tried the example (below) from the link and still get a gif with
white background. Maybe, you can only do this with PNG-24s...not
PNG-8s?
Anyone else know if this can work?
# Convert the PreExisting PNG Image to a GIF
$img = imagecreatefrompng($pngPath);
$gifAbsolu
Graham Anderson schreef:
> Hi
>
> I am having problems getting GD to convert a transparent PNG-8 to a
> transparent GIF
> The below WILL produce a GIF...but leaves a white background
>
> # Convert the PreExisting PNG Image to a GIF
> $img = imagecreatefrompng($pngPath);
>
> # Set the GIF to be t
Stephen Pynenburg wrote:
> Hey All,
> I'm new to the list, but hopefully it's a nice one :)
> Anyway, my problem is fairly straightforward, but there doesn't seem
> to be anything on it anywhere. When I read an animated GIF with
> imagecreatefromgif(), then print it out with imagegif(), the result
On Sun, Dec 16, 2007 at 7:16 PM, eric cash <[EMAIL PROTECTED]> wrote:
> Quick GD question, I'm building a custom CAPTCHA, and I want to 'trace'
> random letters (hopefully from a random font) with a brush. Is there an easy
> way to do this, or am I going to have to build some ridiculous custom
> li
At 12:16 PM -0400 5/6/08, Travis L. Font wrote:
Following files:
bg.png - Clear Transparent Image
14416fed5d4f78.jpg - Normal Jpeg Image
The Code:
header('content-type: image/png');
$watermark = imagecreatefromjpeg('14416fed5d4f78.jpg');
$watermark_width = imagesx($watermark);
$watermark_hei
On Mar 28, 2008, at 7:38 PM, Lamonte <[EMAIL PROTECTED]> wrote:
Casey wrote:
I have an annoying habit of not using comments :)
Explanations are inline.
On Mar 28, 2008, at 7:10 PM, Lamonte <[EMAIL PROTECTED]> wrote:
Casey wrote:
On Mar 28, 2008, at 4:27 PM, Lamonte <[EMAIL PROTECTED]> wrot
I have an annoying habit of not using comments :)
Explanations are inline.
On Mar 28, 2008, at 7:10 PM, Lamonte <[EMAIL PROTECTED]> wrote:
Casey wrote:
On Mar 28, 2008, at 4:27 PM, Lamonte <[EMAIL PROTECTED]> wrote:
Okay I created a script that changes a basic smiley face into a
red smiley
On Mar 28, 2008, at 4:27 PM, Lamonte <[EMAIL PROTECTED]> wrote:
Okay I created a script that changes a basic smiley face into a red
smiley face..but it doesn't replace all the yellow, it looks like a
yellow shadow in the background:
$color = imagecolorallocate($im,hexdec(substr($hex,0,2)),h
On Monday 17 March 2008 13:10:20 Jochem Maas wrote:
> Børge Holen schreef:
> > On Monday 17 March 2008 09:25:36 Jochem Maas wrote:
> >> nihilism machine schreef:
> >>> I am trying to render an 8 pixel pixel font without anti aliasing to
> >>> look crisp (silkscreen) in 8pt with gd. the font is huge
Børge Holen schreef:
On Monday 17 March 2008 09:25:36 Jochem Maas wrote:
nihilism machine schreef:
I am trying to render an 8 pixel pixel font without anti aliasing to
look crisp (silkscreen) in 8pt with gd. the font is huge and ugly:
-- any ideas?
don't post twice.
I recon he didn't.
On Monday 17 March 2008 09:25:36 Jochem Maas wrote:
> nihilism machine schreef:
> > I am trying to render an 8 pixel pixel font without anti aliasing to
> > look crisp (silkscreen) in 8pt with gd. the font is huge and ugly:
> >
> > > // Set the content-type
> > header("Content-type: image/png");
>
nihilism machine schreef:
I am trying to render an 8 pixel pixel font without anti aliasing to
look crisp (silkscreen) in 8pt with gd. the font is huge and ugly:
-- any ideas?
don't post twice.
use '8' instead of '20' for the fontsize.
--
PHP General Mailing List (http://www.php.net/
Charlene wrote:
> I have the GD Library installed, but I don't see any of the fonts. What
> is the preferred location to download fonts (standard fonts like Arial,
> Verdana, etc.) and which directory should they be stored in?
'standard fonts' is not. and any directory you want. upload any legal
I would point you to MAMP:
http://www.mamp.info/
It's like Xampp but designed all for a Mac... Easy to install, to
configure and to user ;)
Regards,
Samy
Greg Donald schrieb:
On Thu, 13 Sep 2007, Steve Marquez wrote:
I am running PHP 4.4.7 without the GD Library and need it to run.
I am v
On Thu, 13 Sep 2007, Steve Marquez wrote:
> I am running PHP 4.4.7 without the GD Library and need it to run.
> I am very novice on PHP, and am using a Mac with 10.3.9.
> Can anyone point me in the right direction?
http://destiney.com/blog/php-4-5-macos-x
Hopefully those configs aren't totally o
[snip]
I am running PHP 4.4.7 without the GD Library and need it to run.
I am very novice on PHP, and am using a Mac with 10.3.9.
Can anyone point me in the right direction?
[/snip]
http://www.php.net/gd tells you how to get and install the libraries.
--
PHP General Mailing List (http://www.php.n
At 9:17 PM +0100 6/13/07, Ross wrote:
Never really used the GD much before very straightforward but how do I
output the image on a page. This is fine on a php page on its own but what
about one where the headers are already sent?
Ross:
That's not a problem. See this:
http://xn--nvg.com/rotat
On 6/13/07, Stephen <[EMAIL PROTECTED]> wrote:
Ross <[EMAIL PROTECTED]> wrote:Never really used the GD much before very
straightforward but how do I
output the image on a page. This is fine on a php page on its own but what
about one where the headers are already sent?
Save the image as
Ross <[EMAIL PROTECTED]> wrote:Never really used the GD much before very
straightforward but how do I
output the image on a page. This is fine on a php page on its own but what
about one where the headers are already sent?
Save the image as file, first.
The href src= etc
On 6/13/07, Ross <[EMAIL PROTECTED]> wrote:
Never really used the GD much before very straightforward but how do I
output the image on a page. This is fine on a php page on its own but what
about one where the headers are already sent?
I take it I can do something like this . Anyone got a bet
> imagecopyresampled might help you... I use that and it works
> without
> problems.
>
Hi Peter,
" I have done some searching via google and some answers say change
copyimageresampled to copyimageresized etc"
I have tried your suggestion with the same results ... that is what I was
using first
Steven Macintyre wrote:
> Hi All,
>
> I have done some searching via google and some answers say change
> copyimageresampled to copyimageresized etc
which should be the correct; use copyimageresampled()
>
> I have tried all fixes ... to no avail
>
>
> I have one image here 1280 x 960 (150 dp
Hi,
imagecopyresampled might help you... I use that and it works without
problems.
/Peter
-Original Message-
From: Steven Macintyre [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 27, 2006 10:17 AM
To: php-general@lists.php.net
Subject: [PHP] GD 2.0.28 + PHP 4.4.2 + pixelation :(
H
Peter
-Original Message-
From: sublimenal [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 26, 2006 6:31 AM
To: php-general@lists.php.net
Subject: Re: [PHP] GD, and GD JPEG
Hey you need to ./configure it into your php installation via the command
line
Jeff-153 wrote:
>
>
>
Hey you need to ./configure it into your php installation via the command
line
Jeff-153 wrote:
>
>
> Hi there.
> I installed a script but it requires GD and GD JPEG
>
> I downloaded GD, and GD JPEG
>
> But how the heck do I install it?
>
> Thanks guys
>
> --
> PHP General Mailing List (h
On Sat, November 25, 2006 4:25 pm, Jeff wrote:
> Do I have to compile it with a C program?
You do not need to compile GD on Windows, unless you are a masochist. :-v
Use http://php.net/phpinfo to find out where you php.ini file is, or
should be.
Whatever directory that shows for "php.ini", put yo
On Thu, November 23, 2006 9:30 am, Fredrik Thunberg wrote:
> imagettftext ($im, 30, 0, 10, 40 , $black, TTF_DIR. "times.ttf",
> "Hello World!");
> FreeType Support enabled
> FreeType Linkage with freetype
> FreeType Version 2.1.3
> The one things that differs between the servers is:
On Wed, October 11, 2006 1:36 pm, Doug Fulton wrote:
> I am trying to use the php gd library (for imagecreate, etc) with php5
> under Red Hat ES4. I tried installing php-gd via webmin (which in
> turn,
> I see, uses up2date), but get the following error in the apache error
> log when restarting:
>
At 12:36 PM -0500 7/19/06, Jay Blanchard wrote:
>[snip]
>... some research ...
>[/snip]
>
>So, am I to assume that this issue about storing images in databases is
>dead?
Yes, it was dead before it started, as it was the last time this issue was
discussed.
Simply put, there are tradeoffs, but bot
[snip]
... some research ...
[/snip]
So, am I to assume that this issue about storing images in databases is
dead?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
Kevin, you have more than once pointed out using a RAW format for
operating the data system, what exactly do you mean? The database
becomes the OS? If so, how do you set that up? It is something that I am
not totally familiar with.
[/snip]
I did some research and went back to Kevin's origi
[snip]
...a lot of stuff started by my original answer...
[/snip]
While this has been a fine debate I find that the discussion has
deteriorated badly. Can we bring it back on point?
There are a lot of us using MySQL (and PostGreSQL) along with PHP and in
practice we have found that storing images
This one time, at band camp, "Richard Lynch" <[EMAIL PROTECTED]> wrote:
> Assume, for the sake of argument, that your hard drive crashed.
>
> And your backup tape was invalid.
>
> And the weekly backup tape is also invalid.
>
> And, for good measuere, the monthly tape is just so out-of-date, t
Richard Lynch wrote:
Given the number of posts here in PHP-General alone, of people getting
tripped up by these things, I have concluded that cramming images into
the DB is far more trouble than it is worth.
It *seems* like a Good Idea until you actually do it for awhile, and
then run into all
On Fri, July 14, 2006 9:52 pm, Kevin Waterson wrote:
>
>
>> I'm more concerned about the disaster recovery of a DB from a
>> crashed
>> hard drive, which has been cluttered up with binary data, making
>> data
>> recovery.
>
> One of the greatest benifits of binary DB storage is a single point
> of
This one time, at band camp, "Richard Lynch" <[EMAIL PROTECTED]> wrote:
> I'm more concerned about the disaster recovery of a DB from a crashed
> hard drive, which has been cluttered up with binary data, making data
> recovery.
One of the greatest benifits of binary DB storage is a single point
On Thu, July 13, 2006 6:49 pm, Kevin Waterson wrote:
> This one time, at band camp, "Richard Lynch" <[EMAIL PROTECTED]> wrote:
>> If you've benchmarked on YOUR hardware and have a proven savings,
>> fine, post your tests and output.
>
> Already done in previous threads.
Actually, to be pedantic,
This one time, at band camp, "Richard Lynch" <[EMAIL PROTECTED]> wrote:
> If you've benchmarked on YOUR hardware and have a proven savings,
> fine, post your tests and output.
Already done in previous threads.
nowhere do I say the db is faster than file system. Just that various methods
of db
On Thu, July 13, 2006 1:25 pm, Kevin Waterson wrote:
> This one time, at band camp, "Richard Lynch" <[EMAIL PROTECTED]> wrote:
>
>
>> It's coming FROM THE FILE SYSTEM.
>
> databases can be stored on RAW partitions, thus eliminating FILE
> SYSTEM
> overhead
And are you actually doing this, or merel
On Tue, July 11, 2006 11:38 am, Eric Butera wrote:
> I don't see a problem with storing images in the DB IF they aren't
> going to be continually accessed that way. For example say you have a
> script that lets a user upload an image and creates a small, medium,
> and large view out of it. Stick
This one time, at band camp, "Richard Lynch" <[EMAIL PROTECTED]> wrote:
> You really need to TEST your assumption about the DB being faster.
Do you _really_ think I am speaking without testing any of this??
I once wrote an article on this very topic in PHP mag and published the
benchmarks.
Kev
This one time, at band camp, "Richard Lynch" <[EMAIL PROTECTED]> wrote:
> It's coming FROM THE FILE SYSTEM.
databases can be stored on RAW partitions, thus eliminating FILE SYSTEM
overhead
Kevin
--
"Democracy is two wolves and a lamb voting on what to have for lunch.
Liberty is a well-armed
On Tue, July 11, 2006 1:48 am, Kevin Waterson wrote:
> This one time, at band camp, Austin Denyer <[EMAIL PROTECTED]> wrote:
>
>> It is generally accepted that storing things like that in a database
>> is
>> a Bad Thing. Much better to store the images as files and store the
>> path in the databas
On 7/11/06, Adam Zey <[EMAIL PROTECTED]> wrote:
The time taken per request, though (and that's about all we can get with
a concurrency as low as 5) doesn't tell us much. We also don't know
exactly what the PHP code is doing, how it does it, how your database is
organized/indexed/accessed, if you
[snip]
How much of a performance hit?
[/snip]
Here is an interesting read;
http://mysqldump.azundris.com/archives/36-Serving-Images-From-A-Database
.html
"Your system receives a number of file read requests, requesting it to
load a number of blocks from the disk into the mysqld process.
Eventual
Eric Butera wrote:
On 7/11/06, Kevin Waterson <[EMAIL PROTECTED]> wrote:
How much of a performance hit?
Kevin
--
"Democracy is two wolves and a lamb voting on what to have for lunch.
Liberty is a well-armed lamb contesting the vote."
--
PHP General Mailing List (http://www.php.net/)
To unsu
On 7/11/06, Kevin Waterson <[EMAIL PROTECTED]> wrote:
How much of a performance hit?
Kevin
--
"Democracy is two wolves and a lamb voting on what to have for lunch.
Liberty is a well-armed lamb contesting the vote."
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
This one time, at band camp, Larry Garfield <[EMAIL PROTECTED]> wrote:
> There may be other reasons you'd want to store binary data in an SQL
> database,
> but it will always be a performance hit over just passing a normal file that
> can be streamed right off the disk to the server's NIC.
Ho
This one time, at band camp, Austin Denyer <[EMAIL PROTECTED]> wrote:
> It is generally accepted that storing things like that in a database is
> a Bad Thing. Much better to store the images as files and store the
> path in the database.
Storing paths and databases in slower than just storing i
This one time, at band camp, "Jay Blanchard" <[EMAIL PROTECTED]> wrote:
> 1. Do not store images in a database, it is just a bad idea from a
> performance perspective (as has been covered many times heretofore).
rubbish, has been proven other wise, you are quoting old wives tales
Please provide
On Monday 10 July 2006 09:31, Peter Lauri wrote:
> [snip]
> 1. Do not store images in a database, it is just a bad idea from a
> performance perspective (as has been covered many times heretofore).
> [/snip]
>
> Is that really the case? Is this not depending on the application? :) My
> application
Peter Lauri wrote:
>
> [snip]
> 1. Do not store images in a database, it is just a bad idea from a
> performance perspective (as has been covered many times heretofore).
> [/snip]
>
> Is that really the case? Is this not depending on the application? :) My
> application will never grow, and I can
[snip]
1. Do not store images in a database, it is just a bad idea from a
performance perspective (as has been covered many times heretofore).
[/snip]
Is that really the case? Is this not depending on the application? :) My
application will never grow, and I can easily just change the file storag
[snip]
I am creating images via GD and want to save them to the database. Right
now
I save them to the disk and then save them to the database. Is it
possible
to write them directly to the database and skip the middle step where I
temporary write it to the hard disk?
[/snip]
1. Do not store images
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
On windows, you just take out the ; in the line with php_gd2.dll in
your php.ini file
php.net has to be in the directory noted in
And your extension_dir in php.ini has to be the directory where
php_gd2.dll lives.
On Mon, June 12, 2006 6:11 pm, Beauford wrote:
> Hi,
>
> I am trying to get GD wor
Beauford wrote:
I'm using Slackware 10 and installed GD as an install package. I also
changed some lines in the php.ini file for GD.
Tom: I have no idea how this program works, all I know is that I need it for
the captcha program to display the image. I wouldn't even bother otherwise.
Thanks.
ks.
B
-Original Message-
From: Ray Hauge [mailto:[EMAIL PROTECTED]
Sent: June 12, 2006 7:35 PM
To: php-general@lists.php.net
Cc: Beauford
Subject: Re: [PHP] GD
On Monday 12 June 2006 16:11, Beauford wrote:
> Hi,
>
> I am trying to get GD working so I can use a captcha script and not
&g
1 - 100 of 292 matches
Mail list logo