Using forward slashes on Windows : Quotation « String « PHP
- PHP
- String
- Quotation
Using forward slashes on Windows
<?php
$fh = fopen('c:/alligator/crocodile menu.txt','r') or die($php_errormsg);
while($s = fgets($fh)) {
print $s;
}
fclose($fh) or die($php_errormsg);
?>
Related examples in the same category