CaRP: Caching RSS Parser - Documentation
CaRP Interactive FAQ
Getting Started: Free Download | Purchase | Install
Reference: Functions | Plugins | Themes | Full Index
Etc.: Display Formatting | Example Code | Affiliates
Getting Started: Free Download | Purchase | Install
Reference: Functions | Plugins | Themes | Full Index
Etc.: Display Formatting | Example Code | Affiliates
CarpRequestHeader( name, value=false );
Tells CaRP to send an HTTP request header when loading a feed from a webserverEvolution | LE | Koi | SE |
>=4.1 | n/a | n/a | n/a |
Note that the following request headers are specified using different methods, or cannot be changed:
- Host
- Accept
- Authorization
- Proxy-Authorization
- If-None-Match
- If-Modified-Since
- User-Agent
- Connection
- name: The name of the header.
- value: The value of the header. If this argument is omitted or is set to false (not in quotes), a previously set header will be removed.
Return value: none
Usage Example:
<?php require_once '/home/geckotribe/carp/carp.php'; CarpRequestHeader('Accept-Language','en'); CarpCacheShow('http://example.com/blog/feed/'); ?>