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.

Bidding Directory   1,000 Directory Submissions   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 10-05-2006, 11:20 AM   #1 (permalink)
Inactive
 
Join Date: 10-05-06
Location: East Chicago
Posts: 5
iTrader: 0 / 0%
Latest Blog:
None

firmemente is liked by many
PHP FOR FTP LOGIN

I want to let people login to their own specific folder(directory) from my website for uploading and downloading files. Each person has their own username and password.... I just want them to put username and password... and go straight to their directory. Is there a php code for that?
Any help will be greatly appreciated.
firmemente is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 10-05-2006, 12:01 PM   #2 (permalink)
Contributing Member
 
Izzmo's Avatar
 
Join Date: 11-01-03
Location: Kansas City
Posts: 1,007
iTrader: 0 / 0%
Latest Blog:
None

Izzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to behold
Send a message via ICQ to Izzmo Send a message via AIM to Izzmo Send a message via MSN to Izzmo Send a message via Yahoo to Izzmo
Yep, if you look at this here:

You can start at this function: http://us3.php.net/manual/en/feature...i.open-basedir

This function allows PHP to open a certain directory. From there you can learn how to open up files, edit them, upload, and then also login.
__________________
~Izzmo
ZeroWeb Hosting & Design - Customizable hosting for every type of user!
Izzmo is offline  
Add Post to del.icio.us
Reply With Quote
Old 10-05-2006, 12:47 PM   #3 (permalink)
Inactive
 
Join Date: 10-05-06
Location: East Chicago
Posts: 5
iTrader: 0 / 0%
Latest Blog:
None

firmemente is liked by many
<html>
<head>
<title>LOG-IN</title>
</head>

<body>

<form action="gotofolder.php" method="POST">
<p>Username<input name="username">
<p>Password<input name="password" type="password">
<p><input name="login" type="submit" value="login">
</form>

</body>
</html>

am i in the right track.... then i have to create the php code for gotofolder.php to be able to login to a specific folder. php is new to me

Last edited by firmemente : 10-05-2006 at 12:51 PM.
firmemente is offline  
Add Post to del.icio.us
Reply With Quote
Old 10-05-2006, 12:50 PM   #4 (permalink)
Contributing Member
 
Izzmo's Avatar
 
Join Date: 11-01-03
Location: Kansas City
Posts: 1,007
iTrader: 0 / 0%
Latest Blog:
None

Izzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to behold
Send a message via ICQ to Izzmo Send a message via AIM to Izzmo Send a message via MSN to Izzmo Send a message via Yahoo to Izzmo
I'm confused, what are you trying to show us?
__________________
~Izzmo
ZeroWeb Hosting & Design - Customizable hosting for every type of user!
Izzmo is offline  
Add Post to del.icio.us
Reply With Quote
Old 10-05-2006, 01:00 PM   #5 (permalink)
Inactive
 
Join Date: 10-05-06
Location: East Chicago
Posts: 5
iTrader: 0 / 0%
Latest Blog:
None

firmemente is liked by many
the script i have above is for login.html i created. with that.... i named the directory folder FIRME... the username is firmemente and the password is mentefirme. this is set up already. i would like to know how to write the php code to where the user types in firmemente and type the pass as mentefirme and takes the user to that folder where he can add content.

i hope i am not confusing you.

would the user have to type in firmemente@domainame.com and password as mentefirme

or

can they type firmemente and password as mentefirme
firmemente is offline  
Add Post to del.icio.us
Reply With Quote
Old 10-05-2006, 01:03 PM   #6 (permalink)
Contributing Member
 
Izzmo's Avatar
 
Join Date: 11-01-03
Location: Kansas City
Posts: 1,007
iTrader: 0 / 0%
Latest Blog:
None

Izzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to behold
Send a message via ICQ to Izzmo Send a message via AIM to Izzmo Send a message via MSN to Izzmo Send a message via Yahoo to Izzmo
What you would have to do is when they enter their username and password is put that into the function that logs the user into their directory (if necessary), and from there you just need to setup pages where they can see their files and edit them if they want to.
__________________
~Izzmo
ZeroWeb Hosting & Design - Customizable hosting for every type of user!
Izzmo is offline  
Add Post to del.icio.us
Reply With Quote
Old 10-05-2006, 01:30 PM   #7 (permalink)
Inactive
 
Join Date: 10-05-06
Location: East Chicago
Posts: 5
iTrader: 0 / 0%
Latest Blog:
None

firmemente is liked by many
still confused
firmemente is offline  
Add Post to del.icio.us
Reply With Quote
Old 10-05-2006, 01:35 PM   #8 (permalink)
Inactive
 
Join Date: 10-05-06
Location: East Chicago
Posts: 5
iTrader: 0 / 0%
Latest Blog:
None

firmemente is liked by many
this is the page i am working on.... www.universalmailing.com/login.html

at times people have to type in ftp://firmemente.universalmailing.co...salmailing.com

password as mentefirme to get inside their folder

i don't want that, its too long....

that is the purpose of my login.html where it eliminates all that and they type in the id and pass
firmemente 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
Secure Login rob7676 Coding Forum 9 03-13-2008 12:35 PM
help with login manager v3.0 php homeriscool Coding Forum 2 08-17-2007 08:36 AM
ASP.NET login help Limit Coding Forum 0 07-20-2005 07:15 AM
Site login and phpBB login SVB Coding Forum 13 08-02-2004 06:32 PM


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


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