On Sep 4, 5:33 pm, Anna P <[EMAIL PROTECTED]> wrote:
> OK so how to use it? When I try
> if(is_file("../img/upload/photo_file1_".$item['Item']
> ['id'].".jpg")):   (the path, which <img src> just gives me the right
> image)
> it doesn't work as well.

Hi,

2 tips:

1) You need an absolute path to the file.
2) pr (get_defined_constants()); die; // for this question.
     OR pr (get_defined_variables()); die;

If you are using 1.2 francky06l has already spelt out the answer for
you.

hth,

AD


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to