从赞助商那里得到代码,它是用 PHP 编写的,遗憾的是我的网站是用 Perl 编写的,并且有 html 模板,当我尝试粘贴代码脚本时,它就不起作用了……我真的是编码方面的菜鸟,也许你们可以帮助我? 这是代码:
<?php
// Replace the download URL.
$download_url = "<TMPL_VAR direct_link>";
// Replace the software name to appear in the installer.
$software_name = "PUZZLE";
// URL to a logo image. Must be configured through your affiliate manager.(Optional)
$logo_image = "http://cdn.airdlrstatic.com/graphics/affiliate/yourname/image.png";
// URL to a product image. Please consult your affiliate manager for details.
$product_image = "";
// Sub ID (Optional)
$sub_id = "";
// Software Bundle ID for tracking.
$bundle = "c8d494949";
?>
<a href='<?php include '/download/download.php'; ?>'>Click Here!</a>
有什么解决办法吗?