Hi guys,
Im pretty new to all this PHP, PERL, ASP ect. I have only just got used to HTML with the help of dreamweaver though.
I have set up a website
here and would like to place an advertising space on it. The website is written in HTML throughout. I have registered with a link broker "backlinks.com" and they require me to paste dynamic scrips into my page so that the process of displaying the links is automated.
The bit I dont understand is how I get the code to work in my webpage. I do have a choice on what code to use though, PHP, ASP, ASP.NET and perl. I know that I am able to use perl as it tells me in cpanel the path to perl, as for the others I'm sure I cant use because im only a bronze member for my hosting.
Ok guys... this pretty much is all I can ask questions on because my knowledge is so limited, but here is the code that backlinks.com want me to get to work on my site (without "s)
"# ************************************************** ******************
# Paste this block of code on your web page where you would like text
# links to be displayed. This code will dynamically add and remove text
# links on your web page according to your BackLinks.com settings.
# ************************************************** ******************
# The following variable defines whether links are opened in a new window
# (1 = Yes, 0 = No)
my $OpenInNewWindow = "1";
# ************************************************** ******************
# Please DO NOT modify anything below
# ************************************************** ******************
my $BLKey = "B563-039H-2YF6";
use LWP::Simple;
use URI::Escape;
my $QueryString;
$QueryString = "LinkUrl=".uri_escape((($ENV{'HTTPS'} eq 'on')?'https://':'http://').$ENV{'HTTP_HOST'}.$ENV{'REQUEST_URI'});
$QueryString .= "&Key=" .uri_escape($BLKey);
$QueryString .= "&OpenInNewWindow=" .uri_escape($OpenInNewWindow);
#Make request
my $backlinks_content = get("<A href="http://www.backlinks.com/engine.php?".$QueryString">http://www.backlinks.com/engine.php?".$QueryString);
if($backlinks_content) {
print $backlinks_content;
}"
Hope you can help guys, and thanks