473,434 Members | 1,738 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,434 software developers and data experts.

inputing "==" in opened text files

22
hi.. can you plz help me... i want to put an "==" in my opened text files but i don't know how.. i will show you the original output and my own program..

-----------------------------------------------------------------------------------------
= original output =

Volume in drive C has no label.
Volume Serial Number is ACF3-92D1

Directory of C:\Documents and Settings\Hitoshi Hyoda

2007/09/08 == 12:45 == <DIR> == .

2007/09/08 == 12:45 == <DIR> == ..

2007/03/01 == 16:52 == 290 == 1.txt

2007/04/24 == 07:03 == <DIR> == ChikkaDefault

2007/11/20 == 08:16 == <DIR> == Desktop

2007/11/16 == 16:56 == <DIR> == Favorites

2007/06/01 == 07:56 == <DIR> == logs

2007/11/19 == 17:00 == <DIR> == My Documents

2007/11/20 == 07:01 == 4 == pid.txt

2007/11/20 == 07:01 == 152 == PluginManager.log

2007/06/14 == 12:02 == 23 == presets.ini

2007/09/08 == 12:45 == <DIR> == Saved Games

2007/11/19 == 12:44 == <DIR> == Start Menu

2006/09/26 == 00:31 == <DIR> == WINDOWS

4 File(s) 469 bytes
10 Dir(s) 5,583,568,896 bytes free

-----------------------------------------------------------------------------------------
and this is my program/php code...

-----------------------------------------------------------------------------------------

=php code=
Expand|Select|Wrap|Line Numbers
  1. <?php
  2.  
  3. $fc = "Check.txt";
  4. $handle = fopen($fc,"r");
  5. $content = fgetss($handle, 4026);
  6. $cont = htmlspecialchars(file_get_contents($fc));
  7. echo "<pre>".$cont."</br></pre>";
  8.  
  9. fclose($handle);
  10. ?>
  11.  
--------------------------------------------------------------------------------

hope you can help me.. thanks!..
Nov 29 '07 #1
0 1010

Sign in to post your reply or Sign up for a free account.

Similar topics

145
by: Sidney Cadot | last post by:
Hi all, In a discussion with Tak-Shing Chan the question came up whether the as-if rule can cover I/O functions. Basically, he maintains it can, and I think it doesn't. Consider two...
6
by: gizmo | last post by:
I have a requirement to initiate more than one instance of an application using the filenames. (the example below will start two instances of MS Word). My problem is that I need to kill each...
1
by: Stinky Pete | last post by:
Hi, With thanx to the group and suggestions to review other news sites, I've got some code that allows me to open Adobe from Access. As I am new at this, I still need some help though. The...
5
by: Matthew Zhou | last post by:
I check the ISO 9899 standard, \r (carriage return) Movesthe active position to the initial position of the current line. What does it do? How to input? I tried to use Flex to check this...
25
by: tekctrl | last post by:
Anyone: I have a simple MSAccess DB which was created from an old ASCII flatfile. It works fine except for something that just started happening. I'll enter info in a record, save the record,...
9
by: Keith G Hicks | last post by:
I'm having a lot of trouble with "file in use" errors in my "folder watcher" project. Starting and stopping the watcher and reading my XML file work fine. Once the watcher is started, I'm reading...
15
by: =?ISO-8859-15?Q?L=E9na=EFc?= Huard | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello all, For some reasons, somewhere in a program, I'd like, if possible, to quickly parse a whole file before rewinding it and letting the...
4
by: chazzy69 | last post by:
The problem is as follows, i am inputing text and images from another source via my php script, now when i try to display the text and images into a page of my own styling the text and images skewed...
5
renji1981
by: renji1981 | last post by:
Hello I need to implement a textbox or a fiels where i can insert text and add certain function that MS word supports like TEXT FORMATTION ( FONT , STYLE _ ETC IN A WINDOWS FORM USING c# . just...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.