I would suggest you implement this at the web server level. If using Apache,
use virtual hosting or perhaps a rewrite condition if needed.
If you must do this in PHP, and you want to do is redirect the user to a
particular directory depending on the URL they type, then something like
this should
ottobre 2001 10.03
To: Ratfish; [EMAIL PROTECTED]
Subject: RE: [PHP] Simple Question, I think
I would suggest you implement this at the web server level. If using
Apache, use virtual hosting or perhaps a rewrite condition if needed. If
you must do this in PHP, and you want to do is redirect the user to
I would suggest you implement this at the web server level. If using Apache,
use virtual hosting or perhaps a rewrite condition if needed.
If you must do this in PHP, and you want to do is redirect the user to a
particular directory depending on the URL they type, then something like
this should
Thanks guys, that's just what I wanted to hear.and so quick too!
> From: [EMAIL PROTECTED] (Lawrence Sheed)
> Newsgroups: php.general
> Date: Mon, 1 Oct 2001 22:40:29 -0400
> To: [EMAIL PROTECTED], [EMAIL PROTECTED]
> Subject: RE: [PHP] Simple Question, I think
>
&
Simple to do it in php, but i would think its better done in apache using
virtual host configuration.
do a google search for virtual host apache
-Original Message-
From: Ratfish [mailto:[EMAIL PROTECTED]]
Sent: October 2, 2001 10:25 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Simple Quest
Perhaps check the URL and direct as such using header();. Use phpinfo(); to
find what var holds the current URL.
- k
- Original Message -
From: "Ratfish" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 01, 2001 10:25 PM
Subject: [PHP] Simple Question, I think
> All
6 matches
Mail list logo