Can not read write file from Desktop
| From: | Vikas Sharma | Date: | Tue, 12 May 2009 12:53:05 +0000 |
| Subject: | Can not read write file from Desktop | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-292474@lists.php.net to get a copy of this message | ||
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