For Programmers: Free Programming Magazines  


Home > Archive > PHP Language > April 2005 > Great, its what i wanted. thanks :)









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Great, its what i wanted. thanks :)
Roy zo

2005-04-27, 3:56 pm


"Kimmo Laine" <eternal.erectionN05P@Mgmail.com> wrote in message
news:FWFbe.11578$Hq3.7097@reader1.news.jippii.net...
> "Roy zo" <dindinick@hotmail.com> wrote in message
> news:d4m7vd$h7l$1@news2.netvision.net.il...
>
> <html>
> <body>
> <pre>
> <?php
> var_dump($_SERVER);
> var_dump($_REQUEST);
> ?>
> </pre>
> </body>
> </html>
>
> Run that, and pick the things you need.
>
> Other arrays of predefined variables:
> (You'll also find these from
> <URL:http://fi2.php.net/variables.predefined> )
>
> PHP Superglobals
> $GLOBALS
> Contains a reference to every variable which is currently available within
> the global scope of the script. The keys of this array are the names of
> the global variables. $GLOBALS has existed since PHP 3.
> $_SERVER
> Variables set by the web server or otherwise directly related to the
> execution environment of the current script. Analogous to the old
> $HTTP_SERVER_VARS array (which is still available, but deprecated).
> $_GET
> Variables provided to the script via HTTP GET. Analogous to the old
> $HTTP_GET_VARS array (which is still available, but deprecated).
> $_POST
> Variables provided to the script via HTTP POST. Analogous to the old
> $HTTP_POST_VARS array (which is still available, but deprecated).
> $_COOKIE
> Variables provided to the script via HTTP cookies. Analogous to the old
> $HTTP_COOKIE_VARS array (which is still available, but deprecated).
> $_FILES
> Variables provided to the script via HTTP post file uploads. Analogous to
> the old $HTTP_POST_FILES array (which is still available, but deprecated).
> See POST method uploads for more information.
> $_ENV
> Variables provided to the script via the environment. Analogous to the old
> $HTTP_ENV_VARS array (which is still available, but deprecated).
> $_REQUEST
> Variables provided to the script via the GET, POST, and COOKIE input
> mechanisms, and which therefore cannot be trusted. The presence and order
> of variable inclusion in this array is defined according to the PHP
> variables_order configuration directive. This array has no direct analogue
> in versions of PHP prior to 4.1.0. See also import_request_variables().
>
> --
> Welcome to Usenet! Please leave tolerance, understanding
> and intelligence at the door. They aren't welcome here.
> eternal piste erection miuku gmail piste com
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com