Running Jaqueline's CGI tutorial in JaguarPC

Dave Cragg dcragg at lacscentre.co.uk
Sat Dec 3 10:29:57 CST 2005


On 3 Dec 2005, at 15:53, Alejandro Tejada wrote:
>
> Trying to load a reference of
> the file like this produces an error:
>
> -- start of example from CGI tutorial
>
> <http://www.hyperactivesw.com/cgitutorial/scripts2.html>
> put "tipTemplate.txt" into theTemplateFile
> if there is no file theTemplateFile then ##THIS LINE
> put "Error: template missing" into theData
> else
> put url ("file:"&theTemplateFile) into theData
>

The marked line above should be (I think):

   if there is not a file theTemplateFile then

See if that makes a difference.

Cheers
Dave


More information about the metacard mailing list