Re: search.php

From: Date: Mon, 02 Feb 2004 06:16:56 +0000
Subject: Re: search.php
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-176562@lists.php.net to get a copy of this message
Second actually. Thanks for the answer Jason, John Raditha Dissanayake wrote: > Hi John, > This is the third or fourth thread on this topic that you have started. > As jason has pointed out you need to start reading. While people in > this list will be happy to help you overcome specific problems no one > has the time to code for you. > > John Taylor-Johnston wrote: > > >Can anyone give me a heads up on how to recurse for sub-directories please? What function > >can I use? > >I'm still kind of new at this, > >John > > > > > > > > > >>1) set $which_one to the directory you want to search. > >>2) create a recursive funtion (many on php.net) to get all subdirectories > >>under it and build an array with their paths as the elements. > >>3) now, take that arrary and add a foreach before the line "$directory = > >>opendir($which_one);" replacing "$which_one" with your foreach array > >>element. > >> > >> > >>

« previous php.general (#176562) next »