Results 1 to 2 of 2

Thread: Create Automatic subdirectories for users

  1. #1
    Join Date
    May 2011
    Posts
    1

    Create Automatic subdirectories for users

    Hi, I am new here, and this is my first post.
    I wanted to know if there is any way to automatically create sub-directories into a server for each user, where they can insert a small perfil page.
    example: my username is javitolin. So I want to have a: www._____.com/javitolin.
    Thanks!

  2. #2
    Join Date
    Apr 2011
    Posts
    93
    Use DirectoryIndex directive in your apache configuration file(apache/conf/httpd.conf).and give index.php to be first called in tha directive.for this add
    DirectoryIndex index.php line in httpd.conf fiel.

    create a index.php file in root folder of your server(htdocs)
    and redirect the page to your page by using header("Location:mypage.php").

Similar Threads

  1. Trying to get files in subdirectories to pick up files in root using require() or inc
    By stalemath in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 0
    Last Post: 11 Mar 2011, 12:00 AM
  2. how to create a website in which registered users can post
    By gani4u in forum General Questions
    Replies: 0
    Last Post: 04 Mar 2011, 02:41 AM
  3. Automatic publishing
    By grundvold in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 18 Nov 2010, 08:14 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •