Re: Matt Wrights Guestbook

2001-05-24 Thread Nigel G Romeril
Sorry, I omitted that particular reason for possible failure, perhaps the enquirer could tell us what OS they are running and if they are on machine of their own or rented server space. Then we could make a start on why it is not running. SunDog wrote: > But that's the rub ... Change the first l

Re: Matt Wrights Guestbook

2001-05-23 Thread SunDog
But that's the rub ... Change the first line ... isn't it Nigel ? if this is done in Windows, the script can get corrupted ... the result is ^M's all over the place ... When many of these scripts were first made available, changes were made directly on the servers , usually with telnet .

Re: Matt Wrights Guestbook

2001-05-23 Thread SunDog
On a Linux machine, open up the script ... with Fox-Editor Look for ^M 's remove them If you have edited or configured this script using Windoze, the CR\ LF is not compatible with New Line on ISO machines ... regards SunDog ==

Re: Matt Wrights Guestbook

2001-05-23 Thread Nigel G Romeril
Dear all, Actually it does not depend on having an installation of Perl at all, let alone a sane one. I am assuming that the enquirer can take my supplied code, change the first line so that it points to their Perl install directory. Save it as test.pl in a suitable directory, change the permis

Re: Matt Wrights Guestbook

2001-05-23 Thread Randal L. Schwartz
> "Nigel" == Nigel G Romeril <[EMAIL PROTECTED]> writes: Nigel> Try something like; Nigel> #!/usr/bin/perl -w Nigel> print "Content-type: text/html\n\n"; Nigel> print "Hello world, it works!\n"; Nigel> This should print a line of black text on a white background if your path, permissions et

Re: Matt Wrights Guestbook

2001-05-23 Thread Nigel G Romeril
Try something like; #!/usr/bin/perl -w print "Content-type: text/html\n\n"; print "Hello world, it works!\n"; This should print a line of black text on a white background if your path, permissions etc are OK [EMAIL PROTECTED] wrote: > Hi Sally (Kevin?), > > sounds like somthing in your webser

Re: Matt Wrights Guestbook

2001-05-23 Thread lucy
Hi Sally (Kevin?), sounds like somthing in your webserver cgi-setup is wrong.. perhaps your path to perl is wrong in the script being called? Or you haven't edited any relevant bits of the code for file locations etc.. I am have never used Matt's Scripts, but have you checked that your webserve

Matt Wrights Guestbook

2001-05-23 Thread Kevin Williams
Has anybody used Matts guestbook? I've tried using several versions (I thought they were by different people until I got into the code) and each one has the same problem. The HTML pages work fine, but when the links point to the perl bits I get an internal server error that looks like: Internal S