Thanks for the help. I have been at this for days now. So far I have got the switch command to work to send out a email if the "case" is correct. I now want to have the CASE go to a ftp site or a URL.
Here is where I am at. Please any help is good help.
-----------------------------------------
$ftp_server = "MyFtpSite"; // after your input..thanks
$ftp_user = "myName@com";
$FTP_pass = "mypassword";
$conn_id = ftp_connect($ftp_server) or die("could not do it erich");
switch($attn1) {
case 'employees':
if (@ftp_login($conn_id, $ftp_user, $ftp_pass))
{
echo "you did it erich";
}
else {
echo "nice try erich";
}
break;
}