...

View Full Version : create a separate folders



swethak
07-31-2008, 05:32 AM
hi,


We need to make the changes to the folders as follow:

Domain Name
Super Admin

Dealer = domain.com/dealer/ID/pagename [front end]
Dealer = domain.com/dealer/ID/admin [back end]

Simply gather the files into organize folders, the way I asked you.

plz tell that how we create the folders by using above way.How we create the separate folders.plz help me.

Fou-Lu
07-31-2008, 07:20 AM
PHP's make directory is the function mkdir. It requires a pathname, and has optional arguments for mode, recursive creation and context (in PHP5+). The command you'll use are mkdir('dealer/ID', 660, true). Other than that I don't know what you're asking.

ssonawa
07-31-2008, 10:59 AM
Yes, you can create new directories using mkdir() function in PHP.
You can move the files to given folder using rename() function.

Please elaborate your query more to get accurate answer.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum