I apologize for this question but I was hoping somebody here but have a suggestion. I have had a terrible time with Network Solutions and I am very frusterated.
Here is the condensed version of my problem: I created a site for a client using PHP on another site (go daddy). The code uses FTP within PHP. Works great on the other site. I moved the site over to NS and the FTP portion of the code stopped working.
To remove any complexity to the problem, I wiped my code out and created a single php file that tries to connect to an FTP site, get a dir listing, and log out. Honestly, that simple (See my code at the end.)
When I run this script on NS I get an error that the operation timed out and the domain name could not be found. I have tried ftp.funet.fi, ftp.microsoft.com, ftp.networksolutions.com, etc... No matter what domain name I stick in there it just times out like it can't resolve the name.
Same coded tested on three different hosting sites (go daddy, a plus, etc...) works great.
I called NS and I get this "We don't troubleshoot scripts" but I am not sure what else to try. They suggestion either the code is bad or the php.ini file is bad. So I look at their temp php.ini file which seems fine, I also copy the same php.ini file from the other sites to test in series to see if that works. Nothing changes, it times out like it can't resolve the name.
So, I replace the name with the IP addresses of different sites (including NS's) same thing.
Can any of you think of something I might have missed? I teach CS but I would be the first to admit that I do not know everything. I cannot think of anything else to try given my results with these other hosting sites.
My theory is that there is something on their server that is preventing this from working. I had to threaten to remove the site, the account, and post my issue on other sites for them to escalate the problem.
I was hoping somebody here might have a suggestion.
Thanks for reading!
-P
$host = 'ftp.funet.fi';
$usr = 'ftp';
$pwd = 'me@here.com';
$conn_id = ftp_connect($host, 21) or die ("Cannot connect to host");
ftp_login($conn_id, $usr, $pwd) or die("Cannot login");
$buff = ftp_rawlist($conn_id, '/');
ftp_close($conn_id);
var_dump($buff);
?>