PHP ftp_connect hiçbir şey yok

1 Cevap php

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.

Bu ekranda vb hataları, uyarıları görünmüyor ama "ftp_connect" hattından kod yürütme sadece durur.

Ne sorun gibi görünüyor?

1 Cevap

Sizin ev sahibi muhtemelen hata raporlama kapalı olup, raporlama hata açmayı denemek

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

dosyanızın üstüne, ya da kendi komut dosyası dizininde hatalar.log adlı bir dosya için kontrol edin.