I know programming but I am pretty new in php. I am studying now some script and I cannot pass a config file. could anyone help me configuring a site.
the root folder is in d:/situri/agptg and the server folder is in d:/wamp/www/agptg and server address is http/localhost/agptg. And here is the config file
<?
/* Main Website URL
This is the url to your website.
*/
define("TGP_WEBSITE", "http://www.yoursite.com/");
/* Build URL
When ap|tgp creates static html files, it places them in a
directory on your server. Designate that directory here, and
be sure to include the trailing slash /.
*/
define("TGP_WEB_PUBLISH", "http://www.yoursite.com/site/");
/* Build Dir Path
You entered a URL above which designated the placement of
static html files. Specify that directory here again, but in
server path form, and be sure to include the trailing slash /.
*/
define("TGP_HTML_PATH", "/web/sites/you/yoursite.com/public_root/site/");
/* ap|tgp Script Directory URL
ap|tgp has a few php scripts that you will want publically
available. This includes webm_submit.php, webm_stats.php,
etc. ap|tgp needs to know the URL to the directory that will
hold these files. Be sure to include the trailing slash /.
*/
define("TGP_APTGP_URL", "http://www.yoursite.com/aptgp/");
/* ap|tgp System Dir Path
This is the server path your sfiles directory for ap|tgp. Be
sure to include the trailing slash /.
*/
define("TGP_SFILE_PATH", "/web/sites/you/yoursite.com/public_root/aptgp/sfiles/");
/* ap|tgp Include Dir Path
This is the server path your include directory for ap|tgp. Be
sure to include the trailing slash /.
*/
define("TGP_INCLUDE_PATH", "/web/sites/you/yoursite.com/public_root/aptgp/includes/");
/* ap|tgp Log
This is the server path your ap|tgp log file.
*/
define("ERROR_LOG_FILE", "/web/sites/you/yoursite.com/public_root/aptgp/sfiles/tgp_error.log");
/* ap|tgp Fast Logging
Set to true to add an initial file stage to your statistical
logging. This should be set to true unless your database does
not support LOAD DATA INFILE.
*/
define("FAST_LOG", true);
// DB Server
define("TGP_DBSERVER", "11.111.11.111");
// DB Name
define("TGP_DBNAME", "tgp_db");
// DB username
define("TGP_DBUSER","webuser");
// DB password
define("TGP_DBPASS","p9ssw0rd");
?>