Re: AW: [PHP] REDIRECT_QUERY_STRING and 404 redirects in cgi mode
| From: | Bill Zeller | Date: | Fri, 05 Jan 2001 22:44:18 +0000 |
| Subject: | Re: AW: [PHP] REDIRECT_QUERY_STRING and 404 redirects in cgi mode | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-32968@lists.php.net to get a copy of this message | ||
Hi,
Responses are below.
Best Regards,
Bill Zeller
--- Hess Dominique <hessbern@dplanet.ch> wrote:
> hi, I have add it to mine and get the
> "$REDIRECT_URL" and the "$REQUEST_URL"
> as variable with the string I entered in the URL.
>
> If you add phpinfo, are there ANY output? So does it
> work, phpinfo?
yes, phpinfo() prints out all the information.
http://www.blue-prints.com/asdf/asg/sdaf
is sent to
http://www.blue-prints.com/test.htm
Both print out phpinfo();
> Whar if you let those both variables print out, are
> they empty?
Yes.
>
> an other was is to catch the whole Header and parse
> it...
hmm, interesting...maybe that would work.
>
> an other question, are those html files (index.html)
> you connect on an error
> executable? so does the server know, to execut the
> script as php?
Yes, i added the type (using forcetype) to my
.htaccess file.
>
> hope I helped, if not, reply.
> greetings
> dominique
>
> H> I'm using <? phpinfo(); ?> to check all my work,
> and
> H> the variables I need simply don't exist. I'm on
> PHP
> H> 4.03.
>
> H> > add
> H> > <? phpinfo(); ?>
> H> > in the error page and look, where you find you
> H> > searched variable.
> H> > There are every "system" variable, also this
> one, it
> H> > mus!
> H> > (I had some script, but couldn't find it
> anymoore)
> H> > I'm not sure, but I think it's $HTTP_REFERER or
> H> > $REQUEST_URL
> H> > But I'm not sure, if mine was also installed as
> CGI
> H> > libary...
>
__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/