Accessing info about file uploaded in PHP and modifying with GD
I am uploading an image that is included in the $_FILES object. However, when I attempt to get its size, I get the error that it is not a string or alternatively not a resource… How can I get the size of this image and, in turn, modify it in GD. Do I have to convert it to a string? Or what do these methods want as their input.
Accessing info about file uploaded in PHP and modifying with GD
I am uploading an image that is included in the $_FILES object. However, when I attempt to get its size, I get the error that it is not a string or alternatively not a resource… How can I get the size of this image and, in turn, modify it in GD. Do I have to convert it to a string? Or what do these methods want as their input.
Accessing info about file uploaded in PHP and modifying with GD
I am uploading an image that is included in the $_FILES object. However, when I attempt to get its size, I get the error that it is not a string or alternatively not a resource… How can I get the size of this image and, in turn, modify it in GD. Do I have to convert it to a string? Or what do these methods want as their input.