For Programmers: Free Programming Magazines  


Home > Archive > PERL CGI Beginners > October 2006 > Re[2]: Script produces nothing when run from web page









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re[2]: Script produces nothing when run from web page
Richard Luckhurst

2006-10-30, 6:55 pm

Hi John,

Thanks for the Email. I had thought about the paths. I just tried it and it
makes no difference.

Regards

Richard

JK> Hi ,

JK> I am no expert but I would guess that cgi runs in a restricted environment
JK> and doesn't have a full PATH, thus it doesn't know how to call tail and
JK> tac.

JK> I'd try putting the full path to these in the script.

JK> /usr/bin/tail
JK> /usr/bin/tac

JK> instead of just tail and tac.

JK> HTH, if not I am sure some guru will set you (and me) straight.

JK> cheers
JK> johnk

JK> On Wed, 25 Oct 2006, Richard Luckhurst wrote:
[color=darkred]




Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com