RSS Forums RSS
Please support our PHP advertiser: Lunarpages PHP Web Hosting

How To Create A Free Web Host

Join Date: Jan 2005
Location: Sheffield, UK
Posts: 294
Reputation: zippee is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 6
zippee's Avatar
zippee zippee is offline Offline
Posting Whiz in Training

Re: How To Create A Free Web Host

  #4  
Sep 4th, 2005
Originally Posted by Ghost
The site will only host a few of my friend's site - no one else. I wanted to make it so when they sign up a directory is created that's password protected with their password. Is there a way to do this? If there is, could you tell me or show me a tutorial?
It will be very similar to my store2go.net site.
Create a php file that allow your friends to enter directory name, user name and password. Use mkdir function to create folder and (use fopen and fwrite) create .htpasswd file in the folder with their username and password. I never use .htpasswd so cannot comment.
Ecommerce-Web-Store.com Building Your e-Business.
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 6:09 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC