Procedural File: _url.funcs.php
Source Location: /blogs/inc/_misc/_url.funcs.php
Page Details
This file is part of the b2evolution/evocms project - http://b2evolution.net/.
See also http://sourceforge.net/projects/evocms/.
| Author: | blueyed: Daniel HAHLER |
| Author: | Danny Ferguson |
| Version: | $Id: _url.funcs.php,v 1.6.2.3 2007/04/25 22:18:06 fplanque Exp $ |
| Copyright: | (c)2003-2007 by Francois PLANQUE - http://fplanque.net/. Parts of this file are copyright (c)2006 by Daniel HAHLER - http://daniel.hahler.de/. |
| Filesource: | Source Code for this file |
| License: | GNU General Public License (GPL) |
Functions
fetch_remote_page [line 41]
|
Fetch remote page
Attempt to retrieve a remote page, first with cURL, then fopen, then fsockopen.
Parameters:| string | $url: | URL |
| array | &$info: | Info (by reference) 'error': holds error message, if any 'status': HTTP status (e.g. 200 or 404) |
API Tags:
| Return: | The remote page as a string; false in case of error |
Information Tags:
| Todo: | fp> order should be cURL, then fsockopen, then fopen. |
[ Top ]
