I am trying to open a file which is on the Desktop but in some subfolder (name of the subfolder unknown). The file is present in a subfolder in lab1_new folder which is on desktop.
About the require should i just say "require sfFinder;" On Nov 13, 11:46 pm, Fabien POTENCIER <[EMAIL PROTECTED] project.com> wrote: > You have to include the sfFinder class with a require. A simple PHP > script can't autoload classes. > > Fabien > > -- > Fabien Potencier > Sensio CEO - symfony lead > developerhttp://www.sensiolabs.com/http://www.symfony-project.com/ > Sensio Labs > Tél: +33 1 40 99 80 80 > > pal wrote: > > Hello Everyone, > > > When i run this code > > <?php > > $files = sfFinder::type('file')->name('*.csv')->in('C://Documents and > > Settings/Owner/Desktop/lab1_new'); > > echo "file found"; > > ?> > > > I get the error > > Fatal error: Class 'sfFinder' not found in C:\Program Files\Apache > > Group\Apache2 > > \htdocs\test.php on line 2 > > > Any help is appreciated. > > > Thanks in advance --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" 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/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
