Jump to content


Photo

Function Problems - Wierd!!


  • Please log in to reply
2 replies to this topic

#1 glenelkins

glenelkins
  • Members
  • PipPipPip
  • Advanced Member
  • 760 posts
  • LocationBridlington - East Riding of Yorkshire - United Kingdom

Posted 29 May 2006 - 02:14 PM

Right this is the strangest thing iv ever come accross. the following PHP functions give me the following error:

Fatal error: Call to undefined function

ImageCreateFromJPEG()
ImageCreate()
ImageCopyResize()

I dont understand why? They work perfectly fine for other people, any ideas?
http://thewebsolutionprovider.com - A Solution For Everything Web!

#2 obsidian

obsidian
  • Staff Alumni
  • Advanced Member
  • 3,202 posts
  • LocationSeattle, WA

Posted 29 May 2006 - 02:19 PM

[!--quoteo(post=378069:date=May 29 2006, 10:14 AM:name=glenelkins)--][div class=\'quotetop\']QUOTE(glenelkins @ May 29 2006, 10:14 AM) View Post[/div][div class=\'quotemain\'][!--quotec--]
Right this is the strangest thing iv ever come accross. the following PHP functions give me the following error:

Fatal error: Call to undefined function

ImageCreateFromJPEG()
ImageCreate()
ImageCopyResize()

I dont understand why? They work perfectly fine for other people, any ideas?
[/quote]

sounds like your server doesn't have the GDLib installed. those functions are part of this library, so unless it's installed into your PHP, you won't be able to use the functions. check out the library [a href=\"http://www.boutell.com/gd/\" target=\"_blank\"]at their homepage here[/a].
You can't win, you can't lose, you can't break even... you can't even get out of the game.

<?php
while (count($life->getQuestions()) > 0)
{   $life->study(); } ?>
  LINKS: PHP: Manual MySQL: Manual PostgreSQL: Manual (X)HTML: Validate It! CSS: A List Apart | IE bug fixes | Zen Garden | Validate It! JavaScript: Reference Cards RegEx: Everything RegEx

#3 glenelkins

glenelkins
  • Members
  • PipPipPip
  • Advanced Member
  • 760 posts
  • LocationBridlington - East Riding of Yorkshire - United Kingdom

Posted 29 May 2006 - 02:33 PM

ok great. its on LocalHost so i can install them

cheers

http://thewebsolutionprovider.com - A Solution For Everything Web!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users