$foo = fopen("time.txt", "r");
// You can then use $foo as the file handle to read from:
while(!feof($foo)){
$bar = fgets($foo);
echo $bar;
}
/* although php will close the file automatically when no longer in use, it is a good practice to close it yourself when you're done with it: */
fclose($foo);
fopen("time.txt","r");b open("time.txt");
whay not open error file in word ! help me please
Most of the time if you first open the correct application, you can then use it to open a file that is of the correct format, even if the file type is not correctly associated with the extension. On the other hand if you click directly on the file and the file type is not associated with the correct application, it usually will not open - or at the very least will give you weird results when it opens up with the wrong application.
Ensure you have the correct version of the software to open the file. If you do not have the correct version, you can look on the Internet for various file converters that will convert the file format you have to the file format you need. When you have the correct software installed on your software, you can double-click on the file and it will open in the application. Or, you can open the application first and go to the menu option that lets you find and open files.
File extension in Open office writer is Auto Correct
Try a right click to see the "properties" of the file. It may not be a readable document.
There are many reasons that a file cannot be opened. The most common one is if you are trying to open a file of a certain type with the wrong kind of application. So for example, you cannot open a spreadsheet file with a graphics program. So it is important to open the file with the correct application and the correct version of that application.
right click on it, select "open with" select adobe acrobat reader from the list provided, and it should open in a readable format. You must have adobe acrobat reader installed in your pc, you may download it from adobe website if you don't have it.
It depends what you mean by 'cant access'. a) If your computer crashed while a file was open - Open Office should automatically attempt to recover the file next time you open it. b) If the file is locked by a password - you need to enter the correct password to open it.
Assuming you're talking about incorrect default file associations in Windows XP... Right click on the PHP file. Go to Open With > Choose Program. Select Wordpad or your fav PHP IDE and tick the "Always open this type of file with this program" box.
A "null" extension usually means that the file contains no data or is corrupted and/or was corrupted during the transmission of the file.Windows cannot open this file because it does not know what the format is. There are a few software applications available to possibly convert the "null" to something readable, but those cost money and have only one purpose.The best bet is to have the person who sent you that file resend it in another format ... possibly as a PDF as that seems to be a good universal application that most everyone can access.
How to open a dxl file?
Pros: uncompressed, no quality loss, almost "readable" (you can open it in a text editor and manipulate individual pixels) Cons: huge file size (long loading times and large memory requirements)