Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199807

Re: [PHP3] Serving *all* web pages using PHP3 from a database... From: \\yvind M|ll (oyvindmo <email protected>)
Date: 07/17/98

* Tony McDonald
|
| What I envisage is something like
|
| http://virtualserver1.ncl.ac.uk/top_level/sub_level/document.html
|
| where top_level/sub_level/document.html is used as a key to the database
| entry holding the HTML (which is then rendered by PHP). The resultant HTML
| is then 'inserted' into a template HTML 'wrapper' and presented to the
| client.

Check out Apache's mod_rewrite.

http://www.apache.org/docs/mod/mod_rewrite.html
...for the documentation, and....
http://www.engelschall.com/pw/apache/rewriteguide/
...for lots of examples.

-- 
   Øyvind Møll
   oyvindmo <email protected>

-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.tryc.on.ca/php3.html