Re: code quest

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



OK, answered my own question; no, an ssi statement inside a php echo statement is simply sent out as is, unparxsed. But if it is external to the php area, it works fine, so we have to include a function in there that will read anything I want to spew- like the 1 line contents of a desciptor file in a particular directory.

The idea is to create a directory lister which reads a descriptor for that folder and uses it as the text for the link.


Daniel P. Brown wrote:
On Sat, Nov 27, 2010 at 12:36, Daniel P. Brown
<daniel.brown@xxxxxxxxxxxx> wrote:
  If you want something more powerful - and often quicker - check
into SPL: specifically FilesystemIterator[1], DirectoryIterator[2],
and RecursiveDirectoryIterator[3].  A quick example to link all child
files and directories with relative linking:

    Might help to provide the key as well, eh?  Sorry....

        ^1: http://php.net/filesystemiterator
        ^2: http://php.net/directoryiterator
        ^3: http://php.net/recursivedirectoryiterator


--
end

Very Truly yours,
                - Kirk Bailey,
                  Largo Florida

kniht +-----+ | BOX | +-----+ think

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux