473,396 Members | 1,866 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

imagerotate() function doesn't work?

Hi all,
I've been trying to get imagerotate() working with PHP 4.4.3 and the
latest version of GDlib.
An error message is given saying the function is unrecognised.
Can anyone advise which configuration of PHP / GD is required to get
it to work?
Thanks!
Mike
Jul 16 '05 #1
3 4255
Sorry, I meant PHP 4.3.3
M

mi**********@hotmail.com (Mike) wrote in message news:<3d**************************@posting.google. com>...
Hi all,
I've been trying to get imagerotate() working with PHP 4.4.3 and the
latest version of GDlib.
An error message is given saying the function is unrecognised.
Can anyone advise which configuration of PHP / GD is required to get
it to work?
Thanks!
Mike

Jul 16 '05 #2
Mike <mi**********@hotmail.com> wrote:
I've been trying to get imagerotate() working with PHP 4.4.3 and the
latest version of GDlib.
An error message is given saying the function is unrecognised.
Can anyone advise which configuration of PHP / GD is required to get
it to work?


Hi Mike,

Check your PHP installation - put a test php file on your server:

<?php
phpinfo();
?>

... check the ./configure string and information about GD.

You have to use PHP's bundled GD library to make use of this function
(configured: --with-gd).

HTH;
JOn
Jul 17 '05 #3
Jon Kraft <jo*@jonux.co.uk> wrote in message news:<bk************@ID-175424.news.uni-berlin.de>...
Mike <mi**********@hotmail.com> wrote:
I've been trying to get imagerotate() working with PHP 4.4.3 and the
latest version of GDlib.
An error message is given saying the function is unrecognised.
Can anyone advise which configuration of PHP / GD is required to get
it to work?


Hi Mike,

Check your PHP installation - put a test php file on your server:

<?php
phpinfo();
?>

.. check the ./configure string and information about GD.

You have to use PHP's bundled GD library to make use of this function
(configured: --with-gd).

HTH;
JOn


Thanks Jon,
Very useful, that's helped me get to the bottom of it.
Mike
Jul 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Penn Markham | last post by:
Hello all, I am writing a script where I need to use the system() function to call htpasswd. I can do this just fine on the command line...works great (see attached file, test.php). When my...
0
by: Martin | last post by:
Does the "imagerotate" function in PHP5 work correctly or am I doing something wrong? I'm using the code shown below to generate a simple rectangle and then to rotate it a specific number of...
2
by: FAN | last post by:
I want to define some function in python script dynamicly and call them later, but I get some problem. I have tried the following: ################################## # code...
5
by: Sakharam Phapale | last post by:
Hi All, I am using an API function, which takes file path as an input. When file path contains special characters (@,#,$,%,&,^, etc), API function gives an error as "Unable to open input file"....
78
by: Josiah Manson | last post by:
I found that I was repeating the same couple of lines over and over in a function and decided to split those lines into a nested function after copying one too many minor changes all over. The only...
89
by: Cuthbert | last post by:
After compiling the source code with gcc v.4.1.1, I got a warning message: "/tmp/ccixzSIL.o: In function 'main';ex.c: (.text+0x9a): warning: the 'gets' function is dangerous and should not be...
17
by: DanielJohnson | last post by:
how to use the combination function in python ? For example 9 choose 2 (written as 9C2) = 9!/7!*2!=36 Please help, I couldnt find the function through help.
4
by: comp.lang.php | last post by:
Recap: Using imagerotate within PHP 4.3.9 - PHP 5.2.0 for both XP and Linux, all using GD2 If you rotate an image 180 degrees, all is fine If you rotate an image 0 degrees and < 180...
1
by: deshg | last post by:
Hey everyone how are you all doing? I am trying to use the imagerotate GD function to place an image on top of another image at an angle. Obviously when it rotates an image it creates a...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.