Reply to ftp_nlist dont work for me :(

Your name:

Reply:


Posted by Erik Gyepes on 08/29/05 13:22

Hi folks!

I have compiled PHP 5.0.4 at my Slackware machine at home, I have the
FTP support enable and I trying connect to the FTP with this little scritp:

<?php
$connect = ftp_connect("ftp.slackware.at") or die("Couldn't connect to ftp server");
$login = ftp_login($connect,"anonymous","email@adress.com") or die("Couldn't login to ftp server");

$ftp_dir = ftp_pwd($connect) or die("error ftp dir");
$fileArray = ftp_nlist($connect,$ftp_dir) or die("error file array");

echo var_dump($fileArray);
?>

And I always get: error file array, so there is problem with the ftp_nlist I think.
But the sripts work well at my webhosting, but It dont get work it at home at my machine.
May I enable something in PHP? Some settings, or what?

Thanks very much.

Erik Gyepes

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация