0) { $created = @mysql_result($result, 0, "created"); $days = (strtotime(date("Y-m-d H:i:s")) -strtotime($created)) / (60 * 60 * 24); $hours = $days*24; if ($hours > 48) header("Location: dictionary-expire.html"); } if (isset($_POST['dreamDetail']) && Trim($_POST['dreamDetail']) != "") { // Grab the posted dream details $dream = $_POST['dreamDetail']; // Strip newline and return. $punc = array("\n", "\r"); $dream = str_replace($punc, " ", $dream); // Strip all NON alpha numeric character (leaving spaces alone) $dream = ereg_replace("[^A-Za-z0-9 ]", "", $dream); // Make any capital words or letters lower case so we only have to worry about matching lower case words. $dream = strtolower($dream); // Break the dream up into it's seperate words so we can see if any words match. $words = explode(" ", $dream); // Remove any blank elements from the array foreach($words as $key => $value) { if(trim($value) == "") { unset($words[$key]); } } // Implode into comma seperated string $words = implode ("\",\"", $words); $words = "\"".$words."\""; // Search the instant_dreams tables keyword fields against the array or words $query = "SELECT * FROM instant_dreams WHERE keyword1 IN ($words) OR keyword2 IN ($words) OR keyword3 IN ($words)"; $result = mysql_query($query) OR die($query . mysql_error()); $resultsString = ""; for ($i = 0; $i < mysql_numrows($result); $i ++) { $keyword1 = @mysql_result($result, $i, "keyword1"); $keyword2 = @mysql_result($result, $i, "keyword2"); $keyword3 = @mysql_result($result, $i, "keyword3"); $definition = ereg_replace ("\n\r", "

" , @mysql_result($result, $i, "definition")); // Create prefix $prefix = ucwords($keyword1); // If keyword2 is not empty append to the prefix if (!empty($keyword2)) $prefix = $prefix."/".ucwords($keyword2); // If keyword2 is not empty append to the prefix if (!empty($keyword3)) $prefix = $prefix."/".ucwords($keyword3); // Search the wordpress table for blog content against the array or words $query_wp = "SELECT ID, post_title FROM wp_posts WHERE (post_content LIKE '%$keyword1%'"; if (!empty($keyword2)) $query_wp .= " OR post_content LIKE '%$keyword2%'"; if (!empty($keyword3)) $query_wp .= " OR post_content LIKE '%$keyword2%'"; $query_wp .= ")"; $query_wp .= " AND post_status = 'publish'"; $query_wp .= " ORDER BY post_title LIMIT 0, 6"; $result_wp = mysql_query($query_wp) OR die($query_wp . mysql_error()); $wp_post = ""; if (mysql_numrows($result_wp) > 0) { $wp_post = "

\"dream dreams and articles containing ".strtolower($prefix)."

"; for ($j = 0; $j < mysql_numrows($result_wp); $j ++) { $wp_post .= "
".@mysql_result($result_wp, $j, "post_title")."
"; } } $resultsString .= "
$prefix: $definition $wp_post"; } } ?> The Dream Zone

Are you ready to UNLOCK your dreams
and CHANGE your life?

Every part of your dream, the objects, the characters, the actions, the setting, all of it is carefully put together by your dreaming mind in order to give you a message you need to know about your life RIGHT NOW.

0) $ipfound = true; else $ipfound = false; if ($ipfound) { $query = "UPDATE dictionary_log SET uses = uses + 1 WHERE ip = '$ip'"; $result = mysql_query($query) OR die($query . mysql_error()); } else { $query = "INSERT INTO dictionary_log (ip, uses, created) VALUES ('$ip', '1', '".date('Y-m-d H:i:s')."')"; $result = mysql_query($query) OR die($query . mysql_error()); } ?>

Take Action...

I urge you to EMPOWER every part of your life by getting the best advice, directions and warnings that your dreams offer you.

Get Lifetime Access to...

check Unlimited access to this HUGE DREAM DICTIONARY of over 6000 symbols (instant interpretations!).

Dream expert Lauri Quinn Loewenberg
check Direct contact with me ask me ANYTHING about your dreams.
check Private Dream Decoding Dream Journal
check Dreaming 101 audio course where I reveal all my Secrets to Understanding Your Dreams
check Step-By-Step Instruction on how to REMEMBER, INTERPRET, and CONTROL your dreams.
check Celebrity Dreams, Article Archives, Dream of the week and more!

 

Lifetime Forever
Access:

$9.80!

One-time fee
You save 90% off the regular price of $99.00!

check
No monthly fee's EVER!!
check
Never pay another penny! EVER!!
check NEVER wonder what your dreams mean again!

ORDER NOW!

Unlock your dreams, change your life!

Click here for more details and screen shots.

As soon as you complete your order you will automatically be issued a permanent Access ID and Password and sent directly into my private site.

Was there a symbol missing? Click hereto let me know and I'll add it!

 

 

 

 

 

 

 

 

 

AUTOGRAPHED