Thodoris wrote:
hi
I was trying to read a file from Desktop (Centos),
Simply saying (php code file is in /var/www/html/ )
if (file_exists("/root/Desktop/conf_files_linux"))
echo "yes file is there";
else
echo "no none";
It gives me none.
If i place conf_files_linux file in /var/www/html.
Thodoris wrote:
>
>> hi
>> I was trying to read a file from Desktop (Centos),
>>
>> Simply saying (php code file is in /var/www/html/ )
>>
>> if (file_exists("/root/Desktop/conf_files_linux"))
>> echo "yes file is there";
>> else
>> echo "no none";
>>
>> It gives me none.
>> If i place conf_files_
thanks for replying
>From command line can access that file.
But i need some interface, through that i want to change some files.
I am using apache (httpd) server.
Now i need to give access to apache user of those folders, which is not
recommended as per you.
or in order to use the suexec featu
hi
I was trying to read a file from Desktop (Centos),
Simply saying (php code file is in /var/www/html/ )
if (file_exists("/root/Desktop/conf_files_linux"))
echo "yes file is there";
else
echo "no none";
It gives me none.
If i place conf_files_linux file in /var/www/html. i get yes...
After
hi
I was trying to read a file from Desktop (Centos),
Simply saying (php code file is in /var/www/html/ )
if (file_exists("/root/Desktop/conf_files_linux"))
echo "yes file is there";
else
echo "no none";
It gives me none.
If i place conf_files_linux file in /var/www/html. i get yes...
After ch
5 matches
Mail list logo