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";
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

vikas sharma

Reply via email to