From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from cpe-24-221-98-238.az.sprintbbd.net ([24.221.98.238] helo=lnx3.holmesgrown.com) by speech.braille.uwo.ca with esmtp (Exim 3.35 #1 (Debian)) id 17mZSI-0002Uh-00 for ; Wed, 04 Sep 2002 08:40:22 -0400 Received: (from steve@localhost) by lnx3.holmesgrown.com (8.11.4/8.11.4) id g84CenQ00788 for speakup@braille.uwo.ca; Wed, 4 Sep 2002 05:40:49 -0700 Date: Wed, 4 Sep 2002 05:40:49 -0700 From: Steve Holmes To: speakup@braille.uwo.ca Subject: Re: 4. Implementing php on an apache server. (Mark Rew) Message-ID: <20020904054043.A779@lnx3.holmesgrown.com> References: <003f01c2540b$917e9280$98185a8c@17158MR2> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <003f01c2540b$917e9280$98185a8c@17158MR2>; from Mark.Rew@noaa.gov on Wed, Sep 04, 2002 at 08:06:58AM -0400 Sender: speakup-admin@braille.uwo.ca Errors-To: speakup-admin@braille.uwo.ca X-BeenThere: speakup@braille.uwo.ca X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: speakup@braille.uwo.ca List-Help: List-Post: List-Subscribe: , List-Id: Speakup is a screen review system for Linux. List-Unsubscribe: , List-Archive: Breefly, server side includes is a very small part and is neither php nor perl. Apache has SSI available though with PHP is probably not really necessary. I'll bet things would be more secure with server side includes in effect. One example of a server side include might be a function for giving out the date last modified of a page in your web site. CGI are usually perl scripts that get executed with post formactions or by a direct URL. They stand alone but run on the server. PHP may seem similar but it is embedded in your HTML; or at least it is with every example I've seen so far. It is also server based as opposed to client side scripts like java script, perlscript, vbscript, etc. Those run on the user's machine instead of the server. that's where lynx falls flat on its face; it cannot run any client side scripts. Hence our continual complaints that some web site here and there runs javascript and us lynx users get left out in the cold! >>From what I've seen so far, PHP is really cool and I look forward to doing more with it. On Wed, Sep 04, 2002 at 08:06:58AM -0400, Mark Rew wrote: > Hi list, > > Thanks for the help. By taking both suggestions that came back to me my php > is working. > > First I removed from my httpd.conf file > AddHandler /cgi-bin/ .php > > Then, I put my php files in a php directory off of the home page directory. > thus, the command: > lynx url/php/experimental.php > > Ran my program. I believe that I am confusing cgi scripting with a server > side scripting language. Any comments on the differences between these two > concepts? > > Mark Rew > > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup