Hello, <[EMAIL PROTECTED]> wrote:
> I was not able to get php's ftp functions working for me, they were uploading zero byte files, so I am now attempting to use fsockopen to accomplish the task. > > I found this script: http://www.phpbuilder.com/mail/php-general/2001102/1333.php > > It uses the function: socket_set_blocking(), and php.net says that this is an alias for stream_set_blocking(). What does blocking mode mean? I am not familiar with this concept, can someone explain. > I think it's explained here. (Not sure if it'll help though...) http://www.php.net/manual/en/function.stream-set-blocking.php > As for the issue of socket_set_blocking() being an alias for stream_set_blocking(), why would I not just use stream_set_blocking? > The reason is also found above. (Hint: Because it may not be available in the version of php you are using.) - E -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php