You are here: fopen on windows « PHP « IT news, forums, messages
fopen on windows

Posted by Jay Blanchard on 11/11/05 22:51

$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?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация