Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Directory Submission Service   I Sell Pagerank   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 03-14-2006, 02:36 AM   #1 (permalink)
Inactive
 
Join Date: 03-14-06
Posts: 2
iTrader: 0 / 0%
Latest Blog:
None

Kenny Fix is liked by many
Directing specific users to a specific folder

Hi all

Hope someone can help...

I want to create a simple log in form on my site which takes users to a specific cPanel password protected directory. The form needs to recognise the user name and thus direct that specific user to a specific password protected folder (eg: if joe1 logs in with the correct password he will be taken to the password protected folder named 'joefolder1').

All the login/password details need to be entered directly into a form on my site rather than using the default browser username/password pop up in Internet Explorer.

Sorry if this is basic stuff but I have trawled the forums for a similar posting and can't find anything that helps me out.

Any pointers would be genuinely appreciated.

Thanks in advance.

Kenny.
Kenny Fix is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 03-19-2006, 03:16 AM   #2 (permalink)
Potato Monster
 
Immo's Avatar
 
Join Date: 03-26-04
Location: Chester, England
Posts: 3,869
iTrader: 0 / 0%
Immo is a web professional of the highest orderImmo is a web professional of the highest orderImmo is a web professional of the highest orderImmo is a web professional of the highest orderImmo is a web professional of the highest orderImmo is a web professional of the highest orderImmo is a web professional of the highest orderImmo is a web professional of the highest orderImmo is a web professional of the highest orderImmo is a web professional of the highest orderImmo is a web professional of the highest order
Send a message via ICQ to Immo Send a message via AIM to Immo Send a message via MSN to Immo Send a message via Yahoo to Immo Send a message via Skype™ to Immo
In the database that stores the usernames and passwords you could add another column that specifies the directory the person is forwarded to.

After you have done that you can then do something easy in php like this.

Assuming you use the sessions as detailed below, its like this, oh and the 1 on the logged in session means Yes.

<?php
if ($_Session['loggedin'] == "1") {
header ("Location: $data['forwarded directory out of database'];
}
?>

If you need a hand with it im sure if you post the login script then someone can help you.
__________________
I have become death, destroyer of worlds.
Immo is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-19-2006, 05:33 AM   #3 (permalink)
Inactive
 
Join Date: 03-14-06
Posts: 2
iTrader: 0 / 0%
Latest Blog:
None

Kenny Fix is liked by many
Immo... sincere thanks for this - i was hoping it would be something fairly simple along these lines so big thanks for taking the time to explain what i need to do.

Muchos Gracias.

Kenny.
Kenny Fix is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-19-2006, 07:57 AM   #4 (permalink)
Potato Monster
 
Immo's Avatar
 
Join Date: 03-26-04
Location: Chester, England
Posts: 3,869
iTrader: 0 / 0%
Immo is a web professional of the highest orderImmo is a web professional of the highest orderImmo is a web professional of the highest orderImmo is a web professional of the highest orderImmo is a web professional of the highest orderImmo is a web professional of the highest orderImmo is a web professional of the highest orderImmo is a web professional of the highest orderImmo is a web professional of the highest orderImmo is a web professional of the highest orderImmo is a web professional of the highest order
Send a message via ICQ to Immo Send a message via AIM to Immo Send a message via MSN to Immo Send a message via Yahoo to Immo Send a message via Skype™ to Immo
No probs, any other problems you know where to ask
__________________
I have become death, destroyer of worlds.
Immo is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question: How do I call specific CSS for ie? digitaloverlay Coding Forum 4 02-19-2008 08:25 PM
Looking for a traffic from specific area JustRetarded Marketing Forum 1 03-16-2007 08:03 AM
When I have no specific question to ask...... Batch Forum Lobby 18 12-29-2006 12:00 PM
mod_rewrite for specific url Gabriel Coding Forum 0 04-19-2004 12:48 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 03:28 PM.
© Copyright 2008 V7 Inc

Click Here