[ Index ]
 

Code source de b2evolution 2.1.0-beta

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/blogs/inc/_core/ -> _url.funcs.php (sommaire)

This file is part of the b2evolution/evocms project - {@link http://b2evolution.net/}. See also {@link http://sourceforge.net/projects/evocms/}.

Author: blueyed: Daniel HAHLER
Author: Danny Ferguson
Copyright: (c)2003-2007 by Francois PLANQUE - {@link http://fplanque.net/}.
License: http://b2evolution.net/about/license.html GNU General Public License (GPL)
Version: $Id: _url.funcs.php,v 1.2 2007/07/03 22:16:15 blueyed Exp $
Poids: 258 lignes (7 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 2 fonctions

  fetch_remote_page()
  url_same_protocol()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

fetch_remote_page( $url, & $info )   X-Ref
Fetch remote page

Attempt to retrieve a remote page, first with cURL, then fsockopen, then fopen.

param: string URL
param: array Info (by reference)
return: string|false The remote page as a string; false in case of error

url_same_protocol( $url, $other_url = NULL )   X-Ref
Get $url with the same protocol (http/https) as $other_url.

param: string URL
param: string other URL (defaults to {@link $ReqHost})
return: string



Généré le : Thu Nov 29 23:58:50 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics