Phil Davis wrote:
Turns out I had the wrong line endings in my script. So in TextWrangler
(Mac) I changed them to "Unix (LF)" with the little menu at the bottom
edge of the window, saved the script again and it worked! Yaaaaay.
Rev's internal line-ending is the same as for UNIX, so -
If you make a little stacks and write your CGI script in a button, you
get the benefit of auto-indenting as you go, and you can write a
one-liner to upload that script to your server, a la:
put script of btn "MyCGI" into \
url ("ftp://user:[EMAIL PROTECTED]/cgi-bin/mycgi.mt")
With that, uploading is a snap. You can then add buttons to launch your
web browser to some test page, or even test it right from within Rev.
No more line-ending issues, and a lot of little steps go away with
ultra-convenience. :)
--
Richard Gaskin
Managing Editor, revJournal
_______________________________________________________
Rev tips, tutorials and more: http://www.revJournal.com
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution