By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,730 Members | 1,399 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,730 IT Pros & Developers. It's quick & easy.

imagecreatefromjpg()

P: n/a
Hi.
I'm testing some php-functions at the moment and now I found an interesting
function called 'imagecreatefromjpeg()' on php.net.
I tried to work with it, but my apache always says:
"Call to undefined function: imagecreatefromjpg() in .....index.php"
php.net says that this function is available since php 3.x
I have php 4.3.4
So, does anyone know, why it doesn't work?
--
mfg
Fred
Jul 17 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
On Sat, 27 Mar 2004 15:51:58 +0100, "Fred" <fr**@klohaus.de> wrote:
I'm testing some php-functions at the moment and now I found an interesting
function called 'imagecreatefromjpeg()' on php.net.
I tried to work with it, but my apache always says:
"Call to undefined function: imagecreatefromjpg() in .....index.php"
php.net says that this function is available since php 3.x
I have php 4.3.4
So, does anyone know, why it doesn't work?


Read: http://uk2.php.net/manual/en/ref.image.php

--
Andy Hassall <an**@andyh.co.uk> / Space: disk usage analysis tool
http://www.andyh.co.uk / http://www.andyhsoftware.co.uk/space
Jul 17 '05 #2

P: n/a
"Andy Hassall" <an**@andyh.co.uk> schrieb im Newsbeitrag
news:4d********************************@4ax.com...
On Sat, 27 Mar 2004 15:51:58 +0100, "Fred" <fr**@klohaus.de> wrote:
I'm testing some php-functions at the moment and now I found an interestingfunction called 'imagecreatefromjpeg()' on php.net.
I tried to work with it, but my apache always says:
"Call to undefined function: imagecreatefromjpg() in .....index.php"
php.net says that this function is available since php 3.x
I have php 4.3.4
So, does anyone know, why it doesn't work?


Read: http://uk2.php.net/manual/en/ref.image.php

thx for the tipp. i read the manual and I installed the gd library (by
including the php_gd2.dll to php.ini). But the function isn't installed
nevertheless. Do you know, why?
Jul 17 '05 #3

P: n/a
You may have a typo in your post here, but your error message says "Call to
undefined function: imagecreatefromjpg". I believe the function name has an
'e' in jpeg (like the first part of your post). You may be misspelling the
function call.

Try out some of the other functions in the GD2 library to verify its
presence.

Tony

"Fred" <fr**@klohaus.de> wrote in message
news:c4**********@news.wplus.net...
Hi.
I'm testing some php-functions at the moment and now I found an interesting function called 'imagecreatefromjpeg()' on php.net.
I tried to work with it, but my apache always says:
"Call to undefined function: imagecreatefromjpg() in .....index.php"
php.net says that this function is available since php 3.x
I have php 4.3.4
So, does anyone know, why it doesn't work?
--
mfg
Fred

Jul 17 '05 #4

P: n/a
"Tony" <no****@pittarese.com> schrieb im Newsbeitrag
news:c4********@library1.airnews.net...
You may have a typo in your post here, but your error message says "Call to undefined function: imagecreatefromjpg". I believe the function name has an 'e' in jpeg (like the first part of your post). You may be misspelling the function call.

Try out some of the other functions in the GD2 library to verify its
presence.


ok, i got it. i just misspelled the topic. i coded it right.
my fault was to work with the wrong php.ini
Now gd2 is installed right and the function runs well.
Thanx to all...
Jul 17 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.