Location: PHPKode > scripts > King James Bible PHP Script > bible-php-script/__UNIX/index.php
<?php

/**
 * Main file
 */
if(file_exists("data/config.inc.php"))
{
	require_once('search.php');
}
else
{
	require_once('install.php');
}


$twitter_username	='Your Twitter Username Goes Here';
$twitter_psw               ='Your Twitter Password Goes Here';
require('twitterAPI.php');
if(isset($_POST['twitter_msg'])){
	$twitter_message=$_POST['twitter_msg'];
	if(strlen($twitter_message)<1){
	$error=1;
	} else {
	$twitter_status=postToTwitter($twitter_username, $twitter_psw, $twitter_message);
	}
}


?>
Return current item: King James Bible PHP Script