Forum Moderators: coopster
I set up a system a few weeks ago which allowed a directory to be created and populated upon an activation link been clicked.
This has worked fine for the past two weeks, yesterday somebody went to try it and got the following error message:
Warning: ftp_login(): Authentication failed ....
I've not touched the php code and nobody else has ftp access to update / amend or mess with the code, so am at a slight loss as to the cause.
Also no passwords / usernames have been altered i checked that, and as far as i am aware there hasn't been a upgrade to the php version my host currently runs.
The code that is causing the problem is
$login_result = ftp_login($conn_id, username, password);
the $conn_id code:
$conn_id = ftp_connect(ftp.mysite.net);
if anybody has any ideas then please let me know, but like i said all the above was working up till yesterday.
Thanks in advance,
Rob