Introduction to PHP PDO (PHP Data Objects) by Kevin Waterson Contents What is PDO What Databases does PDO support Where do I begin? Connect to a Database Connect to PgSQL Connect to SQLite Connect to MySQL Connect to Firebird Connect to Informix Connect to Oracle Connect to ODBC Connect to DBLIB Connect to IBM There …
Category Archives: PHP
php load file
function parse($file) { global $str; ob_start(); include($file); $buffer = ob_get_contents(); ob_end_clean(); return $buffer; } function parse($file) { global $str; ob_start(); include($file); $buffer = ob_get_contents(); ob_end_clean(); return $buffer;}
Understanding PHP eval function and usage Do more than just evaluating
#1: The syntax behind the eval(); It is very simple and straight forward… You pass any string argument through the eval construct. The string will be treated as any PHP code. The basic syntax is: http://www.intechgrity.com/understanding-php-eval-function-and-usage-do-more-than-just-evaluating/
PHP Mysql Search Sctipt
<?php $hostname_logon = “localhost” ; $database_logon = “” ; $username_logon = “” ; $password_logon = “” ; $connections = mysql_connect($hostname_logon, $username_logon, $password_logon) or die ( “Unabale to connect to the database” ); mysql_select_db($database_logon) or die ( “Unable to select database!” );
Free Feature-rich PHP Mailer swiftmailer
Free Feature-rich PHP Mailer Swift Mailer integrates into any web app written in PHP 5, offering a flexible and elegant object-oriented approach to sending emails with a multitude of features. Send emails using SMTP, sendmail, postfix or a custom Transport implementation of your own Support servers that require username & password and/or encryption Protect from …