Web Analytics Made Easy -
StatCounter I need a script. - CodingForum

Announcement

Collapse
No announcement yet.

I need a script.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • I need a script.

    I want a script that opens a file like "smilies.dat" and displays the code editable,because its anoying to download the file just to edit it.

  • #2
    Originally posted by daguy View Post
    I want a script that opens a file like "smilies.dat" and displays the code editable,because its anoying to download the file just to edit it.
    <?php
    $file=fopen("smilies.dat","r+") or exit("Unable to open file!");
    while (!feof($file))
    {
    echo fgetc($file);
    }
    fclose($file);
    ?>
    ... i think...

    Comment

    Working...
    X