document.write("<div class=\"pastie\">\n");
document.write("  <link href=\"http://pastie.org/stylesheets/embed.css\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />\n");
document.write("  <link href=\"http://pastie.org/stylesheets/clean.css\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />\n");
document.write("  \n");
document.write("\n");
document.write("  \n");
document.write("  \n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("	\n");
document.write("	<div class=\"allcode\">\n");
document.write("		<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\">\n");
document.write("		<tr>\n");
document.write("			<td>\n");
document.write("				\n");
document.write("				<pre class=\"textmate-source-numbers\">1\n");
document.write("2\n");
document.write("3\n");
document.write("4\n");
document.write("5\n");
document.write("6\n");
document.write("7\n");
document.write("8\n");
document.write("<\/pre>\n");
document.write("			<\/td>\n");
document.write("		<td>\n");
document.write("		<pre class=\"textmate-source\"><pre class=\"sunburst\"><span class=\'source source_php source_php_embedded source_php_embedded_block source_php_embedded_block_html\'>&lt;?php\n");
document.write("	<span class=\'meta meta_include meta_include_php\'><span class=\'keyword keyword_control keyword_control_import keyword_control_import_include keyword_control_import_include_php\'>include<\/span> <span class=\'string string_quoted string_quoted_double string_quoted_double_php\'>&quot;<span class=\'meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_double meta_string-contents_quoted_double_php\'>lib/adodb/adodb.inc.php<\/span>&quot;<\/span><\/span>;\n");
document.write("	<span class=\'variable variable_other variable_other_php\'>$db<\/span> <span class=\'keyword keyword_operator keyword_operator_assignment keyword_operator_assignment_php\'>=<\/span> <span class=\'meta meta_function-call meta_function-call_php\'>NewADOConnection<\/span>(<span class=\'string string_quoted string_quoted_double string_quoted_double_php\'>&quot;<span class=\'meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_double meta_string-contents_quoted_double_php\'>oci8<\/span>&quot;<\/span>);\n");
document.write("	<span class=\'variable variable_other variable_other_php\'>$db<\/span><span class=\'keyword keyword_operator keyword_operator_class keyword_operator_class_php\'>-&gt;<\/span><span class=\'variable variable_other variable_other_property variable_other_property_php\'>connectSID<\/span> <span class=\'keyword keyword_operator keyword_operator_assignment keyword_operator_assignment_php\'>=<\/span> <span class=\'constant constant_language constant_language_php\'>true<\/span>;\n");
document.write("	<span class=\'variable variable_other variable_other_php\'>$db<\/span><span class=\'keyword keyword_operator keyword_operator_class keyword_operator_class_php\'>-&gt;<\/span><span class=\'variable variable_other variable_other_property variable_other_property_php\'>debug<\/span> <span class=\'keyword keyword_operator keyword_operator_assignment keyword_operator_assignment_php\'>=<\/span> <span class=\'constant constant_language constant_language_php\'>false<\/span>;\n");
document.write("	<span class=\'support support_function support_function_construct support_function_construct_php\'>echo<\/span> <span class=\'string string_quoted string_quoted_double string_quoted_double_php\'>&quot;<span class=\'meta meta_string-contents meta_string-contents_quoted meta_string-contents_quoted_double meta_string-contents_quoted_double_php\'>result: <\/span>&quot;<\/span> <span class=\'keyword keyword_operator keyword_operator_string keyword_operator_string_php\'>.<\/span> <span class=\'variable variable_other variable_other_php\'>$db<\/span><span class=\'keyword keyword_operator keyword_operator_class keyword_operator_class_php\'>-&gt;<\/span><span class=\'meta meta_function-call meta_function-call_object meta_function-call_object_php\'>Connect<\/span>(<span class=\'variable variable_other variable_other_php\'>$dbhost<\/span>,\n");
document.write("		<span class=\'variable variable_other variable_other_php\'>$dbuser<\/span>, <span class=\'variable variable_other variable_other_php\'>$dbpass<\/span>, <span class=\'variable variable_other variable_other_php\'>$dbsid<\/span>);\n");
document.write("<span class=\'source source_php\'>?<\/span>&gt;<\/span>\n");
document.write("<\/pre><\/pre>\n");
document.write("		<\/td>\n");
document.write("		<\/tr>\n");
document.write("		<\/table>\n");
document.write("	\n");
document.write("	<\/div>\n");
document.write("\n");
document.write("\n");
document.write("  \n");
document.write("  \n");
document.write("  <div class=\"credit\">\n");
document.write("    <div class=\"buttons\">\n");
document.write("      <a href=\"http://pastie.org/pastes/867488.txt\">\n");
document.write("      <img src=\"http://pastie.org/images/view.png\" height=\"20\" width=\"67\" /><\/a>\n");
document.write("    <\/div>\n");
document.write("  \n");
document.write("    <a href=\"http://pastie.org/867488\">Pastie #867488<\/a> linked directly from <a href=\"http://pastie.org/\">Pastie<\/a>.\n");
document.write("  <\/div><\/div>");

