Sunday, November 15, 2009

Re: How to check if an image exist or not

Try adding debug(WEBROOT_DIR.'/img/'.$file); at the top of your page and
check the output
On Sun, 2009-11-15 at 07:48 -0800, PDEagle wrote:
> WEBROOT_DIR.'/img/'.$file

--

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com.
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/cake-php?hl=.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate