Return to Snippet

Revision: 45764
at May 7, 2011 02:32 by serialk89


Initial Code
foreach($_SERVER as $nombre_campo => $valor){

        $asignacion = "$" . $nombre_campo . "= . $valor . ";
        echo "<br>" . $asignacion;

        }


$SERVER_SOFTWARE= . Apache .
$REQUEST_URI= . /embarazo/ .
$PATH= . /bin:/usr/bin:/sbin:/usr/sbin .
$RAILS_ENV= . production .
$FCGI_ROLE= . RESPONDER .
$REDIRECT_UNIQUE_ID= . TcQhpUt3wZwAABaHi6IAAAAh .
$REDIRECT_SCRIPT_URL= . /embarazo/ .
$REDIRECT_SCRIPT_URI= . http://w3.revistacarrusel.cl/embarazo/ .
$REDIRECT_dsid= . 13252994 .
$REDIRECT_ds_id_13252994= . .
$REDIRECT_DH_USER= . rc2010 .
$REDIRECT_STATUS= . 200 .
$UNIQUE_ID= . TcQhpUt3wZwAABaHi6IAAAAh .
$SCRIPT_URL= . /embarazo/ .
$SCRIPT_URI= . http://w3.revistacarrusel.cl/embarazo/ .
$dsid= . 13252994 .
$ds_id_13252994= . .
$DH_USER= . rc2010 .
$HTTP_HOST= . w3.revistacarrusel.cl .
$HTTP_USER_AGENT= . Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 .
$HTTP_ACCEPT= . text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 .
$HTTP_ACCEPT_LANGUAGE= . es-es,es;q=0.8,en-us;q=0.5,en;q=0.3 .
$HTTP_ACCEPT_ENCODING= . gzip, deflate .
$HTTP_ACCEPT_CHARSET= . ISO-8859-1,utf-8;q=0.7,*;q=0.7 .
$HTTP_CONNECTION= . close .
$HTTP_COOKIE= . __utma=234466712.838922010.1298902658.1299604084.1299618157.11; __utmz=234466712.1298902658.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); wp-settings-77=m15%3Dc%26m12%3Dc%26m8%3Do%26m7%3Do%26m9%3Dc%26m10%3Do%26m4%3Do%26m14%3Dc%26m16%3Do%26m17%3Dc%26m11%3Do%26m1%3Do%26editor%3Dtinymce%26m2%3Do; wp-settings-time-77=1302187652; HstCfa1413554=1299105884676; HstCla1413554=1304701762277; HstCmu1413554=1304627158201; HstPn1413554=11; HstPt1413554=114; HstCnv1413554=34; HstCns1413554=45; __utma=35826367.2015254736.1299760123.1304694377.1304699244.102; __utmz=35826367.1304009576.73.5.utmcsr=by152w.bay152.mail.live.com|utmccn=(referral)|utmcmd=referral|utmcct=/mail/InboxLight.aspx; OAID=ae72f3716f70b629a3248061b095897b; c_ref_1413554=http%3A%2F%2Fwww.revistacarrusel.cl%2Fpadres-comunes-grandes-ideas%2F; OACCAP=4.15; __gads=ID=2dc9d00fa9561493:T=1303315911:S=ALNI_MaP11vRqAQgBvyZFrxsSSxot_2hcQ; PHPSESSID=3npas4vafun224e48qcb0t7ue5; __utmc=35826367; __utmb=35826367.12.10.1304699244 .
$HTTP_PRAGMA= . no-cache .
$HTTP_CACHE_CONTROL= . no-cache .
$SERVER_SIGNATURE= . .
$SERVER_NAME= . w3.revistacarrusel.cl .
$SERVER_ADDR= . 75.119.193.156 .
$SERVER_PORT= . 80 .
$REMOTE_ADDR= . 190.21.136.16 .
$DOCUMENT_ROOT= . /home/rc2010/w3.revistacarrusel.cl__ .
$SERVER_ADMIN= . [email protected] .
$SCRIPT_FILENAME= . /home/rc2010/w3.revistacarrusel.cl__/index.php .
$REMOTE_PORT= . 54757 .
$REDIRECT_URL= . /embarazo/ .
$GATEWAY_INTERFACE= . CGI/1.1 .
$SERVER_PROTOCOL= . HTTP/1.1 .
$REQUEST_METHOD= . GET .
$QUERY_STRING= . .
$SCRIPT_NAME= . /index.php .
$PHP_SELF= . /index.php .
$REQUEST_TIME= . 1304699301 .
$argv= . Array .
$argc= . 0 .

Initial URL

                                

Initial Description

                                

Initial Title
VARIABLES $_SERVER['']

Initial Tags

                                

Initial Language
PHP