JRPereira
Forum Replies Created
-
Forum: Installing WordPress
In reply to: $_server (script uri, query string, etc) – unable to retieveBy the way, thanks a TON for showing me the print_r function.
Forum: Installing WordPress
In reply to: $_server (script uri, query string, etc) – unable to retieveThis is the result: Looks like script URI no longer exists, along with a few other things. It’s enough to work with, so thanks a ton, but I have to say it’s odd that some of the variables are being completely erased.
Array
(
[DOCUMENT_ROOT] => /home/wwu/public_html/justinpereira
[HTTP_ACCEPT] => image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
[HTTP_ACCEPT_ENCODING] => gzip, deflate
[HTTP_ACCEPT_LANGUAGE] => en-us
[HTTP_CONNECTION] => Keep-Alive
[HTTP_COOKIE] => [REMOVED BY JRPEREIRA] [REMOVED BY JRPEREIRA]
[HTTP_HOST] => http://www.justinpereira.com
[HTTP_REFERER] => http://www.justinpereira.com/
[HTTP_USER_AGENT] => Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)
[PATH] => /bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
[REDIRECT_QUERY_STRING] => page_id=283
[REDIRECT_STATUS] => 200
[REDIRECT_URL] => /
[REMOTE_ADDR] => 216.127.136.54
[REMOTE_PORT] => 2788
[SCRIPT_FILENAME] => /home/wwu/public_html/justinpereira/index.php
[SERVER_ADDR] => 67.15.12.66
[SERVER_ADMIN] => webmaster@justinpereira.unleashed.ws
[SERVER_NAME] => http://www.justinpereira.com
[SERVER_PORT] => 80
[SERVER_SIGNATURE] =>
[SERVER_SOFTWARE] => Apache
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_PROTOCOL] => HTTP/1.1
[REQUEST_METHOD] => GET
[QUERY_STRING] => page_id=283
[REQUEST_URI] => /?page_id=283
[SCRIPT_NAME] => /index.php
[PATH_TRANSLATED] => /home/wwu/public_html/justinpereira/index.php
[PHP_SELF] => /index.php
[argv] => Array
(
[0] => page_id=283
)[argc] => 1
)Forum: Installing WordPress
In reply to: $_server (script uri, query string, etc) – unable to retieveI tried both $remote_addr and $_server[‘remote_addr’] – I’ll try print_r and see what happens.
Forum: Installing WordPress
In reply to: $_server (script uri, query string, etc) – unable to retieveUh woops can somebody move this topic to the right subforum?