Hey guys, I'm trying to install a proxy listing script on my new site, and the config file has a load of errors in that I can't solve... if anybody can help correct them, I'll be extremely grateful! <?php // Database details $username="pfxzmzz_wginpcx"; $password="*******!"; $database="pfxzmzz_proxy"; $hostname="localhost"; // Theme Folder Name $theme = "default"; // Maximum Proxy Listing Per Page $perpagelimit = "60"; $feedlimit = "25"; //limit the RSS Feed // Site Details $sitename= "Proxy Listing - Bypass All School Filters • Add Your Proxy Today!"; $scriptroot = "http://www.proxylisting.info/"; //with trailing "/" // BackLink to Submit Proxies $needbacklink = "yes"; //set "no" if don't require backlink, otherwise set "yes" $thedomain = "http://proxylisting.info"; //to check as backlink $backlinktext = '<a href="http://www.proxylisting.info">Proxy Site List</a>'; // Show Selected Proxies at the top of all proxy listing $showselected = "yes"; //set "no" to hide Selected Proxy listing at the top, otherwise set "yes" // Block Certain Domains $blockeddomains = array() //just use array(), if you want to allow all domains // Captcha on or off to submit proxy $captchaon = "off" //set "on" or "off" to switch captcha // Twitter Username & Password $autotwitt = "on"; //set "off" if don't want to auto tweet proxies, otherwise set "on" $twitter_user = "ProxyListing"; $twitter_pass = "*******"; // Proxy Categories, add or remove any. // Note: If you add new category later, better add at the end. Otherwise it will cause existing proxy type to alter (not a big matter). $proxycats = array('Glype Proxy', 'PHProxy', 'CGI Proxy', 'Zelune Proxy', 'Surrogafier Proxy', 'Happy Proxy', 'ASProxy', 'Other Proxies'); // How many Top Proxy & Rrecent Proxy to diplay $toprecentnumber = 8; // Tag Maximum Size, Minimum Size and Tag colors to use. $tag_max_size = 22; // max font size in pixels $tag_min_size = 12; // min font size in pixels $tag_colors = array("#CC0033","#FF6600","#6633CC","#336600","#0099FF","#CC66FF","#FF33CC"); // Waiting time in seconds before redirecting to the proxy site. $redirectwaiting = "5"; // set 0 to disable waiting. (just edit out.php to add content) // Copyright Text at bottom of site $copyrighttext = '© 2011 <strong><a href="http://proxylisting.info">ProxyListing</a></strong>'; // Meta Description and Some Keywords for Search Engines $metadescription = "Another Fresh Proxy Listing site"; $metakeywords = "proxy listing, proxy topsite, proxy sites, browse proxy"; // Your Email $myemail = "jamehh@gmail.com"; // Admin Password $accounts[] = array("*******"); // Do not edit below include "functions.php"; ?> Code (markup): Starred bits are where my passwords are. also, try using the link below to check the syntax, i have been for ages now and can't figure it out... I will pay if you can get this page to work with working syntax! http://tools.sopili.net/php-syntax-check/ Thank you!
Fixed. <?php // Database details $username="pfxzmzz_wginpcx"; $password="*******!"; $database="pfxzmzz_proxy"; $hostname="localhost"; // Theme Folder Name $theme = "default"; // Maximum Proxy Listing Per Page $perpagelimit = "60"; $feedlimit = "25"; //limit the RSS Feed // Site Details $sitename= "Proxy Listing - Bypass All School Filters • Add Your Proxy Today!"; $scriptroot = "http://www.proxylisting.info/"; //with trailing "/" // to Submit Proxies $needbacklink = "yes"; //set "no" if don't require backlink, otherwise set "yes" $thedomain = "http://proxylisting.info"; //to check as backlink $backlinktext = '<a href="http://www.proxylisting.info">Proxy Site List</a>'; // Show Selected Proxies at the top of all proxy listing $showselected = "yes"; //set "no" to hide Selected Proxy listing at the top, otherwise set "yes" // Block Certain Domains $blockeddomains = array(); //just use array(), if you want to allow all domains // Captcha on or off to submit proxy $captchaon = "off"; //set "on" or "off" to switch captcha // Twitter Username & Password $autotwitt = "on"; //set "off" if don't want to auto tweet proxies, otherwise set "on" $twitter_user = "ProxyListing"; $twitter_pass = "*******"; // Proxy Categories, add or remove any. // Note: If you add new category later, better add at the end. Otherwise it will cause existing proxy type to alter (not a big matter). $proxycats = array('Glype Proxy', 'PHProxy', 'CGI Proxy', 'Zelune Proxy', 'Surrogafier Proxy', 'Happy Proxy', 'ASProxy', 'Other Proxies'); // How many Top Proxy & Rrecent Proxy to diplay $toprecentnumber = 8; // Tag Maximum Size, Minimum Size and Tag colors to use. $tag_max_size = 22; // max font size in pixels $tag_min_size = 12; // min font size in pixels $tag_colors = array("#CC0033","#FF6600","#6633CC","#336600","#0099FF","#CC66FF","#FF33CC"); // Waiting time in seconds before redirecting to the proxy site. $redirectwaiting = "5"; // set 0 to disable waiting. (just edit out.php to add content) // Copyright Text at bottom of site $copyrighttext = '© 2011 <strong><a href="http://proxylisting.info">ProxyListing</a></strong>'; // Meta Description and Some Keywords for Search Engines $metadescription = "Another Fresh Proxy Listing site"; $metakeywords = "proxy listing, proxy topsite, proxy sites, browse proxy"; // Your Email $myemail = "jamehh@gmail.com"; // Admin Password $accounts[] = array("*******"); // Do not edit below include "functions.php"; ?> Code (markup): If you're serious about payment my paypal is and it would be much appreciated.
All I can afford right now after being scammed out of around $100. Will pay the rest of what I was going to when I get it (probably later on). Thank you!
Disscuss-BB.org, there were only 3 missing ";", look at end of lines (before comment (// comment description))
I ran the script through and added them in before I posted this, that's why I was confused because I thought it was such a small error..
Oh right, well the corrected version that andrew did worked like a charm, and the script can now be used at http://proxylisting.info