View Single Post
  #2  
Old 03-01-2012, 06:49 PM
craigles craigles is offline
Member
 
Join Date: Jun 2011
Posts: 34
OK, It seems to be related to the $_SERVER PHP superglobal.

Doing a print_r($_SERVER) going via the cpanel web server, and using the passthru presents a difference.

The HTTP_HOST entry is empty on the passthru and is populated on the cpanel web server method.

The SERVER_NAME var is also empty as opposed to the cpanel web server access method.
Reply With Quote