|
-
Oct 4th, 2004, 10:29 AM
#1
Thread Starter
Fanatic Member
I'm ready to jump: PERL Links script
So I found this links script - it's not FFAL so its not a simple script but it's a good one from what I can tell.
Problem is I do NOT Have much PERL knowledge - and even though I followed the instructions I am LOST. It won't bloody work.
If anyone is feeling very generous I need 2 of the script pages looked over - I get the feeling that the problem lies in the links to the files themselves (so that is all I have posted). It is a script for a UNIX server but I 'think' I modified it so it will run on a windows server.
script:
(yes I have checked the permissions)
----------------------------------------------
# Your name as it will appear on emails
$win_myname = "Erotic N Exotic" ;
# Unix path to the location of links file with final slash
$win_linkspath = "/links/" ;
# My email address -- use the backslash before the at sign
$win_myemail = "[email protected]" ;
# Unix path to your mail program.
$win_mailprogram = "/usr/sbin/sendmail";
# The URL to the directory containing your link pages (include the final slash)
$win_mylinkdirectory = "/links/" ;
# Full URL of the admin.cgi script
$win_scripturl = "http://www.eroticnexotic.com/cgi-bin/admin.cgi";
# Full URL of the link request validation script
$win_linkrequest = "http://www.eroticnexotic.com/cgi-bin/linkrequest.cgi";
# Full URL of the link request script
$win_createlinkrequest = "http://www.eroticnexotic.com/cgi-bin/createlinkrequest.cgi";
# The following are details of your link requesters users should put on their links page
# My URL -- the URL to appear on their reciprocal links page
$win_myurl = "http://www.eroticnexotic.com" ;
# My page or site name
$win_mypagename = "Links exchange for EroticNExotic.com" ;
# My page or site description
$win_mypagedescription = "Useful links in categories including but not limited to sex toys and adult fun!." ;
# 0 -> Do not check 1 -> Ensure they are in the same domain
$win_checkdomain = 0 ;
# My links Web page
$win_mylinkpage = "/links/links.html" ;
# Name of the file contains pending and approved links
$win_linkfile = "/links/links.dat" ;
# Name of the file contains the backup links file
$win_backup = "/links/backup.dat" ;
# Name of temporary working links file
$win_templink = "/links/templink.dat" ;
# Name of file containing HEAD code
$win_headfile = "/links/headfile.dat" ;
# Name of file containing pre-link HTML file
$win_prelinkfile = "/links/prelink.dat" ;
# Name of file containing post-link HTML file
$win_postlinkfile = "/links/postlink.dat" ;
# Multiple email files for good links e.g.
# goodlinks0.dat - sent to proposed links when first accepted
# goodlinks1.dat - to to accepted links when my link reappears after absence
# File name prefix for good link email files of this type:
$win_goodlinks = "/links/goodlinks" ;
# Multiple email files for bad links e.g. badlinks0.dat badlinks1.dat
# badlinks0.dat - sent if proposed link file does not contain my link
# badlinks1.dat - sent if accepted link file drops my link
# badlinks2.dat - sent when we drop an accepted link
# badlinks3.dat - sent when we drop a proposed link
# badlinks4.dat - send when you chose to Delete a link
# File name prefix for bad email files of this type:
$win_badlinks = "/links/badlinks" ;
# Number of times an ACCEPTED link file does not contain my link
# before we drop the link and send the badlinks2.dat email message
$win_accepteddropafter = 3 ;
# Number of times a PROPOSED link file does not contain my link
# before we drop the link and send the badlinks3.dat email message
$win_proposeddropafter = 3 ;
# Password.dat file
$win_passwordfile = "password.dat" ;
# Maximum title length
$win_maxtitle = 65 ;
# Maximum description length
$win_maxdesc = 250 ;
# Maximum links per links page
$win_maxlinksperpage = 20 ;
can anyone see a problem with the way I have written the locations?
Thanks in advance guys xxx
Trust no one
----------------------------------------
http://www.eccentrix.com/members/xeaudrey/exanegotium.html
http://www.eccentrix.com/members/xeaudrey/
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|