Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Aug 2000 06:38:51 +0400
From:      Igor Roboul <igor@raduga.dyndns.org>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Newbie need help to execute a shell script
Message-ID:  <20000829063851.A25163@linux.rainbow>
In-Reply-To: <39AAB5EB.AD0F8F1D@devises-or.com>; from techsupport@devises-or.com on Mon, Aug 28, 2000 at 02:56:43PM -0400
References:  <20000828134505.EBA6F1F17@static.unixfreak.org> <39AA719A.1F3B9E97@devises-or.com> <20000828182757.A21602@linux.rainbow> <39AA7B69.D231BA3C@devises-or.com> <20000828190308.A21842@linux.rainbow> <39AA96D1.2C478561@devises-or.com> <20000828205830.A22674@linux.rainbow> <39AAB5EB.AD0F8F1D@devises-or.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 28, 2000 at 02:56:43PM -0400, Claude Cormier wrote:
> 
> #!/bin/sh
> php /cgi-bin/test.php
> 
> This gives me an error as well since php cannot find test.php. So I
> guess I must also create test.php on the unix side?  I am accessing
> through telnet... so what are the alternatives: ed?
> 
> Or is there a utility I can use ? 
Of course, no. You even does not need create other scripts on Unix side. Just 
use ASCII mode for FTP when you transfer it.
About PHP. When you use /cgi-bin it is relative to WWW server root. If you wish 
do this from shell, then find this root by 'locate cgi-bin'

-- 
Igor Roboul, Unix System Administrator & Programmer @ sanatorium "Raduga"
http://www.brainbench.com/transcript.jsp?pid=304744


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000829063851.A25163>