Best open source CMS in php
Oct 30, 2009 Php
There are lot of articles on internet about this topic. But after reading those articles i felt that they are making confusion in reader’s mind because they are providing list of all the open source CMS and comparing them .After reading these articles a normal user can’t decide which CMS is best for him/her even they find them self in a hacting situation where they can’t decide best. There are near about 50 cms in php ,some of them are free and some of them are paid. They all cms has different length of functionality means some provides basic functionality and some provides complete control over site management (look and coding).
Tags: advanced, basic cms, best, cms, complete control over design and look, components, content management system, drupal, joomla, Joomla 1.0.5, joomla 1.5.11, modules, Php, php nuke, plugins, technical
Php latest news – PHP 5.3.0 & PHP 5.2.11 Released!
Oct 29, 2009 Php
PHP 5.3.0
The PHP development team has announced the immediate release of PHP 5.3.0. This release is a major improvement in the 5.X series, which includes a large number of new features and bug fixes.
Some of the key new features include: namespaces, late static binding, closures, optional garbage collection for cyclic references, new extensions (like ext/phar, ext/intl and ext/fileinfo), over 140 bug fixes and much more.
PHP 5.2.11
The PHP team has announced the immediate availability of PHP 5.2.11. This release focuses on improving the stability of the PHP 5.2.x branch with over 75 bug fixes, some of which are security related. All users of PHP 5.2 are encouraged to upgrade to this release.
Security Enhancements and Fixes in PHP 5.2.11:
- Fixed certificate validation inside php_openssl_apply_verification_policy.
- Fixed sanity check for the color index in imagecolortransparent().
- Added missing sanity checks around exif processing.
- Fixed bug #44683 (popen crashes when an invalid mode is passed).
Tags: full list of changes in PHP 5.3.0, news, Php, php 5.2.11, php 5.3.0, PHP Latest Development News, php latest news, php release, php vlatest version, PHPDeveloper, the best and latest in PHP
Php mail function
The mail() function allows you to send emails directly from a script. This function returns TRUE if the email was successfully accepted for delivery, otherwise it returns FALSE.
bool mail ( string $to , string $subject , string $message [, string $additional_headers [, string $additional_parameters ]] )
To send email using PHP, you use the mail() function. This accepts 5 parameters as follows (the last 2 are optional)
Tags: delivery, from, headers, html mail, mail function, mail(), message, parameters, Php, php mail, send mail, subject, text mail, to
JavaScript Arrays
Oct 26, 2009 Javascript
Arrays are extremely useful for storing and manipulating information in any language.The array is one of a number of objects built directly into JavaScript. Think of them simply as variables containing multiple values. An array is a variable that can store many variables within it.In javascript arrays are same like other languages.
Values in a javascript array are accessed same as we access in php.
1.Using position (exe. myArray[2])
Creating a JavaScript Array
<script type=”text/javascript”>
<!–
var myArray = new Array();
myArray[0] = “Football”;
myArray[1] = “Baseball”;
myArray[2] = “Cricket”;
alert(myArray[0] + myArray[1] + myArray[2]);
//–>
</script>
Tags: array, array function, Array Object, Javascript, Multidimensional Arrays, Php, session array, sort, twodimensional arrays
Sessions in php
I always try to provide good information to beginners in php because these small looking problems may be big problem for a beginner. Session are one of them.
We use sessions when we get to a stage where our website need to pass along user data from one page to another.
A normal HTML website will not pass data from one page to another. In other words, all information is forgotten when a new page is loaded. This makes it quite a problem for tasks like a shopping cart, which requires data(the user’s selected product) to be remembered from one page to the next.
Using session you can send information between one page to another.However, this session information is temporary and is usually deleted very quickly after the user has left the website that uses sessions. Sessions work by creating a unique identification(UID) number for each visitor and storing variables based on this ID. This helps to prevent two users’ data from getting confused with one another when visiting the same web page. Read the rest of this entry »
Tags: array, Destroy session, isset, Multidimensional Arrays, passing value, Php, PHP session, print_r, session, session array, session_destroy, session_start, unset
