hi!!!
I am writing a program to create dyanamic directories with dynamic webpages
using php.
the program which i wrote in my windows box worked fine. i uploaded it into
the linux server which
runs rh7.2. i was able to create the directory using
umask(000);
mkdir($pathdir,0777);
But when i created the index.php file inside the directory, using fopen(),
the default file permission is set as 666, but i want the premission to b set
as 777 so that i can view the created file in my browser. i tried changin the
file permision in my php program, which returned an warning saying about
safe restriction.
i would like to know whether i can change the default file permission of
fopen which cms to b 666 or will i b able to change the file permission without
loggin in as the superuser, as the server in which i have hosted the program
is not mine.
thnx in advance,
R.Karthick
--
Follow Your Heart
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net