Doug Crompton on 30 Mar 2007 16:44:17 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] Another PHP question.


Just so I fully understand this...

I was able to from (say) test.php execute a PHP script. What I want to do
is in html code (say) test.html execute a PHP script so that I can include
further HTML code at some point in an existing HTML document. Like
including content globaly across pages. Am I off-base here?

Since PHP is preprocessed by Apache and the filename (apparently) has to
be .php then why do I explicity have to put the PHP command in a
container?

Doug

"Those that sacrifice essential liberty to obtain a little temporary safety
 deserve neither liberty nor safety."  -- Ben Franklin (1759)

****************************
*  Doug Crompton	   *
*  Richboro, PA 18954	   *
*  215-431-6307		   *
*		  	   *
* doug@crompton.com        *
* http://www.crompton.com  *
****************************


___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug