[PHP] Re: Using PHP for directory indexing

2001-11-12 Thread Galkov Vladimir
Hi! Kevin! Try this... :-) have a nica day! ? // this is qw.php // is incoming parametr $catalog; // there can be better way to protect filesystem // directory where operations aloved define(START_PATH, named); $catalog = eregi_replace('([/]{2,})|([./]{2,})|([/.]{2,})', '/',

[PHP] Re: Using PHP for directory indexing

2001-11-12 Thread Galkov Vladimir
line print 'a href=qw.php?pather='.START_PATH.$catalog./.$filenames[$i].''.$filenames[$ i].'/a/td'; change on print 'a href='.START_PATH.$catalog./.$filenames[$i].''.$filenames[$i].'/a/td' ; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For