+ Reply to Thread
Results 1 to 4 of 4

Thread: Text Files

  1. #1
    thezone1 is offline x10 Sophmore thezone1 is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    192

    Text Files

    hi i was wondering if anyone knows of an script that would let me edit text files on a server.... such as .htpasswd files or group files so i can add users to directories

  2. #2
    Synkc's Avatar
    Synkc is offline Lord Of The Keys Synkc is an unknown quantity at this point
    Join Date
    Jun 2007
    Location
    Hervey Bay, Australia
    Posts
    1,765

    Re: Text Files

    Take a look at PHP's filesystem extension; you might find what you need there.
    E-mail: synkc[at]x10hosting[dot]com
    Hirokima.com

  3. #3
    diabolo's Avatar
    diabolo is offline Community Advocate diabolo is on a distinguished road
    Join Date
    Nov 2007
    Location
    Jersey Shore
    Posts
    1,683

    Re: Text Files

    if you have control over the file
    or the files has a 666 CHMOD
    then it should be able to be edited.
    using the PHP file() function and similars

  4. #4
    kajasweb's Avatar
    kajasweb is offline Lord Of The Keys kajasweb is an unknown quantity at this point
    Join Date
    Aug 2007
    Location
    Chennai, India
    Posts
    1,722

    Re: Text Files

    For security reasons... I won't recommend editing files through webpages. Consider using Authentication by MySQL.

    Ref: http://www.linuxhelp.net/guides/htaccessmysql/
    R. Kaja Mohideen
    Start Your Own Blog... Start Making Money...
    http://www.MyiStop.com/
    CuteCom.Net - Low Cost International Internet Telephony (VoIP) Service

+ Reply to Thread

Similar Threads

  1. Hybrid's HTML Lessons
    By Hybrid in forum Tutorials
    Replies: 18
    Last Post: 11-28-2009, 02:12 PM
  2. BB Code Guide
    By Jober68 in forum Tutorials
    Replies: 1
    Last Post: 01-10-2008, 05:12 PM
  3. What is Authentication
    By asadislam78 in forum Computers & Technology
    Replies: 1
    Last Post: 12-13-2007, 07:13 AM
  4. php files opening as text
    By __z|x__ in forum Free Hosting
    Replies: 6
    Last Post: 05-21-2006, 10:01 AM
  5. |PS|*Blur text Tutorial*
    By |Born2Shoot| in forum Tutorials
    Replies: 7
    Last Post: 06-04-2005, 10:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers