Hello ,

I have programmed an small script for my members

script job is

1- They can create them folder on my site
2- They can create unlimted html pages in them folder on my site !

i have configured wildcard on server and it's ok

every thing is okay

i need only htaccess file

i want htaccess do that

Code:
1 - rewrite [VALUE1].mysite.com ----- mysite.com/folder.php?foldername=[VALUE1]
Code:
2 - rewrite [VALUE1].mysite.com/[VALUE2] ---- mysite.com/folder.php?foldername=[VALUE1]&[VALUE2]
above the [VALUE2] is the query for every folder
EXAMPLE
Code:
mysite.com/folder.php?foldername=test1&page=about_me&paged=2
Here [VALUE1] is [test1]
[VALUE2] is [page=about_me&paged=2]

Please Help

i finnaly finished my script after 4 months work !

and really need your help !

--------
some one asked this question before
here the post

http://www.sitepoint.com/forums/apac...ns-580081.html

and they answered him right

but he required only one value [ profile.php?username=[NAME]
i required two values [folder.php?foldername=[VALUE 1]&[VALUE 2]

Regards