.headtxt{ font-family: Helvetica, Arial, sans-serif; font-size: 16px; font-weight: bold; color: #454545; margin-top: 0px; padding: 1px; } EOM; ///////////////////////////////////////////// // load the BPC function require('/var/www/virtual/psoug.org/htdocs/util/bpcaptcha.php'); // load the list of random words require('/var/www/virtual/psoug.org/htdocs/util/rand_word.php'); // pick a random word from the list $random_word = $rword[rand(0, count($rword) - 1)]; // add some junk to the front of the random word $rcode1 = "SecretSalt$random_word"; // hash the code $rcode2 = md5($rcode1); // call the BPC function to make the HTML $HTML_code = bpcaptcha($random_word); ///////////////////////////////////////////// ///////////////////////////////////// $titlebar_text = 'Free Oracle Whitepapers and Technical Briefs'; $page_title = $titlebar_text; $header_bar_text = $titlebar_text; ///////////////////////////////////// $act = sanitize(2, 4, $_POST['act']); ///////////////////////////////////// // get header include('../header.php'); if($act == 'proc'){ $titlebar_text = 'Processing PSOUG Membership...'; $page_title = $titlebar_text; $header_bar_text = $titlebar_text; // gather incoming vars $fname = addslashes(sanitize(4, 30, $_POST['fname'])); $lname = addslashes(sanitize(4, 30, $_POST['lname'])); $address_1 = addslashes(sanitize(4, 255, $_POST['addr1'])); $address_2 = addslashes(sanitize(4, 255, $_POST['addr2'])); $city = addslashes(sanitize(4, 255, $_POST['city'])); $zip_code = addslashes(sanitize(4, 15, $_POST['zip'])); $country = addslashes(sanitize(4, 60, $_POST['country'])); $comp_phone = addslashes(sanitize(4, 30, $_POST['compphone'])); $comp_name = addslashes(sanitize(4, 100, $_POST['compname'])); $comp_size = addslashes(sanitize(4, 255, $_POST['compsize'])); $email = addslashes(sanitize(5, 60, $_POST['mail'])); $state_province = addslashes(sanitize(4, 255, $_POST['stprov'])); $industry = addslashes(sanitize(4, 255, $_POST['industry'])); $job_title = addslashes(sanitize(4, 255, $_POST['jobtitle'])); // try and get the real IP address... if (getenv('HTTP_CLIENT_IP')) { $ip_address = getenv('HTTP_CLIENT_IP'); }elseif (getenv('HTTP_X_FORWARDED_FOR')) { $ip_address = getenv('HTTP_X_FORWARDED_FOR'); }elseif (getenv('HTTP_X_FORWARDED')) { $ip_address = getenv('HTTP_X_FORWARDED'); }elseif (getenv('HTTP_FORWARDED_FOR')) { $ip_address = getenv('HTTP_FORWARDED_FOR'); }elseif (getenv('HTTP_FORWARDED')) { $ip_address = getenv('HTTP_FORWARDED'); }else { $ip_address = $_SERVER['REMOTE_ADDR']; } $join_date = date('Y-m-d G:i:s'); $comp_phone = str_replace('.', '-', $comp_phone); /* print <<
EOM; */ ///////////////////////////////////////////////////////// // CAPTCHA CHECK - try to match the hash... // get the passed "cap" code $cap_text = sanitize(3, 50, $_POST['cap_text']); // get the check code $cap_check = sanitize(3, 50, $_POST['cap_check']); // add the junk letters onto the front of the text the user entered $hashcode = "SecretSalt$cap_text"; // hash the result from above $hashcode1 = md5($hashcode); // compare the hashcode1 var to the passed in $cap_check var if($hashcode1 != $cap_check){ print <<

The anti-spam code you entered didn't match. Please enter the correct code and try again.

EOM; print_form(); // get footer include('../footer.php'); exit; } ///////////////////////////////////////////////////////// if($fname == '' || $lname == '' || $address_1 == '' || $city == '' || $comp_phone == '' || $comp_name == '' || $comp_size == '' || $email == '' || $job_title == '' || $state_province == '' || $zip_code == ''){ $fail_flag = '1'; $fail_msg = 'One or more fields is missing.
Please fill in all of the fields, then then resubmit the form.'; print "


"; print_form(); } $mailtest = "SELECT * FROM netshelter_list WHERE email = '$email'"; $mailtest_result = mysql_query($mailtest); $rows_found = mysql_num_rows($mailtest_result); if($rows_found > 0){ $fail_flag = '1'; $safe_email = htmlspecialchars($email); $fail_msg = "The email address '$safe_email' is already in use.
Please use a different email address, then resubmit the form."; print "


"; print_form(); } // if form data is okay, so add it to the database and print a success message... if($fail_flag != '1'){ // get the IP address $ip_address = $_SERVER['REMOTE_ADDR']; // get today's time and date $join_date = date("Y-m-d H:i:s"); // generate a random code $random_code = generateKEY(); ////////////////////////////////////////////////////// // try and match the country to a country_code $upper_country = strtoupper($country); $ccode = "SELECT COUNTRY_CODE2 FROM country_lookup WHERE COUNTRY_NAME = '$upper_country' LIMIT 1"; $ccode_result = mysql_query($ccode); if( mysql_num_rows($ccode_result) > 0){ $country_row = mysql_fetch_array($ccode_result); $country_code = strtolower($country_row['COUNTRY_CODE2']); }else{ $country_code = 'xx'; } ////////////////////////////////////////////////////// $sql = "INSERT INTO netshelter_list (user_id, first_name, last_name, address_1, address_2, city, state_province, zip_postal_code, country, country_code, comp_name, comp_phone, industry, job_title, comp_size, email, ip_address, join_date, random_code) VALUES ('', '$fname', '$lname', '$address_1', '$address_2', '$city', '$state_province', '$zip_code', '$country', '$country_code', '$comp_name', '$comp_phone', '$industry', '$job_title', '$comp_size', '$email', '$ip_address', '$join_date', '$random_code')"; //print "SQL: $sql

"; $sqlresult = mysql_query($sql); if($sqlresult != '1'){ print "There was an error adding your information. Please contact us and let us know about this so we can complete your membership registration.
"; }else{ $safe_email = htmlspecialchars($email); print "

Thank you! Your whitepaper download request was received.

You should receive an email shortly at '$safe_email' with a validation link. You MUST click on the link to complete your registration and gain access to the download area. (If you don't see the email within a few hours, please check your SPAM folder or contact us.)

Continue..."; // get the just inserted user_id $new_user_id = mysql_insert_id(); // send an email with the info to the user and CC the admin $toText = $email; $fromText = "info@psoug.org"; $subjectText = "PSOUG Whitepaper Access Request"; $msgText = "Thank you for requesting access to our Oracle Whitepapers. To complete your access request, please click the link below:\n\nhttp://psoug.org/whitepapers/access.htm?key=$new_user_id:$random_code\n\nIf you don't want to download the free Oracle Whitepapers and Technical documents, just ignore this email.\n\nThe Staff at PSOUG.org\nhttp://psoug.org/"; // send the mail mail($toText, $subjectText, $msgText, "To: $toText <$toText>\n" . "From: $fromText <$fromText>\n"); /////////////////////////////////////////// /////////// send email to admin? ////////// if($send_email_to_admin == '1'){ $toText = 'info@psoug.org'; $fromText = "info@psoug.org"; $subjectText = "PSOUG Whitepaper Reg Started"; $msgText = "A user has requested access to the whitepapers:\n\nName: $fname $lname\nAddress1: $address_1\nAddress2: $address_2\nCity: $city\nState/Prov: $state_province\nZip: $zip_code\nCountry: $country\nCCode: $country_code\nCompany Name: $comp_name\nCompany Phone: $comp_phone\nIndustry: $industry\nJob Title: $job_title\nCompany Size: $comp_size\nEmail: $email\nIP: $ip_address\nJoin Date: $join_date\nRandom Code: $random_code"; // send the mail mail($toText, $subjectText, $msgText, "To: $toText <$toText>\n" . "From: $fromText <$fromText>\n"); } /////////////////////////////////////////// } } }else{ // display the form print_form(); } ///////////////////////////////////////////// function print_form(){ global $fname, $lname, $phone, $email, $rcode2, $HTML_code, $zipcode, $country, $address_1, $address_2, $city, $state_province, $zip_code, $comp_name, $comp_phone; print <<
Free Oracle Whitepapers and Technical Briefs

PSOUG is proud to offer the following free Oracle Whitepapers and Technical Briefs. To download any or all of these whitepapers or technical documents simply fill in the registration form below. Note: You must use a valid email address so you can respond to the confirmation email.

WebLogic Suite ActiveCache and Increasing ROI: A Technical Perspective
Many enterprises have successfully employed Oracle WebLogic Server in their most demanding environments for many years and continue to be very satisfied. There are many WebLogic Server deployments, however, that could be optimized to use far fewer resources per supported user. By deploying Oracle Coherence and employing a set of WebLogic Server features collectively known as ActiveCache, Java EE applications can make much better use of modern, multi-core processors. Learn more about the benefits of Oracle ActiveCache in this free white paper.

Platform-as-a-Service Private Cloud with Oracle Fusion Middleware
Cloud computing is now going private, whereby enterprises set up cloud-like, centralized shared infrastructure with automated capacity adjustment that internal departmental "customers" utilize in a self-service manner. See what this means for your organization and learn how Oracle Fusion Middleware's comprehensive foundation for enterprise private clouds is helping other companies realize large gains in efficiency, performance, and agility.

Application Grid: The Ideal Platform for IT Consolidation
Consolidating or reducing the number of vendors of a given technology can significantly improve efficiency by streamlining operations. Read this paper to learn how application grid, an emerging architecture for application server-level infrastructure, is ideally suited for consolidation.
Advanced Compression with Oracle Database 11g Release 2
The sudden explosion in data volume presents a daunting management challenge for IT administrators, including spiraling storage costs to application scalability and performance. Read this paper to learn how innovations in Oracle compression technologies are helping customers reduce the resources and costs of managing large data volumes, while maintaining service and performance levels.

Lowering your IT Costs with Oracle Database 11g Release 2
Today's IT professionals are being asked to manage more information, and deliver that information to their users, with ever increasing quality of service, in a timely manner. Read this paper to learn how Oracle Database 11g Release 2 is helping organizations around the globe reduce server costs, while simultaneously simplifying the overall IT software portfolio, emilinating idle redundancy in the data center, and improving mission critical system performance.

Using Oracle In-Memory Database Cache to Accelerate the Oracle Database
The Oracle In-Memory Database Cache (IMDB Cache) is an Oracle Database product option ideal for caching performance-critical subsets of an Oracle database in the application tier. Read this paper to learn how this functionality accelerates business processes, enables real-time business intelligence, and facilitates the personalization of customer-facing applications.

Partitioning with Oracle Database 11g Release 2
Oracle Partitioning is one of the most important and successful functionalities of the Oracle database, improving the performance, manageability, and availability for tens of thousands of applications. Read this paper to learn the benefits and master the basics of this valuable function.
Oracle Database 11g: Cost-Effective Solutions for Security and Compliance
While most organizations have deployed firewall, intrusion detection, and anti-spam technologies, protecting data now requires a defense-in-depth strategy that also addresses regulatory compliance. Read this paper to learn how the Oracle database provides defense-in-depth security controls that enable organizations to transparently protect data and ensure regulatory compliance in a cost-efficient and sustainable way.

Driving Datacenter Efficiency Through Server and Application Consolidation
The massive expansion of compute infrastructure over the last few decades has left many organizations facing power and cooling, floor space, and administrative challenges. By embracing application and server consolidation strategies, IT managers can gain real efficiencies that lower costs and streamline operations. Read this white paper to learn about the virtualization capabilities provided by Sun SPARC Enterprise M-Series servers, and the benefits they can deliver to your company.
Strategies for Solving the Datacenter Space, Power, and Cooling Crunch: Sun Server and Storage Optimization Techniques
Limited space, power, and cooling capacity have led many organizations to recognize that capital and operating expenses for datacenters have become an increasing part of their budgets over time. The lack of flexibility caused by outdated, inefficient datacenters has also begun to affect business agility. Read this paper to understand Oracle's two-step approach to datacenter efficiency and how it might impact your organization's own initiatives, and bottom line.

Dramatically Accelerate Oracle Database Performance
Maximizing the performance of enterprise applications can be critical to gaining the types of operational efficiencies that help organizations remain competitive in today's fast-paced markets. Optimizing performance at every layer of the IT infrastructure is important. Servers, storage devices, operating systems, and database engines all contribute to the effectiveness of a solution. Read this paper to understand why Oracle's Sun SPARC Enterprise M-Series servers running the Oracle Solaris operating system are ideal platforms for meeting the demands of enterprise application workloads.

The New Economics of Midsize Enterprise Computing: Oracle's Sun Systems Based on the Intel Xeon Processor 5500 Series
Midsize companies often face the same competitive pressures as large-scale enterprises, but without the same resources or staff. To make things worse, legacy midsize computing systems offer limited processing abilities, but they still require significant power and cooling resources. Read this paper to see how Oracle's Sun systems based on the Intel(r) Xeon(r)processor 5500 series provide midsize businesses with enterprise-class performance, enabling them to compete more effectively, lower costs, and grow more rapidly.

Reducing Costs Through Better Server Utilization
As IT organizations support dynamically changing business priorities and cope with economic pressures, maintaining datacenter agility is critical By consolidating systems onto the latest server technology and taking advantage of virtualization techniques, enterprises can optimize datacenter efficiency, gain flexibility, and reduce operating costs—without sacrificing performance or impacting service levels. Read this white paper to understand how your company can use innovative virtualization and consolidation technologies from Oracle to create substantial savings on their investments in Sun servers from Oracle.
Virtualize with Sun SPARC Enterprise M-Series Servers
Companies are increasingly dependent on technology to achieve business goals, which can lead to sprawling and complex IT infrastructures as a company grows and changes. This white paper focuses on the business benefits that can be achieved by consolidating and virtualizing environments with Oracle's Sun SPARC Enterprise M-Series servers. Read this paper to understand the challenges many organizations are facing and how Sun SPARC Enterprise M-Series servers offer an effective solution for getting operations and costs under control.

Oracle Data Integrator Enterprise Edition A Technical Overview
Integrating data and applications throughout the enterprise and presenting them in a unified view is a complex proposition. Not only are there broad disparities in technologies, data structures, and application functionality, but there are also fundamental differences in integration architectures. Many organizations address these diverse needs with a broad palette of tools and technologies, resulting in disjointed integration projects with no leverage or unity between them. This white paper provides a technical overview of a data integration tool that meets the performance, flexibility, productivity, and modularity requirements of an integration platform.
Oracle Tuxedo: Lower Total Cost of Ownership for Mission-Critical Applications
In today's challenging economy, companies are eager to minimize the cost of running business-critical applications. To meet these needs, market leaders are adopting low-cost, commodity hardware, standards-based software, and flexible service-oriented architectures (SOA), leveraging heterogeneous, distributed IT assets, as a foundation for mission critical applications. Read this whitepaper to see why Oracle Tuxedo, a key offering within Oracle Fusion Middleware, is the platform of choice for these industry leaders.

Real-time Data Warehousing with ODI-EE Changed Data Capturet
The conventional approach to data integration involves extracting all data from the source system and then integrating the entire set in the target system. This approach can be inefficient when the integration process requires real-time data integration. In such situations, the amount of data involved makes data integration impossible in the given timeframes. Reducing the volume of the source data to only changed data is a major issue in many fields, such as data synchronization and replication. Read this technical brief to understand how ODI-EE's use of Changed Data Capture can solve for this problem, saving both time and resources.
A Guide to SOA Implementation
Read this eGuide to learn how service-oriented architecture (SOA) can enable your organization to quickly and efficiently respond to changes in the business environment and to leverage that change for competitive advantage. Also, use the checklist and best practices included in the guide to ensure your company's SOA implementation initiative will be successful.

To download any or all of these whitepapers or technical documents simply fill in the registration form below. Note: You must use a valid email address so you can respond to the confirmation email.
First Name:
Last Name:
Address 1:
Address 2:
Zip/Postal Code:
Company Name:
Company Phone:
Job Title:
Company Size:
Email: (Must be a valid email)
Confirm Email:
Fill in the word:

EOM; } ///////////////////////////////////////////// function generateKEY($numAlpha=9){ $listAlpha = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'; return str_shuffle(substr(str_shuffle($listAlpha),0,$numAlpha)); } ///////////////////////////////////////////// // get footer include('../footer.php'); ?>