On Thu, 2002-01-31 at 16:56, Dave Hodgkinson wrote:
>
> Silly one I can't get my head round. I'm trying to strip the uploaded
> file's path off:
>
> [% f2 = upload.filename.replace('/(.+)$','$1') %]
>
> Any offers?I think you can use the File plugin for this: [% USE myfile = file( upload.filename, nostat = 1 ) %] Filename is: [% myfile.name %] Chris -- Chris Winters ([EMAIL PROTECTED]) Building enterprise-capable snack solutions since 1988.
