hi. I have denwer and there you can use 2 hosts 'localhost' and 'test1.ru'. I want to access 'test1.ru' from 'localhost' via ftp? I want to create some kind of daddy there.

$ftp=ftp_connect("test1.ru"); ftp_mkdir($ftp,"test!!!"); ошибка 

Warning: ftp_mkdir () expects parameter 1 to be resource, given in W: \ home \ localhost \ www \ index.php

 Прошу помощи. 
  • A couple of days ago I also worked on Denver, but they advised me to install the Open Server , I installed it, and now I am satisfied more than ever. Therefore, in your place I would also do :) - k0mar
  • one
    I want a lot of things, but my mother is asleep and I am silent ftp_connect () returned false, the reason may be largely do $ ftp = ftp_connect ("test1.ru") or die ("Failed to connect to $ ftp_server ($ php_errormsg) "); - zb '
  • Error Undefined variable: ftp_server - zloctb
  • but sorry, remove $ ftp_sever :) - zb '14
  • And the user is on the ftp-server ?? - chambo


0