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. -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php