Location: PHPKode > scripts > Simple Poll > SimplePoll/config.inc.php
<?php
/*
 * Simple Poll
 * 
 * Created by: CodeMunkyX                            
 * Modified by: Doni Ronquillo
 * 
 * Copyright (c) 2011 http://www.free-php.net
 *
 * GPLv3 - (see LICENSE-GPLv3 included in folder)               
 *                                                                        
 * GalleryGenerator is free software you can redistribute it and/or modify      
 * it under the terms of the GNU General Public License as published by   
 * the Free Software Foundation, either version 3 of the License, or      
 * (at your option) any later version.                                    
 *                                                                        
 * This program is distributed in the hope that it will be useful,        
 * but WITHOUT ANY WARRANTY; without even the implied warranty of         
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the          
 * GNU General Public License for more details.                                                                                               
 * 
 */

// change to match your server's configuration
define(hostname,"localhost");  // mysql server host name
define(dbname,"SimplePoll");   // mysql database name
define(username,""); // mysql user name
define(password,""); // mysql password

// directory where templates are located (must end foward slash)
define(simplepoll,"/path/to/site/root/SimplePoll/templates/");

// url to the script main directory (must end foward slash)
define(simplepollurl,"http://domainname/SimplePoll/");
?>
Return current item: Simple Poll