im using php to creat a directory with mkdir() function but i get this error:

Warning: mkdir() [function.mkdir]: Permission denied


do you know how i can create a file in another directory?

or how can i make a directory with super user or root previlages

i already have susperuser privileges i just dont know where i need to do this.

please help