Cita:
Iniciado por elite11251 Entiendo lo que planteas pateketrueke, estoy poniendo todo mi esfuerzo para resolver el problema. Soy bastante ignorante en lo que a programación PHP se refiere pero no dudes que he estado unas cuantas horas investigando en la web para resolver el problema antes de postear.
RoyKeane te adjunto lo que imprimio ese codigo que me pasaste.
@elite11251:
Creo que estás haciendo algo mal, porque ese código debería haberte devuelto alco parecido a esto:
Código BASH:
Ver originalArray
(
[DOCUMENT_ROOT] => /home/xxxxxx/public_html/main
[EE_HOST] => main.xfiddle.com
[EE_LIB_PREFIX] => /home/xxxxxx/public_html/main/inclibs/
[EE_ROOT] => /home/xxxxxx/public_html/main/
[GATEWAY_INTERFACE] => CGI/1.1
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
[HTTP_ACCEPT_LANGUAGE] => es-ar,es;q=0.8,en-us;q=0.5,en;q=0.3
[HTTP_CONNECTION] => close
[HTTP_DNT] => 1
[HTTP_HOST] => main.xxxxxx.com
[HTTP_REFERER] => http://xxxxxx.org/
[HTTP_USER_AGENT] => Mozilla/5.0 (Windows NT 6.0; rv:32.0) Gecko/20100101 Firefox/32.0
[HTTP_X_FORWARDED_FOR] => 255.255.255.255
[HTTP_X_REAL_IP] => 255.255.255.255
[PATH] => /bin:/usr/bin
[PHPRC] => /home/xxxxxx/public_html
[PROXY_ADDR] => 255.255.4.102
[QUERY_STRING] =>
[REDIRECT_STATUS] => 200
[REMOTE_ADDR] => 186.23.248.243
[REMOTE_PORT] => 38130
[REQUEST_METHOD] => GET
[REQUEST_URI] => /code_63601866.php
[SCRIPT_FILENAME] => /home/xxxxxx/public_html/main/code_63601866.php
[SCRIPT_NAME] => /code_63601866.php
[SERVER_ADDR] => 255.255.255.102
[SERVER_ADMIN] => xxxxx@xxxxxx.xxxxxx.xxxxxx.com
[SERVER_NAME] => xxxxxx.xxxxxx.com
[SERVER_PORT] => 80
[SERVER_PROTOCOL] => HTTP/1.0
[SERVER_SIGNATURE] =>
Apache Server at main.xxxxxx.com Port 80
[SERVER_SOFTWARE] => Apache
[SITE_WEBMASTER] => xxxxxx Webmaster
[SITE_WEBMASTER_URI] => mailto:xxxxxx@xxxxxx.net
[UNIQUE_ID] => VFA94B8WBGYACX-ZCdMAAAAB
[PHP_SELF] => /code_63601866.php
[REQUEST_TIME] => 1414544864
[argv] => Array
(
)
[argc] => 0
)