quot;test.txt","w"); to see if fopen can
>> create a file in the same folder as the script?
>>
>> On Tue, Jan 4, 2011 at 9:39 AM, tinkee wrote:
>>>
>>>
>>> i tried to hardcode the path in fopen("/var/www/html/logs/20110104.log",
&g
>
>> i tried to hardcode the path in fopen("/var/www/html/logs/20110104.log",
>> 'w');
>> but still cannot create though..
>>
>>
>>
>> tinkee wrote:
>>>
>>>
>>>
>>> iam on php 5.1.6...
>>>
in fopen("/var/www/html/logs/20110104.log",
> 'w');
> but still cannot create though..
>
>
>
> tinkee wrote:
>>
>>
>>
>> iam on php 5.1.6...
>>
>> i also noticed that in the echo result in line 69 of AppenderFile, the one
>>
i tried to hardcode the path in fopen("/var/www/html/logs/20110104.log",
'w');
but still cannot create though..
tinkee wrote:
>
>
>
> iam on php 5.1.6...
>
> i also noticed that in the echo result in line 69 of AppenderFile, the one
> you told
iam on php 5.1.6...
i also noticed that in the echo result in line 69 of AppenderFile, the one
you told me earlier,
the value is only: /var/www/html/logs/
and not the same value that was passed in getFile() which was:
/var/www/html/logs/20110104.log
the filename itself was not carried over
t;>>
>>>> my php file is in my:
>>>> /var/www/html/Logging/loggingSamples/logtry.php
>>>>
>>>> while the logfile that i supposedly would create is in
>>>> /var/www/html/logs/
>>>>
>>>> the value of the fi
t;>
>>> the file path is correct, i am on linux..
>>>
>>> my php file is in my:
>>> /var/www/html/Logging/loggingSamples/logtry.php
>>>
>>> while the logfile that i supposedly would create is in
>>> /var/www/html/logs/
>&g
t;>
>> while the logfile that i supposedly would create is in
>> /var/www/html/logs/
>>
>> the value of the filename in line 69 is:
>> /var/www/html/logs/20110104.log
>>
>> it has successfully set the filename though...
>>
>> did i missed out on