943,678 Members | Top Members by Rank

Ad:
  • ColdFusion Discussion Thread
  • Unsolved
  • Views: 10945
  • ColdFusion RSS
Apr 2nd, 2006
0

creating a new folder via code

Expand Post »
I want to be able to let users create a subdomain during their registration so that they can choose a name and it become their URL for reaching the page they can create on my site.

EX: User chooses bobandsue
They will be able to reach their url by either http://bridalnetworks.net/bobandsue or, preferrably, http://bobandsue.bridalnetworks.net

This way they can have a folder setup automatically to upload their photos and files to.

Any ideas or push/nudges in the right direction?

Katy
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
krikette is offline Offline
1 posts
since Apr 2006
Apr 3rd, 2006
0

Re: creating a new folder via code

Hey Katy,

to create a a folder, use this syntax

<cfdirectory directory= "#ExpandPath( '.\NewFolder\' )#" action="create">

Now we've just created this,

http://bridalnetworks.net/NewFolder

Now all you have to do is create the user input and integrate it with the syntax above

There's you nudge

Walyer

Walyer's Playpen
Reputation Points: 10
Solved Threads: 1
Light Poster
Walyer is offline Offline
26 posts
since Apr 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ColdFusion Forum Timeline: Check new UserID - if taken or not
Next Thread in ColdFusion Forum Timeline: help please





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC