Page 1 of 1

Permission question: Writing to a file from PHP

Posted: Sun Jan 07, 2007 3:32 pm
by noorodeen
Hello,

I was wondering if regular hosting providers allow you to create files from w/in your php script that you access from the web? If not, how do you guys get around the need to record things on file, w/o having the user create the files and give them permissions etc...

Thanks,
amir

Posted: Sun Jan 07, 2007 3:59 pm
by Kieran Huggins
sure they do

Posted: Sun Jan 07, 2007 5:07 pm
by feyd
Most providers do allow you to create files from within PHP. Alternately, you can use FTP functionality, but it's a bit more clunky and does alter the permissions for the files, so it does take some care.