Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-31-2008, 05:32 AM   PM User | #1
swethak
New Coder

 
Join Date: Jul 2008
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
swethak is an unknown quantity at this point
create a separate folders

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.

Last edited by swethak; 07-31-2008 at 05:35 AM.. Reason: adding content
swethak is offline   Reply With Quote
Old 07-31-2008, 07:20 AM   PM User | #2
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,752
Thanks: 4
Thanked 2,468 Times in 2,437 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
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.
__________________
PHP Code:
header('HTTP/1.1 420 Enhance Your Calm'); 
Fou-Lu is offline   Reply With Quote
Old 07-31-2008, 10:59 AM   PM User | #3
ssonawa
New Coder

 
Join Date: Jul 2008
Location: India
Posts: 39
Thanks: 0
Thanked 2 Times in 2 Posts
ssonawa is an unknown quantity at this point
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.
ssonawa is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:18 AM.


Advertisement
Log in to turn off these ads.