TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:1872] Is this hard to do?



On Wed, 21 Oct 1998, Ben Luey wrote:

> I just tried your script, but I can't get it to work. netscape gives me
> the same error of internal server error. I ran "perl script.pl" where perl
> was your script and it said:
> 
> syntax error at /home/httpd/cgi-bin/script.pl line 14, near "printf"
> Execution of /home/httpd/cgi-bin/script.pl aborted due to compilation
> errors. 
> 
> Line 14 is  printf "Content-type: image/gif\n\n";
> 
> Any ideas?

Yes, print instead.

---
Jon Schewe
http://tcfreenet.org/~schewe
jpschewe@usa.net