Whats the permissions or php code that I should put on the main dir to be able to create new files via touch() on php?
thanks in advance
First, you probably would not want to do that. You'd have to chmod the dir to 777 or chown it to the server (i.e. apache). Then again, if it's a shared server and other stuff, it's not the greatest idea.
its a dedicated server
Check out the chmod 777 & security thread down just a little ways.