basicly this problem seems to result of the new way I do get the string from
the url

I used to get it with $PATH_INFO

which is not the same result.

Does anybody know a equal command for $PHP_INFO ?


"Andy" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
> Hi there,
> I did upgrade to 4.2 and now I am "recoding" :-(  my whole application.
> So I did get behind the basic idea, but there is one case, where I just
> know how to solve it:
> Im a doing something similar like on when you type in
> In my .htaccess file I do redirect in case of a 404
> a php page where I do redirect to a page called /profiles/80000001.html
> In the file profiles (which is a php file not a dir) I do grab the
> 80000001.html and extract the 80000001 to explode it into parameters. Then
> do grab the functionname (or in my case user name) to redirect him to the
> propper site.
> In php4.1.1 it worked fine. Now I changed the first function to:
>  $PATH_INFO = $_SERVER[REQUEST_URI];  (was $PATH_INFO in 4.1.1)
> The username was fetched in 4.1.1 with ( I know I have to change this as
> well):
> $parameter = explode('/', $REQUEST_URI);
> $user_name = $parameter[1];
> So now I do get as $PATH_INFO the username which is mixing up my whole
> How can I get both parameters like in good old former times :-)
> Do u see my trouble?
> I appreciate every help on that,
> Thanx, Andy

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to