Current location: Hot Scripts Forums » General Community » Script Requests » PHP Login Script for Multi Domain


PHP Login Script for Multi Domain

Reply
  #1 (permalink)  
Old 03-05-06, 05:15 PM
kamikaze kamikaze is offline
New Member
 
Join Date: Mar 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
PHP Login Script for Multi Domain

Dear All

I'm new to the forum and a newbie in general. I have five domain names in single package shared hosting and cPanel only my access. The other four domain will be parked via cPanel. My problem is I wanna protect my main page using .htpasswd so that only privilleg user can viewing my site.

Lets say my all domain are :

www.php.com
www.asp.com
www.htm.com
www.css.com
www.jsp.com


But its only for one domain (first domain/www.php.com) NOT for 2nd, 3rd, 4th and 5th domain. So when a visitor open www.php.com then he/she will prompting a username/password box and if correct he/she will be redirected to the site (php.com) But when visitor open my other four domains, the password box will not appear and the visitor can viewing my site using each domain name !

I've tried that using .htpasswd but still can't work, so i think its can be done using php login script (without sql), but I dont know how to make it (I'm sorry)

So please give me help or advice, thanks alot
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for a simple PHP login/register script Wheeler Script Requests 2 07-27-05 12:30 PM
Login Script problem Justin171985 Script Requests 0 07-02-05 12:10 AM
changings in showing results in php script korro PHP 6 11-20-04 11:54 AM
trying to create my first simple (?) php script, need guidance HotShotPhoto PHP 1 09-06-04 08:12 PM
HELP! Php to login to HTACCESS? godfather PHP 4 03-06-04 12:03 AM


All times are GMT -5. The time now is 11:55 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.