Re: ftp functions not working

From: Date: Thu, 02 Sep 2004 17:05:50 +0000
Subject: Re: ftp functions not working
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-195611@lists.php.net to get a copy of this message
#!/usr/local/bin/php <? if (function_exists('ftp_connect')): print "cool\n"; else: print "damn\n"; endif; ?> output when ran: 'Damn' During the make I didn't see any errors. When I ran phpinfo() [http://www.randomthoughtprocess.com/info.php] it shows that I have FTP support. Is there something that I am missing?
The version of PHP you're running on the command-line may or may not be the same installation as the one used by Apache. Use the following to see what your CLI installation does or does not have enabled: php -r "phpinfo();" ---------------------------------------------------------------- michal migurski- contact info and pgp key:
sf/ca            http://mike.teczno.com/contact.html


« previous php.general (#195611) next »