Ultimate fourshared leecher!

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

    Originally posted by softwarefreak View Post
    @frez, remove this line

    Code:
    RewriteBase /
    & update

    Code:
    RewriteRule ^xml/(.*)\.html?$ xml_api.php?q=$1 [QSA]
    RewriteRule ^v2/(.*)\.html?$ via_google.php?q=$1 [QSA,L]
    everything is so simple around!

    Added after 10 minutes:



    LOL, it's a file resides in a folder when u build a project w/ aptana, eclipse etc. The modified readme is very funny
    can upload ur dl.php??

    Comment


      @flezzzzzzz, It will generate SEO friendly URL's which will help your site to rank good in search engines, dats a bit of advantage.

      RewriteRule tells apache (mod_rewrite) how to rewrite the URL's

      QSA flag is for query string append, means other parameters passed are appended/added after rewriting

      for example, you're trying to rewrite a URL http://example.com/index.php?user=someone to http://example.com/user/someone.html

      You'll use a rewrite rule something like this

      Code:
      RewriteRule ^user/([a-z0-9]+)\.html$ index.php?user=$1 [NC]
      Then you can use QSA flag to add some more params in the url like http://example.com/user/someone.html?age=50

      This can also be done in Rewrite rule instead of using QSA
      Code:
      RewriteRule ^user/([0-9]+)/([a-z0-9]+)\.html$ index.php?age=$1&user=$2 [NC]
      The result will be http://example.com/user/50/someone.html

      You need to know a bit of regex to make it work, its easy to learn nothing complicated

      Originally posted by fleming View Post
      can upload ur dl.php??
      I've already uploaded everything
      Last edited by softwarefreak; 05.10.12, 02:18.
      I need some facebook likes, can you please help me
      http://facebook.com/softwarefreakin
      I noticed social media is really powerful
      Well DONE is better than well SAID

      Comment


        Originally posted by softwarefreak View Post
        @flezzzzzzz, It will generate SEO friendly URL's which will help your site to rank good in search engines, dats a bit of advantage.

        RewriteRule tells apache (mod_rewrite) how to rewrite the URL's

        QSA flag is for query string append, means other parameters passed are appended/added after rewriting

        for example, you're trying to rewrite a URL IANA — Example domains to IANA — Example domains

        You'll use a rewrite rule something like this

        Code:
        RewriteRule ^user/([a-z0-9]+)\.html$ index.php?user=$1 [NC]
        Then you can use QSA flag to add some more params in the url like IANA — Example domains

        This can also be done in Rewrite rule instead of using QSA
        Code:
        RewriteRule ^user/([0-9]+)/([a-z0-9]+)\.html$ index.php?age=$1&user=$2 [NC]
        The result will be IANA — Example domains

        You need to know a bit of regex to make it work, its easy to learn nothing complicated



        I've already uploaded everything

        u last upload dont have player swf.. only direct download T.T

        Comment


          @softwarefreak

          Thank you very much master, i will learn more ;)

          Comment


            Originally posted by ukitero View Post
            my demo of this version ***** i got problem in dloading file in dl.php it shows blank page. .maybe it cause in com.nu hosting that not support curl. . Help me guyz.
            @softwarefreak

            experiencing this problem too but curl is enabled in my localhost. cant find or see what causing the error for nothing is showing in apache error log file and php error log file

            any idea bro?

            Comment


              Originally posted by modfiles View Post
              @softwarefreak

              experiencing this problem too but curl is enabled in my localhost. cant find or see what causing the error for nothing is showing in apache error log file and php error log file

              any idea bro?
              You're your using xampp/wamp in windows ryt? I had the same problem, i guess curl cookies doesnt works well in win environment, try to put an absolute path in curl_opt, but in my ubuntu desktop, there's no such problems

              Click image for larger version

Name:	Screenshot from 2012-10-06 20:09:01.png
Views:	1
Size:	148.8 KB
ID:	110649
              I need some facebook likes, can you please help me
              http://facebook.com/softwarefreakin
              I noticed social media is really powerful
              Well DONE is better than well SAID

              Comment


                Originally posted by softwarefreak View Post
                You're your using xampp/wamp in windows ryt? I had the same problem, i guess curl cookies doesnt works well in win environment, try to put an absolute path in curl_opt, but in my ubuntu desktop, there's no such problems

                [ATTACH=CONFIG]5042[/ATTACH]
                thanks bro.
                setting the absolute path for cook.txt file work like a charm

                funny coz it stop working again after restarting my localhost
                Last edited by modfiles; 07.10.12, 09:10.

                Comment


                  i have the same problem on my hosting bro..dl.php shows blank..but in eu5.org working fine..

                  Comment


                    Originally posted by Macneth View Post
                    i have the same problem on my hosting bro..dl.php shows blank..but in eu5.org working fine..
                    The hosting where it's not working may not have php-curl enabled brother

                    You can check by running this code in a file

                    PHP Code:
                    <?
                    if (extension_loaded("curl")) :
                        echo "Yes";
                    else :
                        echo "No";
                    endif;
                    OR

                    PHP Code:
                    <?
                    print_r(get_loaded_extensions());
                    If you find curl is enabled still you're getting a black page

                    Then in dl.php change error_reporting(0) to

                    PHP Code:
                    error_reporting(E_ALL); 
                    if Still blank then

                    Put this line b4 curl_close()
                    PHP Code:
                    echo curl_error($curl_handle); 
                    Now you'll see something instead of blank page, tell me wat you saw in pm or here :D
                    The problem may also occur if cook.txt has low permission, try to view it in a browser by heading to the URL where it is located in your site, if it says Forbidden then chmod it to 777
                    Last edited by softwarefreak; 07.10.12, 09:27.
                    I need some facebook likes, can you please help me
                    http://facebook.com/softwarefreakin
                    I noticed social media is really powerful
                    Well DONE is better than well SAID

                    Comment


                      Originally posted by softwarefreak View Post
                      The hosting where it's not working may not have php-curl enabled brother

                      You can check by running this code in a file

                      PHP Code:
                      <?
                      if (extension_loaded("curl")) :
                          echo "Yes";
                      else :
                          echo "No";
                      endif;
                      OR

                      PHP Code:
                      <?
                      print_r(get_loaded_extensions());
                      If you find curl is enabled still you're getting a black page

                      Then in dl.php change error_reporting(0) to

                      PHP Code:
                      error_reporting(E_ALL); 
                      if Still blank then

                      Put this line b4 curl_close()
                      PHP Code:
                      echo curl_error($curl_handle); 
                      Now you'll see something instead of blank page, tell me wat you saw in pm or here :D
                      The problem may also occur if cook.txt has low permission, try to view it in a browser by heading to the URL where it is located in your site, if it says Forbidden then chmod it to 777

                      please upload ur dl.php!!

                      Comment


                        Originally posted by fleming View Post
                        please upload ur dl.php!!
                        NO, I won't you blind stupid! & stop quoting my long posts! This script is not for them who just comes here to download, The people who're using it since long, its for them only,

                        I don't care if you're using it or not, But I do care for them who are using it since 1st shared, so that they don't have any problems w/ their sites.
                        I guess I have I have made myself clear, thank you
                        I need some facebook likes, can you please help me
                        http://facebook.com/softwarefreakin
                        I noticed social media is really powerful
                        Well DONE is better than well SAID

                        Comment


                          for those who are experiencing blank dl.php page,

                          change
                          PHP Code:
                          $ck "cook.txt"
                          to
                          PHP Code:
                          $ck dirname(__FILE__).'/cook.txt'
                          or
                          PHP Code:
                          $ck getcwd().'/cook.txt'
                          that will set the cook.txt file to absolute path

                          Comment


                            Originally posted by modfiles View Post
                            for those who are experiencing blank dl.php page,

                            change
                            PHP Code:
                            $ck "cook.txt"
                            to
                            PHP Code:
                            $ck dirname(__FILE__).'/cook.txt'
                            or
                            PHP Code:
                            $ck getcwd().'/cook.txt'
                            that will set the cook.txt file to absolute path
                            No use , i tryed that and still blank page , i think script need update

                            Comment

                            Working...
                            X