MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [if file] here.



******    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]


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


Search for: Match: Format: Sort by: