Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Would like to incorporate net2ftp
#2
ok, here is my advice:

ftp address: this is going to be the same for the whole server, so if this is just for you, you should manually set this in the net2ftp config.
username: this is going to be the same as the THT and cPanel/WHM username(the username they are logged in with), so you can fetch this with the"$_SESSION['cuser']" variable.
password: tht does not store the pass in the clear anywhere, as this would be a severe security risk, so your best bet is to use a $_POST w/password form/field and use it from that.
Nick - TheHostingTool Staff Coordinator

[Image: standard.png]

Reply


Messages In This Thread
Would like to incorporate net2ftp - by zbdblues - 11-09-2010, 06:30 AM
RE: Would like to incorporate net2ftp - by Nick - 11-09-2010, 02:34 PM
RE: Would like to incorporate net2ftp - by Kevin - 11-11-2010, 01:15 AM
RE: Would like to incorporate net2ftp - by Nick - 11-20-2010, 04:42 PM
RE: Would like to incorporate net2ftp - by Jonny - 12-19-2010, 01:43 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)