lesson to learn CGIs

Richard Gaskin ambassador at fourthworld.com
Fri Apr 24 03:46:49 EDT 2009


-= JB =- wrote:

 > On Apr 23, 2009, at 11:11 PM, Jim Sims wrote:
 >> On Apr 24, 2009, at 7:59 AM, -= JB =- wrote:
 >>> 1.  Are the line endings done in the script above with & cr & cr
 >>> or am I
 >>> somehow supposed to set them in TextEdit?  I am using Mac OS X so
 >>> if I am right the line ending should be Unix which is a line
 >>> feed.  That
 >>> would mean replace & cr & cr with & lf.
 >>
 >> Perhaps it refers to how you save the file itself. I use BBEdit a
 >> lot and can save files as either Macintosh, Unix, or DOS. I save it
 >> as Unix and then upload to the server.
 >
 > That is what I was wondering but in TextEdit I didn't see those
 > options.
 > Maybe I should be using BBEdit to save it properly.

I just pasted your script into a new TextEdit document, saved it, 
uploaded it, and it works.

Are you sure the executable is named "revolution" on the server?

Did you upload the engine file using text or binary transfer mode?

--
  Richard Gaskin
  Fourth World
  Revolution training and consulting: http://www.fourthworld.com
  Webzine for Rev developers: http://www.revjournal.com



More information about the use-livecode mailing list