NYCPHP Meetup

[nycphp-talk] Many pages: one script

Elliotte Harold elharo at metalab.unc.edu
Sun Aug 5 14:16:18 EDT 2007


Edward Potter wrote:
> hmmmm, I have never found this to be a problem.  Using includes, you
> can pull in .php code from anywhere, even pages with a .php extension
> may be 99.99% html, with a  just a single include('foo.php') in it.
> Keeps things super streamlined, and your pages are very readable.
> 

You've got it backwards. I want one script to service many URLs, not 
many scripts to service one URL.

-- 
Elliotte Rusty Harold  elharo at metalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/



More information about the talk mailing list