All pastes #898149 Raw Edit

Error

public text v1 · immutable
·published 2008-02-10 03:06 UTC
rendered paste body
<?php
$nombre_archivo = "/dev/ttyS0";
$gestor = fopen($nombre_archivo, "r");
$contenido = fread($gestor, filesize($nombre_archivo));
?>





Warning: fread() [function.fread]: Length parameter must be greater than 0 in /var/www/php/readRS232.php on line 5