You are here: Re: very simple, yet can't think how. « PHP « IT news, forums, messages
Re: very simple, yet can't think how.

Posted by "sonu gill" on 08/02/05 05:12

From my understanding of what you are trying to do you have templates,
perhaps, setup for your users that get customized with each individuals
data. In that case what you will require to do is first off

1. create a folder for user underneath the corresponding location you want
the user setup, so if
-web address: www.mydomain.com physical location: c:\mydomain\
-web address: www.mydomain.com/Joe/ physical location: c:\mydomain\Joe\

2. insert user data into templates
3. copy the template files over to the new folder location for user, so if
the user has a contactus.php
-web address: www.mydomain.com/Joe/contactus.php physical location:
c:\mydomain\Joe\contactus.php

I'm pretty sure this is probably overkill for what you were looking for.
Hope it helps..

-sonu

ps- You will need to look up directory and file manipulation functions.
They are simple...



<Esteamedpw@aol.com> wrote in message news:1e4.40c25a29.30201c0b@aol.com...
> Hi everyone,
>
> Sorry for the n00bie question but I've been racking my brain, searching
> Google and yes, I have been "RTFM" for over 6 months :-)
>
> All I'm trying to do is set up a "User system" that allows a member to
> create their own personal site using an auto_increment type system? This
> is my
> problem...
>
> I've been trying to look through other code trying to figure out where and
> how they do it - but for some reason I can't figure out how to Dynamically
> create something like this:
>
> User Joe comes in and creates an account... when he creates his account he
> can give his site a TITLE, DESCRIPTION, ABOUT US INFO (say /aboutus.php),
> CONTACT (./contactus.php), etc. after he clicks "Submit" the system
> automatically
> creates a site such as _http://mydomain.com/0/joe/ _
> (http://mydomain.com/0/joe/ ) , Bob does the same thing and his is
> _http://mydomain.com/0/bob_
> (http://mydomain.com/0/bob)
>
> I'm sure most of you know how this is done or you've seen it on sites such
> as Soundclick.com (although it's CF) - I've been checking out Jamroom to
> see if
> I could figure it out there- but kinda got lost lol... I want to use PHP,
> Smarty and MySQL to do this - but I'm missing something... I'm not asking
> anybody to build this - I'm looking for a little guidance, tips, etc. -
> that's all.
>
> Would this be done through auto_increment in MySQL or something?
>
> Thanks everyone :-)
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация