$_server variables

$_server variables

Posted by: peritonlogon
Posted on: 2007-05-25 15:27:00

My site is powered by Joomla! There is a component I would like to add called com_page_cache since my page loads somewhat slowly. One of the criteria for installing the component is that I have access to $_server variables. I've tried my best to figure out if I do, in fact, have access to this with no luck. So my quesiton is, do I?

Sincere thanks in advance for any reply!

FWIW I'm on a shared hosting plan.

Re: $_server variables

Posted by: rlparker
Posted on: 2007-05-25 16:00:00

Yes, you *do* have access to such variables (though, in some cases, they may not return the value expected by programmers who do not account for the fact that PHP *may* be running as CGi wink. For example, the $_SERVER['SCRIPT_NAME'] variable will return the php.cgi binary rather than the name of your script.

--rlparker

Re: $_server variables

Posted by: peritonlogon
Posted on: 2007-05-25 16:09:00

Thanks a lot! I had read about some horror stories about removing this component when 'something went wrong' and I figured it was best to ask someone....


Tags: replyfwiwpage loadsshared hostingthanks in advance