diff --git a/language/context/ftp.xml b/language/context/ftp.xml index 62c643cb56..b86be96802 100644 --- a/language/context/ftp.xml +++ b/language/context/ftp.xml @@ -1,17 +1,17 @@ - - + - گزینه‌های متن FTP - فهرست گزینه‌های متن FTP + FTP context options + FTP context option listing &reftitle.description; - گزینه‌های متن برای ftp:// و ftps://. + Context options for ftp:// and ftps:// + transports. @@ -26,11 +26,11 @@ - اجازه بازنویسی فایل‌های موجود را در سرور دور می‌دهد. - تنها برای حالت نوشتن صادق است. + Allow overwriting of already existing files on remote server. + Applies to write mode (uploading) only. - مقدار پیشفرض &false;. + Defaults to &false;. @@ -41,10 +41,10 @@ - آفست فایل که در شروع انتقال استفاده می‌شود. به حالت خواندن مربوط است (دریافت). + File offset at which to begin transfer. Applies to read mode (downloading) only. - مقدار پیشفرض 0 (شروع فایل). + Defaults to 0 (Beginning of File). @@ -55,8 +55,8 @@ - درخواست پروکسی FTP از طریق پروکسی سرور http. تنها به عملیات خواندن فایل صادق است.مثال: - tcp://squid.example.com:8000. + Proxy FTP request via http proxy server. Applies to file read + operations only. Ex: tcp://squid.example.com:8000. @@ -79,13 +79,13 @@ 5.1.0 - proxy اضافه شد. + Added proxy. 5.0.0 - overwrite و resume_pos اضافه شد. + Added overwrite and resume_pos. @@ -97,14 +97,14 @@ &reftitle.notes; - گزینه‌های متن جریان سوکت زیرین + Underlying socket stream context options - گزینه‌های بیشتر متن پشتیبانی شده در - انتقال زیرین - برای جریان‌های ftp:// به گزینه‌های انتقال tcp:// - مراجعه کنید. برای جریان‌های - ftps:// به گزینه‌های متن برای - انتقال ssl:// مراجعه کنید. + Additional context options may be supported by the + underlying transport + For ftp:// streams, refer to context + options for the tcp:// transport. For + ftps:// streams, refer to context options + for the ssl:// transport. diff --git a/language/context/http.xml b/language/context/http.xml index c8e97296a9..090efb34a4 100644 --- a/language/context/http.xml +++ b/language/context/http.xml @@ -1,18 +1,17 @@ - - + - گزینه‌های متن HTTP - فهرست گزینه‌های متن HTTP + HTTP context options + HTTP context option listing &reftitle.description; - گزینه‌های متن برای http:// و https:// - . + Context options for http:// and https:// + transports. @@ -27,11 +26,11 @@ - GET٬ POST٬ یا - هر متد دیگر HTTP پشتیبانی شده در سرور دور. + GET, POST, or + any other HTTP method supported by the remote server. - مقدار پیشفرض GET. + Defaults to GET. @@ -42,9 +41,10 @@ - سرآیند‌های اضافی در طول درخواست. مقادیر در این گزینه هر مقدار دیگری را بازنویسی خواهد کرد (مانند - User-agent:٬ Host:٬ - و Authentication:). + Additional headers to be sent during request. Values + in this option will override other values (such as + User-agent:, Host:, + and Authentication:). @@ -55,13 +55,14 @@ - مقدار فرستاده شده با سرآیند User-Agent:. این مقدار استفاده خواهد - شد اگر user-agent در گزینه متن header بالا تعیین نشده باشد. + Value to send with User-Agent: header. This value will + only be used if user-agent is not specified + in the header context option above. - بطور پیشفرض تنظیمات &php.ini; برای + By default the user_agent - استفاده می‌شود. + &php.ini; setting is used. @@ -72,8 +73,8 @@ - اطلاعات اضافی پس از سرآیند فرستاده خواهد شد. عموما با درخواستذهای - POST یا PUT استفاده خواهد شد. + Additional data to be sent after the headers. Typically used + with POST or PUT requests. @@ -84,7 +85,7 @@ - URI تعیین کننده آدرس پروکسی سرور. (مانند + URI specifying address of proxy server. (e.g. tcp://proxy.example.com:5100). @@ -96,12 +97,14 @@ - زمانی که برابر با &true; باشد تمام URI هنگام ساختن درخواست استفاده خواهد شد. (مانند + When set to &true;, the entire URI will be used when + constructing the request. (i.e. GET http://www.example.com/path/to/file.html HTTP/1.0). - در حالی که این درخواست استاندارد نیست بعضی سرورهای پروکسی به آن نیاز دارند. + While this is a non-standard request format, some + proxy servers require it. - مقدار پیشفرض &false;. + Defaults to &false;. @@ -112,10 +115,11 @@ - تعداد بیشترین تغییر مسیرهای پی در پی. مقدار 1 یا کمتر اجازه تغییر مسیرهای پی در پی را نخواهد داد. + The max number of redirects to follow. Value 1 or + less means that no redirects are followed. - بصورت پیشفرض 20. + Defaults to 20. @@ -126,10 +130,10 @@ - نسخه پروتکل HTTP. + HTTP protocol version. - مقدار پیشفرض 1.0. + Defaults to 1.0. @@ -140,13 +144,13 @@ - ثانیه‌های زمان سپری شده را به ثانبه می‌خواند که توسط یک float مشخص می‌شود - (مانند 10.5). + Read timeout in seconds, specified by a float + (e.g. 10.5). - بصورت پیشفرض تنظیمات &php.ini; برای + By default the default_socket_timeout - استفاده می‌شود. + &php.ini; setting is used. @@ -157,10 +161,10 @@ - دریافت متن حتی برای کدهای خطا. + Fetch the content even on failure status codes. - مقدار پیشفرض &false; + Defaults to &false; @@ -183,29 +187,29 @@ 5.3.0 - ignore_errors اضافه شد. - + Added ignore_errors. + 5.2.1 - timeout اضافه شد. - + Added timeout. + 5.1.0 - پروکسی HTTPS از طریق پروکسی HTTP اضافه شد. + Added HTTPS proxying through HTTP proxies. 5.1.0 - max_redirects اضافه شد. - + Added max_redirects. + 5.1.0 - protocol_version اضافه شد. + Added protocol_version. @@ -218,7 +222,7 @@ &reftitle.examples; - دریافت یک صفحه و ارسال اطلاعات POST + Fetch a page and send POST data &reftitle.notes; - گزینه‌های متن جریان زیرین سوکت + Underlying socket stream context options - گزینه‌های متن اضافی ممکن است توسط - زیرساختار انتقال - برای جریان‌های http:// ارجاع دهنده به گزینه‌های متن برای انتقال - tcp:// استفاده شود. برای جریان‌های - https:// به گزینه‌های متن برای انتقال ssl:// ارجاع کنید. + Additional context options may be supported by the + underlying transport + For http:// streams, refer to context + options for the tcp:// transport. For + https:// streams, refer to context options + for the ssl:// transport. diff --git a/language/context/parameters.xml b/language/context/parameters.xml index 7e50183b29..681f611611 100644 --- a/language/context/parameters.xml +++ b/language/context/parameters.xml @@ -1,18 +1,17 @@ - - + - پارامترهای متن - فهرست پارامترهای متن + Context parameters + Context parameter listing &reftitle.description; - این parameters می‌توانند در یک context - با استفاده از تابع stream_context_set_params تعیین گردند. + These parameters can be set on a context + using the stream_context_set_params function. @@ -27,10 +26,10 @@ - یک callback در حین یک رویداد در طول جریان ایجاد می‌شود. + A callback to be called when an event occurs on a stream. - stream_notification_callback را برای جزئیات بیشتر ببینید. + See stream_notification_callback for more details. diff --git a/language/context/socket.xml b/language/context/socket.xml index 5957f5547d..0be416a998 100644 --- a/language/context/socket.xml +++ b/language/context/socket.xml @@ -1,18 +1,17 @@ - - + - گزینه‌های متن Socket - فهرست گزینه متن Socket + Socket context options + Socket context option listing &reftitle.description; - گزینه‌های متن Socket برای تمام پوشاننده‌ٰهای سوکت قابل استفاده هستند مانند tcp٬ - http و + Socket context options are available for all wrappers that work over + sockets, like tcp, http and ftp. @@ -25,15 +24,16 @@ bindto - برای تعیین آدرس IP (هر یک از IPv4 یا IPv6) و/یا شماره پورت مورد استفاده PHP برای شبکه. دستور آن - ip:port است. - تنظیم IP یا پورت 0 به سیستم امکان انتخاب - IP و/یا پورت را می‌دهد. + Used to specify the IP address (either IPv4 or IPv6) and/or the + port number that PHP will use to access the network. The syntax + is ip:port. + Setting the IP or the port to 0 will let the system + choose the IP and/or port. - FTP با ساختن دو سوکت اتصال در طول عملیات معمول نمی‌تواند شماره - پورت را با این گزینه تعیین نماید. + As FTP creates two socket connections during normal operation, + the port number cannot be specified using this option. @@ -57,7 +57,7 @@ 5.1.0 - bindto اضافه شد. + Added bindto. @@ -70,7 +70,7 @@ &reftitle.examples; - نمونه اصلی استفاده از <parameter>bindto</parameter> + Basic <parameter>bindto</parameter> usage example - - + - گزینه‌های متنSSL - فهرست گزینه‌های متن SSL + SSL context options + SSL context option listing &reftitle.description; - گزینه‌های متن برای انتقالات ssl:// و tls://. + Context options for ssl:// and tls:// + transports. @@ -26,10 +26,10 @@ - نیازمند تایید گواهینامه SSL. + Require verification of SSL certificate used. - بصورت پیشفرض &false;. + Defaults to &false;. @@ -40,10 +40,10 @@ - امکام گواهینامه‌های خودامضا. + Allow self-signed certificates. - بصورت پیش‌فرض &false; + Defaults to &false; @@ -54,9 +54,9 @@ - مکان فایل تایید هویت در سیستم فایل محلی به همراه - گزینه متن verify_peer - برای تایید هویت نقطه دور استفاده می‌شود. + Location of Certificate Authority file on local filesystem + which should be used with the verify_peer + context option to authenticate the identity of the remote peer. @@ -67,9 +67,10 @@ - اگر cafile تعیین نشده باشد یا اگر گواهینامه یافت نشود دایرکتوری اشاره شده - با capath جستجو می‌گردد تا گواهینامه لازم یافت شود. capath - باید یک دایرکتوری درهم‌سازی شده گواهینامه باشد. + If cafile is not specified or if the certificate + is not found there, the directory pointed to by capath + is searched for a suitable certificate. capath + must be a correctly hashed certificate directory. @@ -80,9 +81,9 @@ - مسیر فایل گواهینامه محلی در سیستم فایل. باید یک فایل کدگذاری شده PEM - شامل گواهینامه شما و کلید خصوصی را شامل باشد. - می‌تواند بصورت اختیاری شامل زنجیره صادرکنندگان گواهینامه هم باشد. + Path to local certificate file on filesystem. It must be a PEM + encoded file which contains your certificate and private key. + It can optionally contain the certificate chain of issuers. @@ -93,7 +94,8 @@ - Passphrase که با آن فایل local_cert کدگذاری گردیده است. + Passphrase with which your local_cert file + was encoded. @@ -104,8 +106,9 @@ - اسامی معمول را ما انتظار داریم. PHP تنها تعداد محدودی تطبیق انجام می‌دهد. - اگر اسامی معمول تطبیق نداشتند این تلاش برای اتصال شکست خواهد خورد. + Common Name we are expecting. PHP will perform limited wildcard + matching. If the Common Name does not match this, the connection + attempt will fail. @@ -116,7 +119,7 @@ - اگر زنجیره گواهینامه سنگین بود پایان بده. + Abort if the certificate chain is too deep. Defaults to no verification. @@ -130,11 +133,11 @@ - فهرست رمزنگاری موجود را تعیین می‌نماید. قالب رشته توسط - ciphers(1) تعیین شده است. + Sets the list of available ciphers. The format of the string is described + in ciphers(1). - بصورت پیشفرض DEFAULT. + Defaults to DEFAULT. @@ -145,8 +148,8 @@ - اگر برابر با &true; باشد یک گزینه متن peer_certificate شامل گواهینامه نقطه را - خواهد ساخت. + If set to &true; a peer_certificate context option + will be created containing the peer certificate. @@ -157,7 +160,8 @@ - اگر برابر با&true; باشد یک گزینه متن peer_certificate_chain شامل زنجیره گواهینامه ساخته خواهد شد. + If set to &true; a peer_certificate_chain context + option will be created containing the certificate chain. @@ -180,9 +184,9 @@ 5.0.0 - capture_peer_cert٬ - capture_peer_chain و - ciphers را اضافه نمود. + Added capture_peer_cert, + capture_peer_chain and + ciphers. @@ -195,11 +199,11 @@ &reftitle.notes; - بدلیل زیرساختار بودن ssl:// برای پوشاننده‌های - https:// و - ftps:// هر گزینه متن - برای ssl:// در مورد - https:// و ftps:// نیز صادق است. + Because ssl:// is the underlying transport for the + https:// and + ftps:// wrappers, + any context options which apply to ssl:// also apply to + https:// and ftps://.