Hello
I have problems installing a php script.
Any help would be so much appreciated.
Thanks
My web address: (MOD EDIT - URL removed)
Parse error: syntax error, unexpected T_VARIABLE in /home/ibs/public_html/RealEstate/config.php on line 22
<?php
/ $Id: config.php,v 1.1 2006-05-10 09:57:47-07 brian Exp brian $ /
// vim: expandtab sw=4 ts=4 sts=4:
########################################################################
Built2Go PHP Real Estate v1.0
----------------------------------------------------------------
Copyright © Big Resources, Inc. All Rights Reserved.
This software must be used in accordance with its licensing
This file may not be redistributed in whole or significant part.
---------------- BUILT2GO IS NOT FREE SOFTWARE -----------------
########################################################################
$siteurl = "http://".$_SERVER['SERVER_NAME']. "/RealEstate";
/* for IIS users you will need to add this manually.
eg: c:/Inet/www/path/script_name
*/
define('FULL_PATH', $_SERVER['DOCUMENT_ROOT']."/RealEstate"
/* Set your language...
Code: eng for english, nor for norwegian or other... */
$language = "eng"
// Full url of the module directory
define('MODULE_DIR',"modules"); // Full url of the module directory, no ending slashes.
define('MAXFILE_SIZE',"100"); // defines max file size for images in thousands.
define('MAXIMAGE_W_SIZE',"600"); // defines max image width size for uploaded images
define('MAXIMAGE_H_SIZE',"500"); // defines max image height size for uploaded images
define('LOWESTIMAGE_W_SIZE',"64"); // defines Lowest image width size for thumbnail images
define('NEWPICPATH',FULL_PATH."/org_pic"); // new image path no ending slash
define('THUMBPICPATH',FULL_PATH."/thumb_pic"); // thumbnail path no ending slash
define('DTLPICPATH',FULL_PATH."/dtl_pic"); // detailed iamge path no ending slash
define('DTLPICURL',"$siteurl/dtl_pic"); // detailed image url no ending slash
define('THUMBPICURL',"$siteurl/thumb_pic"); // thumbanil image url no ending slash
define('FLOOD_TIMEOUT',"1800"); // defines max time they have to wait before sending messages. used for slowing down spam
/* Your emailaddress. BE SURE TO SET. */
define('FROM',"example@example.com");
/* Defines your currency */
define('CURRENCY', "£");
define('FROM_PAYPAL',"example@example.com");
define('ITEM_NAME',"RealEstateItem");
define('CURRENCY_CODE', GPD"); // used mostly with paypal
define('CHARSET',"iso-8859-1"); // charset for content_type. only use iso-8859-1 or utf-8
/* Worldpay */
define('INSTID',"123456"); // worldpay login #
/*2Checkout*/
define('SERIAL_ID',"123456"); // 2checkout login #
define('TABLE_PREFIX',"b2g"); // mysql table prefix
/*Your Satate Code (iso), two letters only
example: GB UNITED KINGDOM
US UNITED STATES
UM UNITED STATES MINOR OUTLYING ISLANDS
[url]http://www.iso.org/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en1.html[/url]
*/
define('C_ISO',"GB"); //
/* How many products do you want per page*/
$buyer_per_page = 25;
/* Number of products per each page */
$number_of_ads_per_page = 5;
// set to on (1) it will NOT clean out the session db table automatically.
$GLOBALS['noshutdownfunc'] = 1;
// Do not edit below
include_once(FULL_PATH."/adminpanel/func.php");
@header("Cache-control: private");
?>