Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Location
    North East England
    Posts
    853
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Online page editor

    Hi
    Does anyone have a script for editing pages online - as some free space hosts use - even a pretty basic one would be good.

    thnk you
    [+] Computer/PC issues [+] Silverpaw3D
    ------------------------------------------------
    Never buy a dwarf with learning disabilities...

    ...it's not big, and it's not clever.

  • #2
    New Coder
    Join Date
    Jul 2002
    Location
    Behind my PC :)
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts
    http://www.hotscripts.com/PHP/Script...le_Management/

    some scripts hold an editor inside, you have a peak at the source code of it

  • #3
    New Coder
    Join Date
    Jul 2002
    Location
    Regina, Saskatchewan, Canada
    Posts
    35
    Thanks
    0
    Thanked 0 Times in 0 Posts
    If you would like to make one, you can use fopen().

    <textarea name="code" cols=40 rows=8><?php
    $file = "editme.txt";
    $open = fopen($file, "r"); //"r" means read, "a" means append, "w" means overwrite
    $code = file ($file);
    fclose ($open);

    for ($i=0;$i<count($code);$i++) {
    echo $code[$i];
    }
    ?></textarea>
    Jared Brandt
    IKinsler


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •