On Fri, Oct 29, 2010 at 3:05 PM, Gary <gp...@paulgdesigns.com> wrote:
> I am trying to get the watermark to work, however I am having a problem in
> that the image is being called from a database (image sits in images file).
>
> The script in question is this
>
> $image = imagecreatefromjpeg($_GET['src']);
>
> However it produces an error message of
>
> Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: Filename
> cannot be empty in /home/content/a/l/i/alinde52/html/imagesDetail.php on
> line 233
>

First things first.  It looks like there's nothing in $_GET['src'].
>From where are you getting the value 'src'?

Adam


-- 
Nephtali:  PHP web framework that functions beautifully
http://nephtaliproject.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to