On Thu, 23 Jul 2009 15:28:50 +0200, "Diez B. Roggisch"
<de...@nospam.web.de> wrote:

>Fred Atkinson wrote:
>
>> Is there a pre-defined variable that returns the GET line
>> (http://www.php.net/index.php?everythingafterthequestionmark) as a
>> single variable (rather than individual variables)?
>
>Variables don't return things. Functions do. And additionally the answer
>depends on what and with what you actually do.
>
>Diez

        I want to display the client browser's IP address on the Web
page.  

        I'd like to create a variable like this: ip = somefunction(). 
        Then I can print the IP address on the Web page and/or log it
in an error file.  



                                        Fred 
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to