php-internal-docs 8.4.8
Unofficial docs for php/php-src
|
#include "php.h"
#include "php_globals.h"
#include "php_streams.h"
#include "php_network.h"
#include "php_ini.h"
#include "ext/standard/basic_functions.h"
#include "zend_smart_str.h"
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/param.h>
#include "php_standard.h"
#include <netinet/in.h>
#include <netdb.h>
#include "php_fopen_wrappers.h"
Go to the source code of this file.
Data Structures | |
struct | _php_stream_http_response_header_info |
Macros | |
#define | HTTP_HEADER_BLOCK_SIZE 1024 |
#define | HTTP_HEADER_MAX_LOCATION_SIZE 8182 /* 8192 - 10 (size of "Location: ") */ |
#define | PHP_URL_REDIRECT_MAX 20 |
#define | HTTP_HEADER_USER_AGENT 1 |
#define | HTTP_HEADER_HOST 2 |
#define | HTTP_HEADER_AUTH 4 |
#define | HTTP_HEADER_FROM 8 |
#define | HTTP_HEADER_CONTENT_LENGTH 16 |
#define | HTTP_HEADER_TYPE 32 |
#define | HTTP_HEADER_CONNECTION 64 |
#define | HTTP_WRAPPER_HEADER_INIT 1 |
#define | HTTP_WRAPPER_REDIRECTED 2 |
#define | HTTP_WRAPPER_KEEP_METHOD 4 |
#define | _UA_HEADER "User-Agent: %s\r\n" |
#define | CHECK_FOR_CNTRL_CHARS(val) |
Typedefs | |
typedef struct _php_stream_http_response_header_info | php_stream_http_response_header_info |
Functions | |
php_stream * | php_stream_url_wrap_http (php_stream_wrapper *wrapper, const char *path, const char *mode, int options, zend_string **opened_path, php_stream_context *context STREAMS_DC) |
Variables | |
PHPAPI const php_stream_wrapper | php_stream_http_wrapper |
#define _UA_HEADER "User-Agent: %s\r\n" |
#define HTTP_HEADER_AUTH 4 |
Definition at line 75 of file http_fopen_wrapper.c.
#define HTTP_HEADER_BLOCK_SIZE 1024 |
Definition at line 70 of file http_fopen_wrapper.c.
#define HTTP_HEADER_CONNECTION 64 |
Definition at line 79 of file http_fopen_wrapper.c.
#define HTTP_HEADER_CONTENT_LENGTH 16 |
Definition at line 77 of file http_fopen_wrapper.c.
#define HTTP_HEADER_FROM 8 |
Definition at line 76 of file http_fopen_wrapper.c.
#define HTTP_HEADER_HOST 2 |
Definition at line 74 of file http_fopen_wrapper.c.
Definition at line 71 of file http_fopen_wrapper.c.
#define HTTP_HEADER_TYPE 32 |
Definition at line 78 of file http_fopen_wrapper.c.
#define HTTP_HEADER_USER_AGENT 1 |
Definition at line 73 of file http_fopen_wrapper.c.
#define HTTP_WRAPPER_HEADER_INIT 1 |
Definition at line 81 of file http_fopen_wrapper.c.
#define HTTP_WRAPPER_KEEP_METHOD 4 |
Definition at line 83 of file http_fopen_wrapper.c.
#define HTTP_WRAPPER_REDIRECTED 2 |
Definition at line 82 of file http_fopen_wrapper.c.
#define PHP_URL_REDIRECT_MAX 20 |
Definition at line 72 of file http_fopen_wrapper.c.
php_stream * php_stream_url_wrap_http | ( | php_stream_wrapper * | wrapper, |
const char * | path, | ||
const char * | mode, | ||
int | options, | ||
zend_string ** | opened_path, | ||
php_stream_context *context | STREAMS_DC ) |
Definition at line 1187 of file http_fopen_wrapper.c.
PHPAPI const php_stream_wrapper php_stream_http_wrapper |
Definition at line 1237 of file http_fopen_wrapper.c.