in reply to (crazyinsomniac) Re: text file w/o CGI
in thread text file w/o CGI

Thanks everybody. Great answers. I think the web administrator of the company we are contracting to is trying to be funny. Oh well, I'll try to find another way to get those things to a file. They use Vignette and I was told I could only use PERL without CGI and couldn't access CGI's outside the server. But I need to get these names and emails to a list somehow. Thanks again for the great and fast responses. I may have to learn PERL if the communities are this helpful.
  • Comment on Re: (crazyinsomniac) Re: text file w/o CGI

Replies are listed 'Best First'.
Why not just use native Vignette/Tcl code?
by Kanji (Parson) on Apr 05, 2001 at 20:47 UTC

    If you're living in a Vignette enviroment, you can (ab)use perl without doing so via CGI by running it with something like [exec /usr/bin/perl ...] (IIRC), but that's an extremely kludgey solution and bound to give you more grief than is worth.

    Why not just use native Vignette and Tcl commands to do what you want? My Vignette/Tcl is a bit rusty, but something along the following lines should work ...

    [SET file [open /path/to/my/file.txt a]] [puts $file "[SHOW name] [SHOW email]"]

    (Error checking left as an exercise for the reader. :-)

        --k.