inputing "==" in opened text files

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ehcy
    New Member
    • Oct 2007
    • 22

    inputing "==" in opened text files

    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\Hitosh i 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.l og

    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=
    [code=php]
    <?php

    $fc = "Check.txt" ;
    $handle = fopen($fc,"r");
    $content = fgetss($handle, 4026);
    $cont = htmlspecialchar s(file_get_cont ents($fc));
    echo "<pre>".$cont." </br></pre>";

    fclose($handle) ;
    ?>
    [/code]
    --------------------------------------------------------------------------------

    hope you can help me.. thanks!..
    Last edited by pbmods; Nov 29 '07, 01:24 AM. Reason: Added CODE tags.
Working...