Mega Code Archive

 
Categories / Php / Strings
 

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); ?>