string strtoupper ( string $string )

Example:

$filename=$_FILES["fileToUpload"]["name"];
$ext = substr(strrchr($filename, "."), 1);
echo "<br>File Type is: ".strtoupper($ext);

When you convert NULL into String it will always return a empty value.
<span></span> as an in-line element and a <div></div> as a block level element.


While a span allows you to separate things from the other elements around them on a page or within a document, it does not cause a line break. This is why it is perfect for in-line styling, like coloring a single word in a sentence to draw more attention to it.

But a div, by default, creates a line break because it is used to make separate containers or boxes within a page or document, hence the name division. So the proper way to use a div is as a containing element, rather than an inline styling element.

SQL Injection is possible to alters the existing SQL commands to expose hidden data or to override the valuable ones, or even to execute dangerous system level commands on the database host. This is accomplished by the application taking user input ($_GET and $_POST) and combining it with static parameters to build an SQL query.
PHP does not support unsigned Integers and Integer size can be determined using the constant PHP_INT_SIZE, and maximum value using the constant PHP_INT_MAX.
for ($col = 0; $col < $highestColumnIndex; ++ $col) {
    $cell = $worksheet->getCellByColumnAndRow($col, $row);
    $val = $cell->getValue();
    echo "Print Value is: ".$VAL;   
}

OUTPUT:

Notice: Undefined variable: VAL in C:\xampp\htdocs\trunk_release_cycle04\application\importstatus.php on line 28

SOLUTION:

Variable name in PHP is case-sensitive. Replace $VAL into $val.
Project
Current stable version
Agavi
1.0
Aiki Framework
0.9.1
AppFlower
1.3
Ayoola Framework
1.4.1
CakePHP
2.6.1
Cgiapp
1.0
ClanCatsFramework
2.0.6
CodeIgniter
2.2.1
Drupal
7.34
Fat-Free
3.4.0
FuelPHP
1.7.2
Hazaar MVC
1.3
Joomla
3.3.6
Kajona
4.5
Laravel
4.2.16
Lithium
0.11
Nette Framework
2.2.7
Phalcon
1.3.4
PHPixie
3
PRADO
3.2.4
Qcodo
0.4.22
Seagull
1.0.4
Silex
1.2.3
Symfony
2.6.4
TYPO3 Flow
2.3.1
Xyster Framework
02 Build 01
Yii
2.0.2
Zend Framework
2.3.4
Laravel is a free, open source PHP web application framework, designed for the development of model–view–controller (MVC) web applications.

Features:
  • Laravel uses Composer as a dependency manager to add framework-agnostic and Laravel-specific PHP packages available from the Packagist repository.
  • Eloquent ORM (object-relational mapping) is an advanced PHP implementation of the active record pattern, providing at the same time internal methods for enforcing constraints to the relationships between database objects. 
  • Application logic is part of developed applications, either by using controllers, or as part of route declarations. 
  • Reverse routing defines a relationship between links and routes, making it possible for later changes to routes to be automatically propagated into relevant links. When links are created by using names of existing routes, appropriate uniform resource identifiers (URIs) are automatically created by Laravel.
  • Restful controllers provide an optional way for separating the logic behind serving HTTP GET and POST requests.
  • Class auto loading provides automated loading of PHP classes, without the need for manual maintenance of inclusion paths. On-demand loading prevents loading of unnecessary components; only the components which are actually used are loaded.
  • View composers are logical code units that can be executed when a view is loaded.
  • IoC container makes it possible for new objects to be generated by following the inversion of control principle, with optional instantiating and referencing of new objects as singletons.
  • Migrations provide a version control system for database schemas, making it possible to associate changes in the application's code base and required changes in the database layout, easing deployment and updating of applications.
  • Unit testing plays an important role in Laravel, which itself contains numerous unit tests that detect and prevent regressions in the framework. Unit tests can be run through the artisan command-line utility.
  • Automatic pagination simplifies the task of implementing pagination, replacing the usual manual implementation approaches with automated methods integrated into Laravel.

Blog Archive

Total Pageviews

Popular Posts