|
Posted by Jerry Stuckle on 01/23/07 02:32
Michael Fesser wrote:
> .oO(Jerry Stuckle)
>
>> Michael Fesser wrote:
>>> Depends. I'm on a shared host and can use my own php.ini.
>>>
>> Not really,
>>
>> If they're using the CGI version of PHP (instead of the Apache
>> extension), you can use a subset of the php.ini in your directory. But
>> unless they have no concerns about security (or don't understand
>> security), you won't be able to put all the possible options in it.
>
> True. But it's more than enough. Additionally many of the most-used
> directives are PHP_INI_ALL, so they can be set everywhere.
>
> Micha
Maybe it's more than enough. Maybe not. It all depends on what they
allow you to set.
And if you ever change hosts to someone using the Apache extension,
you'll be SOL. It's even worse if you change to a Windows host.
The bottom line is - this doesn't work on every system. The
$_SERVER['DOCUMENT_ROOT'] does.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|