Originally posted by Shroder
I appreciate the help but not the attitude.
I was thinking of using a database. So the username/password would not be hard coded into the script.
Thank you for the help.
okay so you store the username/password in a database. How does the script look it up?
If you are passing files from computer a to computer b via ftp, computer a must, MUST, MUST, MUST] log into coputer b. If that is't clear just remember that computer a must log into computer b.
So you're thinking of using php and a database.
So the php script will look up the log in information in a database. So if an unauthorized user visits that page it still looks it up in a database and connects them.
The only way to stop this is to password protect that page. And at that point you are still transmitting a username and password over the internet.
It is this simple either you do something that is totally insecure and allows anyone ftp access or you tgransmit the username and password in plaintext.
BTW: I'm not giving you attitude. Now what's with accusing me of diseminating misinformation just because I'm telling you (for the third time now) that you're wrong.