| | |
creating a new folder via code
Please support our ColdFusion advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Apr 2006
Posts: 1
Reputation:
Solved Threads: 0
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
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
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
![]() |
Similar Threads
- Creating .EXE File (ASP.NET)
- strange behavior:windows xp creating a new same named folder that has exe extension. (Windows NT / 2000 / XP)
- Form data as input into Perl code (Perl)
- Dr Scheme Tutorial (Computer Science)
- A real locking folder (C++)
- Check the code!! (C++)
- how to select folder using commondialog in visual basic (Visual Basic 4 / 5 / 6)
- using vb code on msaccess forms (Visual Basic 4 / 5 / 6)
- help with my perl code (Perl)
Other Threads in the ColdFusion Forum
- Previous Thread: Check new UserID - if taken or not
- Next Thread: help please
| Thread Tools | Search this Thread |





