PHP & MySQL help

PHP & MySQL help

am 04.09.2007 23:16:42 von i_robot73

I'm trying to find some code snips that will help those that use my
FTP.

I'd like to index a drive...say F:\ into the DB; but any search on the
front-end will 'relative' the finds to a path w/out the full path (or
WHATEVER 'prefix' I define to leave out).

EG: if FTP access is given as 'root' = F:\FTP\ and and the file they
are looking for is in F:\FTP\Upload....the search on the webpage will
show \Upload. [don't show prefix of 'F:\FTP']

This is my own 'playground' so if there's any software to install or
suggestions; I'll be happy to try them out.

Windows based, but have installed PERL & PHP on the IIS

Re: PHP & MySQL help

am 05.09.2007 10:28:46 von colin.mckinnon

On 4 Sep, 22:16, i_robo...@hotmail.com wrote:
> I'm trying to find some code snips that will help those that use my
> FTP.
>
> I'd like to index a drive...say F:\ into the DB; but any search on the
> front-end will 'relative' the finds to a path w/out the full path (or
> WHATEVER 'prefix' I define to leave out).
>
> EG: if FTP access is given as 'root' = F:\FTP\ and and the file they
> are looking for is in F:\FTP\Upload....the search on the webpage will
> show \Upload. [don't show prefix of 'F:\FTP']
>

str_replace()

RTFM for more details.

C.