public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* 4. Implementing php on an apache server. (Mark Rew)
@  Mark Rew
   ` Steve Holmes
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Rew @  UTC (permalink / raw)
  To: speakup

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 4. Implementing php on an apache server. (Mark Rew)
   4. Implementing php on an apache server. (Mark Rew) Mark Rew
@  ` Steve Holmes
  0 siblings, 0 replies; 2+ messages in thread
From: Steve Holmes @  UTC (permalink / raw)
  To: speakup

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 4. Implementing php on an apache server. (Mark Rew) Mark Rew
 ` Steve Holmes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).