How can I have a switch command send to a ftp site? I am trying this out in php.
Here is what I have. Instead of $to_email is there one for URL? Thanks everyone.
Erich

switch($attn1) {
case 'employees':
$to_email = "ftp://myftpsite@rgl-e.com";
break;

Recommended Answers

All 2 Replies

this sounds nice ....u r trying it in php....
and here is for c++......:confused:

How can I have a switch command send to a ftp site? I am trying this out in php.
Here is what I have. Instead of $to_email is there one for URL? Thanks everyone.
Erich

switch($attn1) {
case 'employees':
$to_email = "ftp://myftpsite@rgl-e.com";
break;

Thanks for your great feedback.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.