fopen on windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



$theFile = fopen("docs/InstallationInstructionMaster.txt", "r") || die;

while(!feof($theFile)){
	$theLine = fgets($theFile, 4096);
	echo $theLine . "<br>\n";
}
fclose($theFile);

The above code appears to work, but all that is output is lines of line
breaks....no data. The file is a tab delimited test file;

Form Number	Date / Rev	Description	Controlled by Engineering
Controlled by R&D	Controlled by Marketing	Located on Thermon.com	Copy
Located in Shipping	Copy Located in Mfg
								
Installation Instructions - Heating Cables / Industrial

								
PN50207	0802	Electric Heat Tracing Installation Procedures
X		X	X
TEP0066	0800	Electric Heat Tracting Maintenance & Troubleshooting Guide
X		X	X
TMP0006	0901	Electrical Safety Precautions for Electric Heat Tracing

10A024	1002	Instal Inst. MI Mineral Insulated Heating Cable w/ SS Tie
Wire						
MIQFAB	0802	Field Testing Procedures for MI Trace Heating Cable


Am I missing something other than an ice cold beer?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux