Can not read write file from Desktop

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 checking log file i got

[notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)

What  i need to do, so tht i can access files from outside?
help pls

thanx
-- 
vikas sharma

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux