Results 1 to 12 of 12

Thread: having SCAR edit a file on teh webz

  1. #1
    Join Date
    May 2007
    Location
    knoxville
    Posts
    2,873
    Mentioned
    7 Post(s)
    Quoted
    70 Post(s)

    Default having SCAR edit a file on teh webz

    is there a way to have scar edit a .txt file on the web? im trying to figure out a way to send proggys to it, so its anti-leech(since srl stats is still down )

    the closest thing that i could find in the scar help file was addhttppage or something like that
    <TViYH> i had a dream about you again awkwardsaw
    Malachi 2:3

  2. #2
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by akwardsaw View Post
    is there a way to have scar edit a .txt file on the web? im trying to figure out a way to send proggys to it, so its anti-leech(since srl stats is still down )

    the closest thing that i could find in the scar help file was addhttppage or something like that
    Don't think it can be done. You could make a PHP DataBase, then AddPostVariable;

  3. #3
    Join Date
    May 2007
    Location
    knoxville
    Posts
    2,873
    Mentioned
    7 Post(s)
    Quoted
    70 Post(s)

    Default

    meh, PHP. an other language to learn

    alright haha
    <TViYH> i had a dream about you again awkwardsaw
    Malachi 2:3

  4. #4
    Join Date
    Jun 2007
    Location
    Wednesday
    Posts
    2,446
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    You don't really need a database, but you do need another language unless you plan on looking into how FTP works and use that or look into getting a ready made file uploader and making Scar submit everything needed for that.
    Easiest way would be to learn php and then make it add to a database or append to a file on the server - shouldn't take too long to learn how to do it on a basic level like that. On the other side, you would just need to send the data to page using GET variables which would be fine for small amounts else POST would be better. If you wanted to just send the whole proggy as it was (ie several lines with mega load of text), I would say don't. php isn't hard to do, so it would be much easier and nicer to just make it accept the individual proggy values (like time running etc) then you format it yourself. If you don't want to though, POST would be fine for it.
    By reading this signature you agree that mixster is superior to you in each and every way except the bad ways but including the really bad ways.

  5. #5
    Join Date
    May 2007
    Location
    knoxville
    Posts
    2,873
    Mentioned
    7 Post(s)
    Quoted
    70 Post(s)

    Default

    hmm, any tuts on learning php, or getting the platform for php(if there is one)
    <TViYH> i had a dream about you again awkwardsaw
    Malachi 2:3

  6. #6
    Join Date
    Jun 2007
    Location
    Wednesday
    Posts
    2,446
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    If you get a free website then it will usually say whether or not it comes with PHP.
    For learning PHP itself, there's a couple of basic tuts on this site, but not really any for proggy reports - only version checking. w3schools has good tutorials and the php.net site has info on all the functions that PHP has.

    Good luck
    By reading this signature you agree that mixster is superior to you in each and every way except the bad ways but including the really bad ways.

  7. #7
    Join Date
    May 2007
    Location
    knoxville
    Posts
    2,873
    Mentioned
    7 Post(s)
    Quoted
    70 Post(s)

    Default

    alright thanks
    <TViYH> i had a dream about you again awkwardsaw
    Malachi 2:3

  8. #8
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I did something like this too, hit me on msn or IRC.
    Check my thread in 'Other Scripts' forum.
    ~Hermen

  9. #9
    Join Date
    May 2007
    Location
    knoxville
    Posts
    2,873
    Mentioned
    7 Post(s)
    Quoted
    70 Post(s)

    Default

    ok, i have lots of stuff to do :P i'll get around to it later today hopefully
    <TViYH> i had a dream about you again awkwardsaw
    Malachi 2:3

  10. #10
    Join Date
    Feb 2007
    Location
    Access Violation at 0x00000000
    Posts
    2,865
    Mentioned
    3 Post(s)
    Quoted
    18 Post(s)

    Default

    Can be done with simple php. No DB's required or anything.
    Use fopen and fwrite and use $_GET.
    Ce ne sont que des gueux


  11. #11
    Join Date
    May 2007
    Location
    knoxville
    Posts
    2,873
    Mentioned
    7 Post(s)
    Quoted
    70 Post(s)

    Default

    Quote Originally Posted by Floor66 View Post
    Can be done with simple php. No DB's required or anything.
    Use fopen and fwrite and use $_GET.
    i'll keep that in mind when i start learning php

    thanks for every ones help
    <TViYH> i had a dream about you again awkwardsaw
    Malachi 2:3

  12. #12
    Join Date
    Feb 2007
    Location
    Access Violation at 0x00000000
    Posts
    2,865
    Mentioned
    3 Post(s)
    Quoted
    18 Post(s)

    Default

    Or, file_put_contents or something (long time no php :/).
    file_get_contents puts the contents in a variable anyway.
    Ce ne sont que des gueux


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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