[ic] if file in 5.0 working ?

Jon prtyof5 at attglobal.net
Mon Mar 1 15:48:51 EST 2004


> On Mon, 01 Mar 2004 15:25:55 -0500
> Jon <prtyof5 at attglobal.net> wrote:
>
> > > I pulled this from the archives which used to work in 4.9.x but doesn't
> > > seem to since 5.0
> > >
> > > With interchange markup it might look something like this
> > >
> > > [if type=file term="some_dir/some_dir/[item-code].jpg"]
> > >  Yep it's here
> > > [else]
> > >  Nope it aint
> > > [/else]
> > > [/if]
> > >
> >
> >    Is it just me that is having a problem with the above example ?
> > Since you can't use straight perl test methods such as  if ( -e "file")
> > from within IC I'm not sure what else to do to get around this
> > problem.
>
> You can do that with the appropriate setting for SafeUntrap.
>
>         Racke
>

Thanks Racke.  Do you know if that would open any security possibilities ?
I thought the purpose behind this restriction was for security reasons.

Jon




More information about the interchange-users mailing list