Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
php_cli_ex [2011-10-24 13:42]
Joakim Forsgren created
php_cli_ex [2012-01-19 08:22]
Joakim Forsgren
Line 36: Line 36:
 } }
 echo "\n"; echo "\n";
 +// För att läsa in en sträng utan radbrytning på slutet
 +$str = trim(fgets($handle));
 +echo $str;
 </code> </code>