Aureole Posted January 17, 2008 Share Posted January 17, 2008 Using PHP how would I create a directory... like on some sites, if you want to activate your account a url will be e-mailed to your. E.g.: http://www.site.com/activate/h083w08hg0sw83ghw083ghw083go3/ How would I do something like that? On other sites a sub-domain is created automatically for you, how do you go about doing that as well? I'm guessing the second at least will require some .htaccess trickery? Quote Link to comment https://forums.phpfreaks.com/topic/86549-create-a-dir/ Share on other sites More sharing options...
roopurt18 Posted January 17, 2008 Share Posted January 17, 2008 I'm not sure the first example you provided is the creation of an actual directory. More likely it's a unique ID inserted into a database combined with mod_rewrite. No comment on the sub-domain part of it. Quote Link to comment https://forums.phpfreaks.com/topic/86549-create-a-dir/#findComment-442231 Share on other sites More sharing options...
Aureole Posted January 17, 2008 Author Share Posted January 17, 2008 You're probably right about the mod_rewrite thing, good thinking. I know how to do that come to think of it. About the sub-domain thing, does anyone else have any idea how it's done? Quote Link to comment https://forums.phpfreaks.com/topic/86549-create-a-dir/#findComment-442237 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.