On Jan 22, 2008 2:41 PM, bob <[EMAIL PROTECTED]> wrote: > Thanks for your reply. I don't think it is case sensitive, nor do i think > that the backslash direction matters (I've tested it with same errors). > > I am aware about putting the exit() but i just commented it out so i could > see what happens > if it tried to do this > finfo_open(FILEINFO_COMPRESS,'c:/magic'); > This line returns the warning > finfo_file(): supplied argument is not a valid file_info > resource [APP\controllers\users_controller.php, line 198] > > So something must be wrong with the finfo_open statement, which i am > struggling to figure out. >
Right, I wasn't thinking very clearly. You could try debug($handle) to see what's being returned. Or, maybe use var_dump() (or the PEAR VAR_Dump package). b --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
