Forum Moderators: coopster
When I use ftp_login() I get message "Warning: ftp_login()...". How can I suppress that message? I only want to check returned result (TRUE or FALSE).
I tried to use fsockopen/fputs/fgets, but I don't know all that codes returned in a response ("220 ... FTP ...").
Any help would be appreciated. Thank
@ftp_login()
do the trick? The @ character suppresses error (but i'm not sure about warnings (if there's a difference)) messages generated within a PHP library function.
Also see:
[php.net...]
Hope this helps!