CaRP Evolution Documentation
CaRP Evolution Documentation
twitter youtube linkedin google-plus
CaRP Evolution Box
Web This Site

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

CarpRequestHeader( name, value=false );

Tells CaRP to send an HTTP request header when loading a feed from a webserver
EvolutionLEKoiSE
>=4.1n/an/an/a
Description:
Note that the following request headers are specified using different methods, or cannot be changed: Arguments:
  1. name: The name of the header.
  2. 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/');
?>