I am trying to use a switch statement and want the action to be log into a ftp server.
I am not able to get it to work...can anyone help?
here is what I have now....Thanks everyone in advance.
$ftp_server = "ftp://MyFtpSite.com";
$ftp_server = $employeeftp;
switch($attn1) { // this is from the other page
case 'employees': // case employees, it should take you to my ftp site
$conn_id = ftp_connect($employeeftp);
break;
}