I just did that and got, i also added the /home part in the code and it didn’t work.
[code]Array
(
[DOCUMENT_ROOT] => /home/venzo/public_html
[GATEWAY_INTERFACE] => CGI/1.1
[HTTP_ACCEPT] => text/html, application/xhtml+xml, /
[HTTP_ACCEPT_ENCODING] => gzip, deflate
[HTTP_ACCEPT_LANGUAGE] => en-US
[HTTP_CONNECTION] => Keep-Alive
[HTTP_COOKIE] =>xxxxx
[HTTP_DNT] => 1
[HTTP_HOST] => venzodigital.com
[HTTP_USER_AGENT] => Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
[PATH] => /bin:/usr/bin
[QUERY_STRING] =>
[REDIRECT_STATUS] => 200
[REMOTE_ADDR] => 108.11.168.160
[REMOTE_PORT] => 50597
[REQUEST_METHOD] => GET
[REQUEST_URI] => /cron.php
[SCRIPT_FILENAME] => /home/venzo/public_html/cron.php
[SCRIPT_NAME] => /cron.php
[SERVER_ADDR] => 50.63.148.120
[SERVER_ADMIN] => [email protected]
[SERVER_NAME] => venzodigital.com
[SERVER_PORT] => 80
[SERVER_PROTOCOL] => HTTP/1.1
[SERVER_SIGNATURE] => Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/1.0.0-fips mod_bwlimited/1.4 Server at venzodigital.com Port 80
[SERVER_SOFTWARE] => Apache/2.2.23 (Unix) mod_ssl/2.2.23 OpenSSL/1.0.0-fips mod_bwlimited/1.4
[PHP_SELF] => /cron.php
[REQUEST_TIME] => 1352266064
[argv] => Array
(
)
[argc] => 0
)[/code]
I’ve never messed with these kinds of scripts, so i’m not really sure what’s going on, but from what i’ve been reading, it seems to be that shell_exec is replacing the slashes with periods, but i’ve tried passthru and exec and they both do the samething, so i don’t know.