Question about downloads and Perl, HELP

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

    • Feb 2008
    • 4

    Question about downloads and Perl, HELP

    Hello;
    I am so new to this but here goes. I am going to sell eBooks and programs from my site and I don't know how to write the url so people can down load there Ebook or program. I know I need to upload the zip files through ftp Blue in blue voda. I need my successful after payment download URL. I guess through the browser. I have not uploaded my site yet still working on it. My site URL is http://www.tecmanswebtools.com. Also I am going to have a Free links page and these are the instructions.....

    First of all, open links.cgi in a text editor. If perl is not located
    at /usr/local/bin/perl on your system, change the first line of it to #! and then
    the location of perl. If you don't know where perl is, ask your system
    administrator, or telnet in and type "whereis perl" at the command prompt.
    Scroll down to line 51. If you aren't planning on creating the data directory
    in the same directory as the script, change "data" to the server path (not the
    URL) to the the data directory. Do not include a trailing slash. Now scroll
    down to line 54. Enter the server path (not the URL) to links.html. Scroll
    down to line 57 and enter the full URL of links.html. Scroll down to line 60
    and enter the URL of links.cgi. Scroll down to line 63, and enter the path
    to your mail program. This should actually be okay on most unix systems.


    If links.cgi cannot be found at /cgi-bin/links.cgi, open links.html in a text
    editor and replace the text /cgi-bin/links.cgi with the URL of links.cgi.


    Edit admin.html and replace http://www.yourdomain.com/cgi-bin/links.cgi
    with the URL of links.cgi


    BADURLS.TXT
    This file contains all bad, banned urls that are NOT allowed
    to post to your Grizz's FFA Links page. You can add any url here if you want.


    FTP this file to: Your data directory
    CHMOD to: 644


    BADEMAIL.TXT
    This file contains all banned email addresses that are NOT allowed
    to post to your Grizz's FFA Links page. You can add any email address here that
    you want. If someone complains about getting email from your script, just add
    his email address here, and no ads are allowed to be posted using his address.
    This can also be done from the admin page.


    FTP this file to: Your data directory
    CHMOD to: 666


    LOCKOUT.TXT
    This file contains all bad, banned words that are NOT allowed
    in any postings to your Grizz's FFA Links page.
    You can add any word here if you want.
    This can also be done from the admin page.


    FTP this file to: Your data directory
    CHMOD to: 644


    COLLECT.TXT
    This file contains all email addresses you collect from visitors posting
    to your Grizz's FFA Links page.
    This file is only created if you want to collect email addresses.


    EMAIL.TXT
    This is the 'Thank You For Posting a Link' email you send to all
    visitors posting to your Grizz's FFA Links page.
    Edit this file as you want.


    FTP this file to: Your data directory
    CHMOD to: 644


    Disable auto Links submittal
    The script is already configured to allow auto submittals.
    If you don't want to allow submittals to your page from auto submittal
    software you can go to line 155 and remove the # sign from that line
    and add it to the next line like this
    this is the original setup


    #if ($FORM{'action'} eq "add_link") { &add_link; }
    if (($FORM{'action'} eq "add_link") or ($FORM{'action'} eq "")) { &add_link; }


    Change to this to block auto submittals

    if ($FORM{'action'} eq "add_link") { &add_link; }
    #if (($FORM{'action'} eq "add_link") or ($FORM{'action'} eq "")) { &add_link; }



    Now upload all files (as ascii, not binary) and create directory named data.
    Set links.cgi's permissions to 755, links.html's permissions to 777, and the
    data directory's permissions to 773 (if this doesn't work on your system, try
    setting links.html's and the data directory's permissions to 777).
    I have the link page and admit page loaded into blue voda with all of the files. Will the system do all of that when I upload it or do I need to try to change all of these things? THANK YOU FOR YOUR HELP.
    The Tecman - Jeff McCarthy Can someone make it a little easer to understand?
Working...
X