Van professionele vertalers, bedrijven, webpagina's en gratis beschikbare vertaalbronnen.
this function allows explicitely resetting the error code value either of a socket or of the extension global last error code. this may be useful to detect within a part of the application if an error occured or not.
this may be useful to detect within a part of the application if an error occured or not.
socket_bind() は、 address で指定した名前を socket で指定したソケットにバインドします。 このソケットは、 socket() で作成した有効なソケッ ト記述子である必要があります。
socket_bind() binds the name given in address to the socket described by socket, which must be a valid socket resource created with socket_create().
as with any file or socket related function, an opperation on a stream may fail for a variety of normal reasons (i.e.: unable to connect to remote host, file not found, etc...). a stream related call may also fail because the desired stream is not registered on the running system. see the array returned by stream_get_wrappers() for a list of streams supported by your installation of php. as with most php internal functions if a failure occours an e_warning message will be generated describing the nature of the error.
?php / * read local file from / home / bar * / $localfile = file_get_contents( "/ home / bar / foo.txt"); / * identical to above, explicitly naming file scheme * / $localfile = file_get_contents("file: / //home / bar / foo.txt"); / * read remote file from www.example.com using http * / $httpfile = file_get_contents("http: / /www.example.com / foo.txt"); / * read remote file from www.example.com using https * / $httpsfile = file_get_contents("https: / /www.example.com / foo.txt"); / * read remote file from ftp.example.com using ftp * / $ftpfile = file_get_contents("ftp: / /user:pass@ftp.example.com / foo.txt"); / * read remote file from ftp.example.com using ftps * / $ftpsfile = file_get_contents("ftps: / /user:pass@ftp.example.com / foo.txt");?