![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
20/02/2007, 05:34
|
| | Fecha de Ingreso: febrero-2007
Mensajes: 2
Antigüedad: 18 años Puntos: 0 | |
Re: Funcion para calcular el tamaño de las paginas 1 Despues lo ejecuto con este fichero (sample.webpagesize.php)
<?php
//don't forget to set time limit, because this class eats a lot of time :)
set_time_limit(900);
include("class.webpagesize.php");
$size = new WebpageSize;
//$size->setURLviaProxy("Pagina Web","PROXY03","80");
$size->setURL("Pagina web");
$size->printResult();
?>
Al ejecutar me da los siguientes errores:
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in C:\AppServ\www\class.webpagesize.php on line 226
Warning: Variable passed to each() is not an array or object in C:\AppServ\www\class.webpagesize.php on line 155
Warning: array_unshift() [function.array-unshift]: The first argument should be an array in C:\AppServ\www\class.webpagesize.php on line 63
A ver si me podeis echar una mano. Gracias |