Reply to Point script "snif" to different directory?

Your name:

Reply:


Posted by Danny Boy on 04/27/06 20:37

Hi,

"Snif" is an excellent little script to index files and directories.
It's just one single file, and the advantage is that you merely drop it
into the directory you want to index, point a browser to the script and
you're done.

But to me, the simplicity is a DISadvantage since I need to index
directories that are located down in the site hierarcy, and to which the
users won't have direct access.

Have tried keeping "snif" in the directory I want indexed and then use
include to a "parent" file in root. But of course, it's indexing the
root and not the directory where the script is located. Also tried a
regular iframe, but that's plain ugly with scrollbars, etc.

So, maybe it's not kosher to ask about things like this, but I do it
anyway and hope I'm not upsetting anyone;

Can someone help me change the instances in the script which points to
"itself" so that it can index another directory?

The script is here: http://www.bitfolge.de/download/source/snif.phps

Cheers, and a BIG thanks in advance to anyone who can help.

Danny

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация