I have written the following php script running on Solaris 2.8 system:
<!--code beginning -->
$file_from="/tmp/text.txt";
$file_to="/webroot/mytext.txt";
copy ($file_from,$file_to);
<!--code end -->
But it occured an error when it run,the error reported:"Can't create the file, pemission deny....". It means that the php script has not right to create the file mytext.txt under the directory "/webroot/".
I don't know how to set the php script's right so that it can work well!
pls. help me!!
Thanks in advanced!!