Posted by Sjoerd on 02/27/07 22:57
tim.landgraf@googlemail.com wrote:
> if there is a file
> with an apostrophe in it the GD function @ImageCreateFromJPEG fails.
> anyone knows this problem and possible workarounds?
Since you are passing the path of the file using GET variables, you may
be a victim of "magic quotes". See:
http://www.php.net/manual/en/ref.info.php#ini.magic-quotes-gpc
http://www.php.net/manual/en/function.stripslashes.php
To be sure, echo the filename and see if it is correct.
Navigation:
[Reply to this message]
|