Yo ineed HELP , php or coders or l33t people

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • juicylinks
    So Fucking Banned
    • Apr 2001
    • 122992

    #1

    Yo ineed HELP , php or coders or l33t people

    I need something that will grab the contents of the url such as blabla.com/juicy.txt......... save it as a txt file i specify such as cum.txt


    and for it runs on it owns evry x amount of hours i specify

    Any ideas?
  • juicylinks
    So Fucking Banned
    • Apr 2001
    • 122992

    #2

    Comment

    • juicylinks
      So Fucking Banned
      • Apr 2001
      • 122992

      #3

      Comment

      • juicylinks
        So Fucking Banned
        • Apr 2001
        • 122992

        #4

        Comment

        • dunefield
          www.barely18movies.com
          • Feb 2003
          • 10920

          #5
          no...

          Comment

          • vas
            Confirmed User
            • Dec 2003
            • 562

            #6
            sure its simple to do...

            use fopen and fwrite in php

            and setup a cronjob to do the running every few hours bit.
            icq: 375956791

            Comment

            • Grammar Police
              So Fucking Banned
              • Feb 2004
              • 727

              #7
              Juicy, you really need to get back on Paxil and drop the stupid, helpless Guido act. It's getting really, really old.

              Comment

              • juicylinks
                So Fucking Banned
                • Apr 2001
                • 122992

                #8
                Originally posted by Grammar Police
                Juicy, you really need to get back on Paxil and drop the stupid, helpless Guido act. It's getting really, really old.
                I need help man. I am backl on Paxil

                Comment

                • swedguy
                  Confirmed User
                  • Jan 2002
                  • 7981

                  #9
                  Didn't you get one couple of weeks ago?

                  Comment

                  • dodger21
                    Confirmed User
                    • Jan 2003
                    • 2680

                    #10
                    icq: 237055440

                    Comment

                    • juicylinks
                      So Fucking Banned
                      • Apr 2001
                      • 122992

                      #11
                      Originally posted by dodger21

                      Comment

                      • swedguy
                        Confirmed User
                        • Jan 2002
                        • 7981

                        #12
                        PHP Code:
                        $content = implode('', file('http://www.domain.com/sup.txt'));
                        $fp = fopen("file.txt", "w");
                        if ($fp) {
                          fwrite($fp, $content);
                          fclose($fp);
                        } 
                        
                        A simple one. It will write http://www.domain.com/sup.txt to file.txt (owerwrite and truncate file.txt if it exist).

                        Comment

                        • juicylinks
                          So Fucking Banned
                          • Apr 2001
                          • 122992

                          #13
                          Originally posted by swedguy
                          PHP Code:
                          $content = implode('', file('http://www.domain.com/sup.txt'));
                          $fp = fopen("file.txt", "w");
                          if ($fp) {
                            fwrite($fp, $content);
                            fclose($fp);
                          } 
                          
                          A simple one. It will write http://www.domain.com/sup.txt to file.txt (owerwrite and truncate file.txt if it exist).
                          ty i owe you one

                          Comment

                          • jwerd
                            Confirmed User
                            • Jun 2003
                            • 1953

                            #14
                            Originally posted by swedguy
                            PHP Code:
                            $content = implode('', file('http://www.domain.com/sup.txt'));
                            $fp = fopen("file.txt", "w");
                            if ($fp) {
                              fwrite($fp, $content);
                              fclose($fp);
                            } 
                            
                            A simple one. It will write http://www.domain.com/sup.txt to file.txt (owerwrite and truncate file.txt if it exist).
                            Juicy, you can also make it so it grabs it from a query string (EG: script.php?file=whatever.txt&url=http://www.wow.com/wtf.txt).

                            The code would be changed to:
                            PHP Code:
                            <?php
                            $content = implode('', file($_GET['url']));
                            $fp = fopen("".$_GET['file']."", "w");
                            if($fp)
                              fwrite($fp, $content);
                            
                            fclose($fp);
                            But goodjob to everyone who participated as well Goodluck
                            Yii Framework Guru - Seasoned PHP vet - Partner @ XXXCoupon.com

                            Comment

                            • nibbi
                              Confirmed User
                              • Sep 2002
                              • 104

                              #15
                              Juicy, hit me up via e-mail. I just threw something together that I think might work for you.

                              me at nibbi net
                              http://www.xRag.com

                              Comment

                              • fuzebox
                                making it rain
                                • Oct 2003
                                • 22353

                                #16
                                I am l33t, am I too late?

                                Comment

                                • power182
                                  Confirmed User
                                  • Nov 2002
                                  • 136

                                  #17
                                  wget works well....

                                  Comment

                                  • juicylinks
                                    So Fucking Banned
                                    • Apr 2001
                                    • 122992

                                    #18
                                    Originally posted by nibbi
                                    Juicy, hit me up via e-mail. I just threw something together that I think might work for you.

                                    me at nibbi net
                                    thank nibbi for the code

                                    I am all set thanks veryone for the help

                                    Comment

                                    Working...