Code Comments
Programming Forum and web based access to our favorite programming groups."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 >
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.