VARIABLES $_SERVER['']


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. foreach($_SERVER as $nombre_campo => $valor){
  2.  
  3. $asignacion = "$" . $nombre_campo . "= . $valor . ";
  4. echo "<br>" . $asignacion;
  5.  
  6. }
  7.  
  8.  
  9. $SERVER_SOFTWARE= . Apache .
  10. $REQUEST_URI= . /embarazo/ .
  11. $PATH= . /bin:/usr/bin:/sbin:/usr/sbin .
  12. $RAILS_ENV= . production .
  13. $FCGI_ROLE= . RESPONDER .
  14. $REDIRECT_UNIQUE_ID= . TcQhpUt3wZwAABaHi6IAAAAh .
  15. $REDIRECT_SCRIPT_URL= . /embarazo/ .
  16. $REDIRECT_SCRIPT_URI= . http://w3.revistacarrusel.cl/embarazo/ .
  17. $REDIRECT_dsid= . 13252994 .
  18. $REDIRECT_ds_id_13252994= . .
  19. $REDIRECT_DH_USER= . rc2010 .
  20. $REDIRECT_STATUS= . 200 .
  21. $UNIQUE_ID= . TcQhpUt3wZwAABaHi6IAAAAh .
  22. $SCRIPT_URL= . /embarazo/ .
  23. $SCRIPT_URI= . http://w3.revistacarrusel.cl/embarazo/ .
  24. $dsid= . 13252994 .
  25. $ds_id_13252994= . .
  26. $DH_USER= . rc2010 .
  27. $HTTP_HOST= . w3.revistacarrusel.cl .
  28. $HTTP_USER_AGENT= . Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 .
  29. $HTTP_ACCEPT= . text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 .
  30. $HTTP_ACCEPT_LANGUAGE= . es-es,es;q=0.8,en-us;q=0.5,en;q=0.3 .
  31. $HTTP_ACCEPT_ENCODING= . gzip, deflate .
  32. $HTTP_ACCEPT_CHARSET= . ISO-8859-1,utf-8;q=0.7,*;q=0.7 .
  33. $HTTP_CONNECTION= . close .
  34. $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 .
  35. $HTTP_PRAGMA= . no-cache .
  36. $HTTP_CACHE_CONTROL= . no-cache .
  37. $SERVER_SIGNATURE= . .
  38. $SERVER_NAME= . w3.revistacarrusel.cl .
  39. $SERVER_ADDR= . 75.119.193.156 .
  40. $SERVER_PORT= . 80 .
  41. $REMOTE_ADDR= . 190.21.136.16 .
  42. $DOCUMENT_ROOT= . /home/rc2010/w3.revistacarrusel.cl__ .
  43. $SERVER_ADMIN= . [email protected] .
  44. $SCRIPT_FILENAME= . /home/rc2010/w3.revistacarrusel.cl__/index.php .
  45. $REMOTE_PORT= . 54757 .
  46. $REDIRECT_URL= . /embarazo/ .
  47. $GATEWAY_INTERFACE= . CGI/1.1 .
  48. $SERVER_PROTOCOL= . HTTP/1.1 .
  49. $REQUEST_METHOD= . GET .
  50. $QUERY_STRING= . .
  51. $SCRIPT_NAME= . /index.php .
  52. $PHP_SELF= . /index.php .
  53. $REQUEST_TIME= . 1304699301 .
  54. $argv= . Array .
  55. $argc= . 0 .

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.