• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Dyanmic Folders..Is it possible

LEGEND ,
Jun 21, 2006 Jun 21, 2006

Copy link to clipboard

Copied

For a project I am working on, I would like it that when the member signs up
for an account, the web site dynamically creates a folder based on the
username that they choose.

Since there is only one unique username, its shouldn't be a problem. I also
have to eliminate the ability for them to choose any of the folders that
already exist, easy enough.

I know how to do this in Classic ASP, but what could I use in Coldfusion to
dynamically create a folder (i.e. mywebsite.com/username)?

--
Wally Kolcz
Developer / Support


TOPICS
Advanced techniques

Views

294

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 21, 2006 Jun 21, 2006

Copy link to clipboard

Copied

Wally Kolcz a �crit :
> For a project I am working on, I would like it that when the member signs up
> for an account, the web site dynamically creates a folder based on the
> username that they choose.
>
> Since there is only one unique username, its shouldn't be a problem. I also
> have to eliminate the ability for them to choose any of the folders that
> already exist, easy enough.
>
> I know how to do this in Classic ASP, but what could I use in Coldfusion to
> dynamically create a folder (i.e. mywebsite.com/username)?
>
Something like
<cfdirectory action="CREATE" directory="X:\mywebsite/#username#">

JiB�

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 21, 2006 Jun 21, 2006

Copy link to clipboard

Copied

Thanks!

Also, is it possible to create / copy a standard page to the new directory
for a 'coming soon' page?


Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Jun 21, 2006 Jun 21, 2006

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 22, 2006 Jun 22, 2006

Copy link to clipboard

Copied

LATEST
Wally Kolcz a �crit :
> Thanks!
>
> Also, is it possible to create / copy a standard page to the new directory
> for a 'coming soon' page?
>
>
Maybe you can read the help docs....

else you can use something like
<cffile action="COPY" source="yourcomingsoonpage.ext"
destination="X:\yourpath\">

Jib�

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation