diff --git a/htdocs/1.0/bill.php b/htdocs/1.0/bill.php index 6edca46..8603d6c 100644 --- a/htdocs/1.0/bill.php +++ b/htdocs/1.0/bill.php @@ -23,6 +23,8 @@ require_once $_SERVER['DOCUMENT_ROOT'].'/includes/functions.inc.php'; require_once 'functions.inc.php'; +header('Content-type: application/json'); + # DECLARATIVE FUNCTIONS # Run those functions that are necessary prior to loading this specific page. diff --git a/htdocs/1.0/bills.php b/htdocs/1.0/bills.php index 341f30d..4dcdf56 100644 --- a/htdocs/1.0/bills.php +++ b/htdocs/1.0/bills.php @@ -20,6 +20,8 @@ require_once $_SERVER['DOCUMENT_ROOT'].'/includes/functions.inc.php'; require_once 'functions.inc.php'; +header('Content-type: application/json'); + # DECLARATIVE FUNCTIONS # Run those functions that are necessary prior to loading this specific page. diff --git a/htdocs/1.0/code-section.php b/htdocs/1.0/code-section.php index 2cbe208..0bd3eb2 100644 --- a/htdocs/1.0/code-section.php +++ b/htdocs/1.0/code-section.php @@ -17,6 +17,8 @@ require_once $_SERVER['DOCUMENT_ROOT'].'/includes/functions.inc.php'; require_once 'functions.inc.php'; +header('Content-type: application/json'); + # DECLARATIVE FUNCTIONS # Run those functions that are necessary prior to loading this specific page. @connect_to_db(); diff --git a/htdocs/1.0/legislator.php b/htdocs/1.0/legislator.php index ea30019..b99888d 100644 --- a/htdocs/1.0/legislator.php +++ b/htdocs/1.0/legislator.php @@ -18,6 +18,8 @@ require_once $_SERVER['DOCUMENT_ROOT'].'/includes/functions.inc.php'; require_once 'functions.inc.php'; +header('Content-type: application/json'); + # DECLARATIVE FUNCTIONS # Run those functions that are necessary prior to loading this specific # page. diff --git a/htdocs/1.0/photosynthesis.php b/htdocs/1.0/photosynthesis.php index e090e76..7bdd00e 100644 --- a/htdocs/1.0/photosynthesis.php +++ b/htdocs/1.0/photosynthesis.php @@ -19,6 +19,8 @@ require_once $_SERVER['DOCUMENT_ROOT'].'/includes/functions.inc.php'; require_once 'functions.inc.php'; +header('Content-type: application/json'); + # DECLARATIVE FUNCTIONS # Run those functions that are necessary prior to loading this specific # page. diff --git a/htdocs/1.1/bill.php b/htdocs/1.1/bill.php index 9201f2e..af7db3d 100644 --- a/htdocs/1.1/bill.php +++ b/htdocs/1.1/bill.php @@ -22,6 +22,8 @@ require_once $_SERVER['DOCUMENT_ROOT'].'/includes/functions.inc.php'; require_once 'functions.inc.php'; +header('Content-type: application/json'); + # LOCALIZE VARIABLES $year = mysql_escape_string($_REQUEST['year']); $bill = mysql_escape_string(strtolower($_REQUEST['bill'])); diff --git a/htdocs/1.1/bills.php b/htdocs/1.1/bills.php index aae9026..3cae5bd 100644 --- a/htdocs/1.1/bills.php +++ b/htdocs/1.1/bills.php @@ -20,6 +20,8 @@ require_once $_SERVER['DOCUMENT_ROOT'].'/includes/functions.inc.php'; require_once 'functions.inc.php'; +header('Content-type: application/json'); + # DECLARATIVE FUNCTIONS # Run those functions that are necessary prior to loading this specific page. $database = new Database; diff --git a/htdocs/1.1/code-section-video.php b/htdocs/1.1/code-section-video.php index 227e071..f612029 100644 --- a/htdocs/1.1/code-section-video.php +++ b/htdocs/1.1/code-section-video.php @@ -18,6 +18,8 @@ require_once $_SERVER['DOCUMENT_ROOT'].'/includes/functions.inc.php'; require_once 'functions.inc.php'; +header('Content-type: application/json'); + # DECLARATIVE FUNCTIONS # Run those functions that are necessary prior to loading this specific # page. diff --git a/htdocs/1.1/code-section.php b/htdocs/1.1/code-section.php index 1d19817..e919b77 100644 --- a/htdocs/1.1/code-section.php +++ b/htdocs/1.1/code-section.php @@ -18,6 +18,8 @@ require_once $_SERVER['DOCUMENT_ROOT'].'/includes/functions.inc.php'; require_once 'functions.inc.php'; +header('Content-type: application/json'); + # DECLARATIVE FUNCTIONS # Run those functions that are necessary prior to loading this specific # page. diff --git a/htdocs/1.1/legislator.php b/htdocs/1.1/legislator.php index 5dd3402..f10de66 100644 --- a/htdocs/1.1/legislator.php +++ b/htdocs/1.1/legislator.php @@ -18,6 +18,8 @@ require_once $_SERVER['DOCUMENT_ROOT'].'/includes/functions.inc.php'; require_once 'functions.inc.php'; +header('Content-type: application/json'); + # DECLARATIVE FUNCTIONS # Run those functions that are necessary prior to loading this specific # page. diff --git a/htdocs/1.1/legislators.php b/htdocs/1.1/legislators.php index 3ba8760..cd6db9b 100644 --- a/htdocs/1.1/legislators.php +++ b/htdocs/1.1/legislators.php @@ -20,6 +20,8 @@ require_once $_SERVER['DOCUMENT_ROOT'].'/includes/functions.inc.php'; require_once 'functions.inc.php'; +header('Content-type: application/json'); + /* * DECLARATIVE FUNCTIONS * Run those functions that are necessary prior to loading this specific page. diff --git a/htdocs/1.1/photosynthesis.php b/htdocs/1.1/photosynthesis.php index f3e0b6a..0eba25e 100644 --- a/htdocs/1.1/photosynthesis.php +++ b/htdocs/1.1/photosynthesis.php @@ -15,6 +15,8 @@ require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/functions.inc.php'; require_once 'functions.inc.php'; +header('Content-type: application/json'); + # DECLARATIVE FUNCTIONS # Run those functions that are necessary prior to loading this specific # page. diff --git a/htdocs/1.1/tag-suggest.php b/htdocs/1.1/tag-suggest.php index 8855f32..9aafaf3 100644 --- a/htdocs/1.1/tag-suggest.php +++ b/htdocs/1.1/tag-suggest.php @@ -15,6 +15,8 @@ require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/functions.inc.php'; require_once 'functions.inc.php'; +header('Content-type: application/json'); + /* * Localize variables */ diff --git a/htdocs/1.1/vote.php b/htdocs/1.1/vote.php index ec884d1..5f6058a 100644 --- a/htdocs/1.1/vote.php +++ b/htdocs/1.1/vote.php @@ -15,6 +15,8 @@ require_once $_SERVER['DOCUMENT_ROOT'].'/includes/functions.inc.php'; require_once 'functions.inc.php'; +header('Content-type: application/json'); + /* * Localize variables */