| PHP, MySQL General PHP questions. Or go to our PHPsuexec Forum >> |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread |
|
|
#1 (permalink) |
|
Registered User
Fresh Surpasser
Joined in May 2003
8 posts
Gave thanks: 0
Thanked 0 times
|
Hey Guys and Girls,
Im trying to install a survey script and it is being a royal pain... It needs some info to start off with and I think I have it right But Im not sure about the port # for sql... Ill post in the code here from the config file... Rich // DATABASE SETUP $databaselocation = "localhost"; //Network location of your MySQL Database $databaseport = "3306"; // The port of your MySQL Database (3306 is default) $databasename = "surveyor"; // The name of the database that we will create // SITE INFO $homeurl = "http://{$_SERVER['SERVER_NAME']}/surveyor/admin"; //The website location (url) of the admin scripts $publicurl = "http://{$_SERVER['SERVER_NAME']}/surveyor"; //The public website location (url) of the public survey script $sitename = "Surveyor"; //The official name of the site (appears in the Window title) $homedir = "{$_SERVER['DOCUMENT_ROOT']}/surveyor/admin"; //The physical disk location of the admin scripts $publicdir = "{$_SERVER['DOCUMENT_ROOT']}/surveyor"; //The physical disk location of the public scripts $scriptname = "admin.php"; //The name of the admin script (can be changed to index.php if you want but this is a bit better) $accesscontrol = 1; //make 0 for no access control $defaultuser = "admin"; //This is the default username when security is first turned on $defaultpass = "password"; //This is the default password for when security is first turned on $siteadminemail = "your emailaddress"; //The email address of the site administrator$siteadminname = "The site administrators name"; //The name of the site administrator $surveyfaxnumber = "Site Fax Number"; //The fax number for survey responses if you use the printablesurvey script $dropdowns = "R"; //SHOW DROPDOWN LISTS in Public Survey as Radio Buttons ® or Dropdown List (L) $lwcdropdowns = "R"; //SHOW DROPDOWN LISTS WITH COMMENT in Public Sruvey as Radio Buttons ® or Dropdown List (L) $maxemails = 100; // |
|
|
|
|
#3 (permalink) | |||
|
the one who was
Super #1
Joined in Jul 2003
Lives in Memphis
1,967 posts
Gave thanks: 0
Thanked 3 times
|
Quote:
Quote:
Quote:
Everything else should be fine. Give it a go, and post back here with any problems and we will hammer them out.
__________________
Patrick Warnings: The program(s) might crash unexpectedly or behave otherwise strangely. (But of course, so do many commercial programs on Windows.) --www.gimp.org |
|||
|
|