Hello -
I am trying to install a php script for polling on my website and have run into a bit of a snag.
In the config.php file, I'm not sure how to configure the relative path for the templates folder.
Here is a portion from the config.php file:
// change to match your server's configuration
define(hostname,"localhost"); // mysql server host name
define(dbname,"dbnamehere"); // mysql database name
define(username,"mysqlusernamehere"); // mysql user name
define(password,"mysqlpasswordhere"); // mysql password
// directory where templates are located (must end foward slash)
define(templatedir,"/home/www/codemunkyx/www/www.free-php.net/htdocs/demo/SimplePoll/templates/");
// url to the script main directory (must end foward slash)
define(simplepollurl,"http://www.free-php.net/demo/SimplePoll/");
?>
I got all the database info configured fine, but it seems like I'm not configuring the bottom part correctly.
Here's is how I've got it configured (FYI - I put all the files into a folder called "poll" in the main directory):
// directory where templates are located (must end foward slash)
define(templatedir,"/home/poll/templates/");
// url to the script main directory (must end foward slash)
define(simplepollurl,"http://www.catholic-interactive.com/poll/");
Thanks so much in advance for your help - I appreciate it!