Website Babble Webmaster Forums  
  #1 (permalink)  
Old 02-16-2008, 02:03 PM
Junior Babbler
 
Join Date: Feb 2008
Posts: 4
c[[]] has a few positive reputation points
Default embedded ftp login box

Greetings everyone! I am sort of new to this. Not totally but i am definately more of a hack. i don't really know about the functionality of web pages but am more driven by the look and hyper links. if i click it and it takes me to the right page i am happy. having said all of that here is my attempt so far (it is a purchased template and i am filling in the blanks)
www.rmt-corp.com
my questions is that i need some help coding the ftp login box. we have many clients and i would like them to be able to go to our site to login to the ftp site. this will let them see any news we may be displaying as well as stop us from emailing a link like we currently do. i have searched for this code and found various version of it but when i look at the html code for my page i get lost pretty quick. if someone would be willing to help just code it for my page specifically i would be eternally greatful. maybe we could work out a per code price TIA!!
Reply With Quote
  #2 (permalink)  
Old 02-16-2008, 02:03 PM
Junior Babbler
 
Join Date: Feb 2008
Posts: 4
c[[]] has a few positive reputation points
Default

more...
if you go to the link www.rmt-corp.com you will see an ftp login box on the right of the page. i just need to know how to code that for my situation. i have found sites like this

http://javascript.internet.com/navig...ess-login.html
and
http://www.memberclicks.com/support/addlogin.html

that has copy and paste code but it isnt specific to my particular page. i just need someone to put the correct code in my page to make it login to my ftp site via the correct log on and password or tell me how to do it. make better sense? thanks!
Reply With Quote
  #3 (permalink)  
Old 02-18-2008, 11:25 AM
DotComBot's Avatar
Master Babbler
 
Join Date: Feb 2008
Location: Fort Collins, CO
Posts: 151
DotComBot has a few positive reputation points
Default

Hello C[[]], that's difficult to pronounce

I can help you out but I need to know what you are trying to do - specifically. You stated that you want and ftp login box. The login box on your site is not that. It is a regular login box (umm...parts of one ) that will allow someone to log in and be redirected to a specific page if successful. Is this what you want?
An ftp login box would allow users with a successful login to access everything on your site's back end, files, security, etc. and upload files, change pages, and basically have the run of your sites control. I'm not sure that is what you are looking for.
If a regular login box (that redirects to a specific page) is what you are looking for, it's relatively easy and I can send you code for that. The box that you have up there now uses the "post" method to check the password. That is a php function and requires a database be set up with query strings. That is a whole other ball of wax, so to speak. Also the "lost password" simply opens the user's email client to send a request as if the passwords were assigned and not chosen.
I can help but I need to know exactly what your trying to do. You have code related to that login box with, basically, three different types of form methods.
Help me help you.
__________________
Roger - "Bot"

DotComBot.com

I started with nothing and still have most of it...
Reply With Quote
  #4 (permalink)  
Old 02-18-2008, 11:44 AM
Junior Babbler
 
Join Date: Feb 2008
Posts: 4
c[[]] has a few positive reputation points
Default

c[[]] = beer mug as i am a beeradvocate
http://beeradvocate.com/

the back story is this:
that is a template i purchased for our company. the login box as i understand it now is for htaccess? maybe maybe not. this is what i am looking for functionality wise http://www.a1javascripts.com/utiliti.../ftplogin.html but i want it to look like what i have on the site now. and in the example it has an ftp field. i would want that hidden because it will take the client directly to their folder. we have one ftp site. a client gets a logon name and a password to a folder that only they can access (except for me being the admin) isn't there a way to have them enter a logon and password hit the login button and it takes them to that particular folder? as far as the lost password i changed the code to just a hyperlink to request from me their password but if is intended to be automatic via a database than by golly thats awesome!

the answer i am looking for is for someone to code the box for me, show me what to copy and where to paste it on all the other pages on the site. i can provide all the ftp info etc to get it going. thanks for your help.
Reply With Quote
  #5 (permalink)  
Old 02-18-2008, 12:30 PM
DotComBot's Avatar
Master Babbler
 
Join Date: Feb 2008
Location: Fort Collins, CO
Posts: 151
DotComBot has a few positive reputation points
Default

ahh - beer, got it! (I'm an old guy )

One more question then, are each of your clients going to be accessing the same folder or a different one for each client?

.htaccess is a server-side (write) permission script for php/mysql so it was initially set up for php sign-in. That can be done but it's relatively complicated script and set-up.

Does your server have access protection for individual folders? What I mean is: can you password protect a certain folder (through your server admin panel) to not make it public and give only password access? If you do it would be very easy to simply give each client the url address of their particular page and assign a password through your server so that only they can view it. This would all be done on the server side, no scripts for you. Would that be an option?
__________________
Roger - "Bot"

DotComBot.com

I started with nothing and still have most of it...
Reply With Quote
  #6 (permalink)  
Old 02-18-2008, 12:56 PM
Junior Babbler
 
Join Date: Feb 2008
Posts: 4
c[[]] has a few positive reputation points
Default

That is currently what we do via email. it is a link that has the password and logon in the link. not very secure and we are moving towards government and aerospace markets so this was is not going to be allowed in those markets.

yes each customer gets a log on and password to go to their folder only. not one customer can see any other folder. we are ftp hosted by earthlink. here is an example of a link we send and an actual folder:
ftp://copeland.rmt-corp.com:copeland...earthlink.net/
Reply With Quote
  #7 (permalink)  
Old 02-18-2008, 01:48 PM
DotComBot's Avatar
Master Babbler
 
Join Date: Feb 2008
Location: Fort Collins, CO
Posts: 151
DotComBot has a few positive reputation points
Default

Well, here's the easy way. Inside the zip folder is a php script which does not require mysql access nor ftp (all that fancy stuff) It has an input box for the password and checks that in the script. If the password is correct it will show the protected contents, if not it asks for the password again. You would have to physically set up each folder or link and apply the php to each, but once it is set up, the passwords don't change unless you change them and you only need to change whatever the link or protected content happens to be. If you use a link you would simply have to change the content in that spot. That would probably be the easiest way. If you want user names and all that jazz, a mysql database will have to be set up with php scripting. This way is free. Just give each client their own link to their own copy of this php file with their password in it and get rid of the box on your home page altogether. That can be set up in the same manner, so to speak, if you choose to do so.
I'm making it sound confusing, sorry, open up the readme text in the zip and it's fairly simple.
Anyone else may feel free to use this for anything as well.
__________________
Roger - "Bot"

DotComBot.com

I started with nothing and still have most of it...
Reply With Quote
  #8 (permalink)  
Old 02-18-2008, 02:00 PM
DotComBot's Avatar
Master Babbler
 
Join Date: Feb 2008
Location: Fort Collins, CO
Posts: 151
DotComBot has a few positive reputation points
Default

I can't upload a zip file that is 1.3kb?? Ok, here you go:

http://dotcombot.com/php_password.zip

If that doesn't work, let me know.
__________________
Roger - "Bot"

DotComBot.com

I started with nothing and still have most of it...
Reply With Quote
  #9 (permalink)  
Old 02-18-2008, 06:04 PM
DotComBot's Avatar
Master Babbler
 
Join Date: Feb 2008
Location: Fort Collins, CO
Posts: 151
DotComBot has a few positive reputation points
Default

Here you go. It doesn't have the readme.txt, that was just too much.

Read Me

Edit the index.php file and change the password to suit,

Add the content you want to have protected in the correct section which is fully marked. This can be the entire page or a link to the page or folder you want protected.

Upload the file to your web server and then point your browser to the uploaded file and try it out.

Hope that helps.
__________________
Roger - "Bot"

DotComBot.com

I started with nothing and still have most of it...

Last edited by DotComBot; 03-24-2008 at 11:02 PM.
Reply With Quote
  #10 (permalink)  
Old 02-18-2008, 06:15 PM
lisa's Avatar
Administrator
 
Join Date: Apr 2007
Location: Dallas, TX
Posts: 3,805
lisa is the Admin and cannot be rated.
Default

Quote:
Originally Posted by DotComBot View Post
I can't upload a zip file that is 1.3kb?? Ok, here you go:

http://dotcombot.com/php_password.zip

If that doesn't work, let me know.
I need to adjust that upload limit, the default is ridiculous.

DotComBot, you are awesome with your advice!
__________________
Don't put the cart before the horse.
Plan your website, then create it.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 Create a Website | 2 Create a Website Blog
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Recent Blog Posts...

10 Reasons You Should Be YouTub-ing
Is Google AdSense Dead?
Ever Run Out of Blog Topics?
Reply With Quote
  #11 (permalink)  
Old 02-18-2008, 06:34 PM
DotComBot's Avatar
Master Babbler
 
Join Date: Feb 2008
Location: Fort Collins, CO
Posts: 151
DotComBot has a few positive reputation points
Default

Aw, shucks, Thanks.

Me and computers get along fine, it's the human interaction I have trouble with Computers are predictable. (Well, normally...)
__________________
Roger - "Bot"

DotComBot.com

I started with nothing and still have most of it...
Reply With Quote
Reply

Bookmarks

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 06:43 PM.



WB Sponsors

Profit Lance Review

Work At Home Jobs

Houston Web Design



 Subscribe to the Website Babble Feeds

2 Create a Website Homepage | 2 Create a Website Blog


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0