PHP GD, How do i use include or require?
Posted: Sun Feb 19, 2012 9:41 am
I am trying to use the function include (or require) in a php gd image but
the image i create in php gd says "The image contains errors" whenever i try to use the "include" or "require" function?
It works without those 2 functions but if i try to use those it gives error.
The file i am including using include/require contains no errors itself so that is not the problem.
How do you use either of these 2 functions in a php gd image?
I need them because the file i am including has a set of variables being called and returned by cURL that will be used for displaying on the image.
It's for Playstation Network Trophy statistics if anyone was wondering
the image i create in php gd says "The image contains errors" whenever i try to use the "include" or "require" function?
It works without those 2 functions but if i try to use those it gives error.
The file i am including using include/require contains no errors itself so that is not the problem.
How do you use either of these 2 functions in a php gd image?
I need them because the file i am including has a set of variables being called and returned by cURL that will be used for displaying on the image.
It's for Playstation Network Trophy statistics if anyone was wondering