How to become a seeder

One thing I must tell you upfront is that this script was originally developed on a windows system.  You can still use this, even if you are a Linux user, and I do intend for this script to work on ANY OPERATING SYSTEM, but do keep in mind that this script is new, and obviously the windows support documents are going to come out first, and thus I will have more experience at building a FAQ section about troubleshooting windows problems more so than trouble shooting problems with Linux.  My apologies for any insolvencies this might cause.

 

Step: 1

    For Windows

        Information:
       
You can pretty much do what you want with this step, but I am going to make this very clear that if you do not know very much about computers, or don't know very much about server softwear, that you should stick to what's recommended.  In this step we are going to setup HTTP server software. THIS IS NOT A BIG DEAL! Nothing major is going to be done to your system, infact, you probably won't even need to reboot.  All we need to do is make it so that someone can type you IP address in an internet browser, and your computer would respoond by sharing out a certain directory of tour choice.  Similar to what the old Napster and it's current day clones do.

            Instructions:
            Install any HTTP server

            Recommended:
            Apache HTTP Server- It's free, open-source, and has no spy-ware/ad-ware and I it's what I used when making the A/D-Chan scripts
            You can download the "Win32 Binary (MSI Installer)" at the the download page (click here)
            After clicking the link above link, look under the bar that says "Apache <some numbers> is the best available version", Not under alpha version
           

    For Linux

        Information:
          This is where the Linux users get lucky. Unlike the windows people, you probably don't need to do anything. Most Linux distributions come with Apache server installed now.

          Instructions:
          Check if you already have apache server installed, if you don't then get it at http://httpd.apache.org/download.cgi

 

Step: 2

    For Windows

        Information: READ THIS
          This step is what some people get confused on. In step 1 you made your computer able to share certain files out.  However, that's all it can do. It's cant say, make a thumbnail of an image, nor can it even accept incoming files.  All it can do is listen for a request from a person, and give the file (if you put the file in the public directory).  In this step we will make you computer capable of doing those things by giving you server software PHP support.  PHP is a script, when it is requested by a users, the server should trigger the script and do the commands in it.  This is basically how we get the server to do things like, making thumbnails or accepting uploads.  But as of right now, your server wont understand what a .php script is, so lets give it the needed support....

           NOTICE:  If you followed the recommendation in step 1 about using Apache HTTP Server, you will get a configuration warning at the end of the PHP installation. Ignore this.

            Instructions:
            Give you server PHP support, download the library here. Don't worry, PHP is also free, open-source, and contains no spy-ware/ad-ware

            Guide:
            Durring steup, you will come across this,
           
            Don't freak out, just click next. Whatever text is there, just leave it was what it is by default.
            The next screen should say something about how to report errors, it doesn't matter which one you choose as the scripts you will host will override the what you choose here.
            then you will come across this,
           
            If you followed the recommendation in step 1, then select Apache.  If you installed some other server software, either choose the appropriate option.  If you installed some other server software and there is no option for what you installed, check to see if the server you did install has built in PHP-capability.  If it doesn't, then I recommend you go back to step 1 and use Apache Server.
            At the end, you should receive this message,
           
            Don't freak out, this is normal. And luck you, you have me here to do it for you.

           And now I would like to pause this guide an let everyone know what extreme "joy" (I'm being sarcastic in case you cant hear my tone) it was to figure out out to make this shit work, especally seeing as the php-installer does not make a .ini file with default values, even though all php-documentation talks about it as if it were there, and then to have to sort through that ugly ass .conf file,, and wtf is up with that? No GUI? no interface? come on people gimme a break!

 

            Instructions (cont.): READ THIS
            Ok, now back to being serious.  If you are using Apache Server as recommended, then you MUST continue reading this paragraph, if not, then skip this.  We now have to tell your server that it can trigger .php scripts, and this is easier then you think. Goto  Start>Programs>Apache HTTP Server 2.0.54>Configure Apache Server
           
            You may or may not be asked on how to open this, if you are choose notepad.
           
            Once opened you will see a bunch of computer-related technical gibberish, ignore it all.  Scroll all the way down to the bottom and add a few blank lines.  Then, copy-and paste in the following text:

 
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php-cgi.exe"
 

            NOTICE:
            You cannot have backslashes in this file.  So having something like "C:\PHP\" is a no-no.  It must be "C:/PHP/" instead.  Just take out all backslashes ( \ ) and replace them with slashes ( / ).

            If you server was running, then restart it NOT YOUR COMPUTER, just there server. Do this by going START>Programs>Apache HTTP Server 2.0.54>Control Apache Server>Restart
           


Step: 3

    For Windows and Linux users

        Information:
          Now it's time to cross our fingers and hope you didn't fuck up somewhere. We are now going to test and make sure that you did al this crap right.  And if you didn't don't feel to bad about it, it took me a few times to get this to work, and to be honest, there is alot of bullshit in this.  In my opion Apache Server should come with PHP batched togeather, and for sor the sake of great justice~ why the **** don't they have the friggen thing configure it self???  Yeh, they say you have to read this documentation thinggy to make it work, but dude~ the documentation goes on f~o~e~v~e~r~.  I'll be an old man by the time I finish reading all the crap they tell me to read.  Anyways, in short it's a pain, but if you followed my instructions, and you don't use a Mac.... err...*cough*... I mean....if you followed my instructions hopefully it's gonna work.  Now we are going to test this by trying to make it run a script .php script I made that will do a brief scan of the php enjoinment and basically report back to you.

        Instructions:
          Right click this link, and choose the option to "Save Target As". And then save it to your shared/public directory. If you don't know what your public directory is then try going to "C:/Program Files/Apache Group/Apache2/htdocs".  By default that is your public directory.  Once you have saved it there, RENAME the extension to php, so the filename is "test.php" without quotes.  When you have done that open a new browser window and goto "http://127.0.0.1/test.php".  Note that the IP address 127.0.0.1 is something called "a loop back IP", this means that you don't need to find out your IP address at all, because putting in 127.0.0.1 will always tell the computer to connect to itself.

          When the browser finishes loading one of three things can happen:
          1) The browser doesn't seem to connect, or no page comes up
          2) The page comes up but it looks like Figure-A (PHP computer code is shown to you)
          3) The page comes up and it looks like Figure-(Information about the PHP environment comes up)

          Click on whatever of the three is the position you are in.

Figure A (click for larger image)

(click for larger image)

The first line will say "<?php" (without quotes) and then continue on with gibberish computer code.
Figure B (click for larger image)

(click for larger image)

Messages come up saying what PHP can and can't do among a few other things