开发者

PHP ftp_connect does nothing

I've configured a couple of php codes that connects to my server with the use of ftp connect. It works perfectly when I'm testing it locally, it connects, it goes in, i can access stuff. BUT when I upload it online and try it there. The php code does nothing. It executes all lines before "ftp_connect" then from that line onwards, it doesn't get processed.

It doesn't开发者_高级运维 show any errors, warnings, etc on screen but the code execution from the line of "ftp_connect" just stops.

What seems to be the problem?


Your host probably has error reporting turned off, try turning on error reporting with

ini_set('display_errors',1);
error_reporting(E_ALL|E_STRICT);

at the top of your file, or check for a file called error_log in the directory of your script.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜