Re: [PHP4BETA] Content layering in our beloved pet
| From: | Boris Erdmann | Date: | Fri, 25 Feb 2000 23:44:01 +0000 |
| Subject: | Re: [PHP4BETA] Content layering in our beloved pet | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-11014@lists.php.net to get a copy of this message | ||
Lukasz Felsztukier wrote:
>
> Hi there
> Is it possible to do content layering in php ? Eg. :
> 1. Data from the html form is sent to database.php
> 2. database.php queries database for certain data, then send them to wrap.php
> 3. wrap.php adds html header and body tags, converts each newline to <br> tag
> and some other cosmetic stuff
> Is it possible to redirect content from one script to other like this ?
Well there are ways to do that with php4. But why would you want to walk the
the extra path via wrap.php?
> Question number two:
> I have some heavy-structured tree like data in database, thus I want to do the
> following parameter passing possible:
> http://www.mydomain.com/query/1/4/1/0
> where 1, 4, 1 and 0 are all parameters and query is a php script.
> Any sugestions ?
This done via apache's internal redirect feature.
Boris