Re: ftp_chdir notice error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 14-02-15 02:46 PM, Ron Piggott wrote:

I am using the result of “ ftp_chdir “ to know if the directory exists or not.  If the result is “false” then I make the directory:



However when the result is ‘false’ a PHP warning is created:  “ PHP Warning:  ftp_chdir(): Failed to change directory “  How can I avoid this warning?
Use the function file_exists.

--
Stephen


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux