RE: [PHP] Closing a FTP connection

2001-05-02 Thread Brandon Orther

The reason I ask is not for a way to close an ftp connection but because I
want to know if close closes it.

thank you

-Original Message-
From: Brandon Orther [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 02, 2001 12:53 PM
To: PHP User Group
Subject: [PHP] Closing a FTP connection


Hello,

I have recently been using the ftp functions in php to get a lot of stuff
done.  My question is when I exit; a php script does it close the ftp
connection for me?  I thought it would since the script is completely
closing also.

If anyone knows please let me know thanxZ

Brandon


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Closing a FTP connection

2001-05-02 Thread Henrik Hansen

Brandon Orther [EMAIL PROTECTED] wrote:

  Hello,
  
  I have recently been using the ftp functions in php to get a lot of stuff
  done.  My question is when I exit; a php script does it close the ftp
  connection for me?  I thought it would since the script is completely
  closing also.
  

I think it just drops the connection, little like doing a ctrl+c i
guess, the best practise is to use ftp_close() as you sould always
close a database connection too, so in short it's a matter of coding
pratcise and style. (at least i think so :)

-- 
Henrik Hansen


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]