On Feb 23, 2007, at 7:46 AM, tedd wrote:

On Feb 22, 2007, at 10:26 PM, tedd wrote:

Print out these three and you'll see your problem.

$_SERVER['SERVER_NAME']
$_SERVER['QUERY_STRING']
$_SERVER['REQUEST_URI']

Thanks, Tedd - -

REQUEST_URI still generates a "Undefined Index" error
SERVER_NAME on my testing server returns its IP

***QUERY_STRING***  is the one I wanted.

I didn't see it (but then again, I am working through the worst head cold I have had in years. My head is a solid block. Watta pain.)

Many thanks.

Ken

Ken:

As per my understanding, the $_SERVER['REQUEST_URI'] should give you something -- after all, it's from where the request came from (i.e., your app).

In your code, simply do a print_r($_SERVER) and see what happens.

I did this (actually a var_dump) and $_SERVER['REQUEST_URI'] doesn't show up at all. See my message replying to Jochem.

Thanks for your code. I'll check it out.

Ken

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to