Re: Re: [PHP] All Request to the same script

2003-01-15 Thread SLanger
Hello First of all thanks for the suggestion. I thought something along these lines. The disadvantage to this approach in my opinion is that I have to include the controller in all pages and it is therefor not possible to integrate pages which I do not control without breaking the concept of r

Re: [PHP] All Request to the same script

2003-01-15 Thread [-^-!-%-
have you tried ==idex.php=== switch($op) { case "intro": include("welcome.php"); break; case "about": include("about.php"); break; case "contact": incldue("contact.php"); break; default: include("welco

Re: [PHP] All Request to the same script

2003-01-15 Thread Brad Pauly
On Wed, 2003-01-15 at 08:24, Chris Hayes wrote: > At 15:39 15-1-03, you wrote: > >Hello > > > >Is it possible to send all incoming requests to the same script within > >PHP? > >In other words: How can I get http://mysite/script.php to point to the > >same script as http://mysite/anotherscript.php ?

Re: [PHP] All Request to the same script

2003-01-15 Thread Chris Hayes
At 15:39 15-1-03, you wrote: Hello Is it possible to send all incoming requests to the same script within PHP? In other words: How can I get http://mysite/script.php to point to the same script as http://mysite/anotherscript.php ? And is it possible to do send a request like http://mysite/someext