Laravel 5.1 makes it easy to disabling CSRF token check.Sometimes you may wish to exclude a set of URIs from CSRF protection. For example, if…
Leave a CommentCategory: PHP / MySQL
In this post I would like to write about MySQL trim()function.MySQL trim() function removes the specified characters from beginning and ending of the string and…
Leave a CommentYou can use either the MySQL UPPER() or LOWER() functions to format columns in your SQL SELECT statements or you can use these functions in…
Leave a CommentOften, you’ll find yourself in situations, where you want to pass some server-side string/array/whatever to your JavaScript. Traditionally, this can be a bit of a…
2 CommentsSometimes you may need to eager load a relationship after the parent modal has already been retrieved. For Example this may be very useful if…
Leave a CommentHere is the simple laravel’s eloquent code snippet to get results in a table when there are no results for the relationship. I have two…
Leave a CommentYii2 Default application name is “My Application”. You can change this name by editing the config/main.php. Just add the application name property in Config Array.…
Leave a CommentIn this post, I would like to show you how to create a drop-down list in yii2. This tutorial will help you to display the…
3 CommentsHere is the list of type checking function in PHP. Function Description is_array() Check for array type is_bool() Check for true or false type is_float()…
Leave a CommentThe alternative PHP tags <% (and <%=), %>, <script language=”php”>, and </script> have been removed in PHP7. Additionally the asp_tags ini directive is removed. Trying…
Leave a CommentIn this post, I would like to show you file uploading via cURL. cURL is a great glaring library. It can be used to make…
Leave a CommentOne more new operator from glaring PHP7, couple of days back I wrote about php7 spaceship operator , now I am going to write about…
Leave a CommentBlow are the some of the deprecated functionalities which are removed from the PHP7 as for RFC. 1. ext/ereg (deprecated in 5.3) and the ext/mysql…
Leave a CommentAnonymous functions are also known as Lambda functions. Lambda function and closures are the functions with no name. Anonymous functions has same variable scope characteristics…
Leave a CommentGenerators compute and yield iteration values on-demand unlike regular PHP iterators. Means generator returns a sequence of values with yield instead of a single value…
Leave a Comment