Re: return from ftp_site ()

From: Date: Mon, 19 Aug 2002 04:04:46 +0000
Subject: Re: return from ftp_site ()
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-87050@lists.php.net to get a copy of this message
On Mon, Aug 19, 2002 at 01:21:18AM +0200, Bjoern Frantzen wrote : > Is there a reason that the function ftp_site only returns a bool value and > not the output from the command? > > bool ftp_site ( resource ftp_stream, string cmd ) > > Will a patch that changes this behaviour be accepted? If we return 0/false > on error this shouldn't break any applications I think. I'ld rather see an optional parameter which acts as an I/O parameter which receives the output of the command (if it's all that important anyway). That way we will have no BC concerns and can move on. - Markus -- GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc "Finally, if someone actually flying a plane is relying on a freakin' webcam to land, we're all in trouble." - A /. poster.

« previous php.dev (#87050) next »