[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
RE: [if file] here.
****** message to minivend-users from "Thompson-Jordan" <Thompson-Jordan@mindspring.com> ******
> ****** message to minivend-users from Dan Goldman
> <dano@nodewarrior.net> ******
>
> Try this:
>
> [set x]/home/mvend/anyfile.txt[/set]
> [if file [post][scratch x][/post]]
> This text will not show!
> [/if]
>
I think the [post] tag is depreciated. You might try:
[if type="file" term="[scratch x]"]
This text will maybe show.
[/if]
Also, maybe it needs an "interpolate=1" to work.
Christopher Thompson
>
> At 03:09 PM 3/24/99 PST, you wrote:
> >****** message to minivend-users from "Pumin Wuvanich"
> <pumin@hotmail.com> ******
> >
> >Hello. Just a real quick question.
> >
> >I use [if file] tag to check if file exists, and this following code
> >WORKS.
> >
> >[if file /home/mvend/anyfile.txt]
> >This text will show.
> >[/if]
> >
> >but this doesn't work. (when i use scratch variable)
> >
> >[set x]/home/mvend/anyfile.txt[/set]
> >[if file [scratch x]]
> >This text will not show!
> >[/if]
> >
> >Please help me if you know how to use variable inside [if file] tag.
> >
> >Thank you very much
> >Pumin Wuvanich
> >Get Your Private, Free Email at http://www.hotmail.com
> >-
> >To unsubscribe from the list, DO NOT REPLY to this message.
> Instead, send
> >email with 'UNSUBSCRIBE minivend-users' in the body to
> Majordomo@minivend.com.
> >Archive of past messages:
http://www.minivend.com/minivend/minivend-list
>
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to
Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list