11-09-2010, 02:34 PM
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.
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