Tutorials

Category

26 posts found

29 Feb 2016
4.17K
No Comments

I was working on my site featuring posts for dynamic data which I can get from csv and show listing in Ordinal number format then I think it should be a define function to dynamically set ordinal number format. Here is function I have defined and posted here. In function

Post in

12 Oct 2015
14.14K
No Comments
PHP Server Side Form Validation tutorial

PHP Server Side Form Validation is highly recommended and unbreakable from browser like front-side JavaScript validation easily crack from browser, and JavaScript form validation is user friendly and JavaScript validation can save user time and even user don’t need to fill again and again form fields if fails from php

Post in

8 Oct 2015
3.16K
No Comments

If hacker needs to get your absolute path they easily can go to any core file by direct access like showed in below, DIRECT ACCESS ANY CORE FILE OF LARAVEL domain.com/app/controllers/HomeController.php laravel-APP-Path/tests/TestCase.php Fatal Error: Class ‘Illuminate\Foundation\Testing\Testcase’ not found in laravel-APP-Path/tests/TestCase.php on line 3 DIRECT ACCESS LARAVEL HOME CONTROLLER domainname.com/laravel-APP-Path/controllers/HomeController.php Fatal Error:

Post in

8 Oct 2015
3K
No Comments

PHP 5.5 and in older version constants cannot store directly array In this matter we are allowing to upload limited file’s extensions and this is not good codding practice to defined allowed extensions and check every file on uploading code because we needs to store allowed extensions in a single

Post in

6 Oct 2015
4.16K
No Comments

I got issue lost data  from new $variable of array_merged because array_merge function cannot merged if any passed parameter type not array, for example I merged two array for email template, the first array from $_POST and second array from Database but $user_data will be null If user’s not found from

Post in

20 Aug 2015
3.73K
No Comments

Why Upgrade to the new wordpress? Its recommended to upgrade the wordpress newly version when you see notification on top bar of admin panel, Because in new version have fixed many of bugs and issues fixes of layout, panel UI, editor and introduce new features and API functions.   Why

Post in

4 Jun 2015
3.82K
1 Comment

Sometimes laravel set the new or update session in ajax requestion even you can print it like Session::all(); it will print the updated session but cannot update the session on fresh page, for eg. if a user update his information like display name picture or other information through ajax. In

Post in

22 May 2015
5.75K
No Comments

Before releasing of responsive media queries features in #css we develop two different websites version for a single website one is for mobile and second for desktop browsers, but after media we can easily change #css properties to change height widths of elements and DIV Tables, Here is list of

Post in

22 May 2015
2.3K
No Comments

In action url of methods we just only allow user to submit ajax request on specified url or doing another stuff, Here is I am share examples of check ajax request on custom #PHP #CodeIgniter #Laravel. Check ajax request in core PHP Here is how to check and its best way

Post in

13 May 2015
1.99K
No Comments

Now we don’t need to check response web layout in mobile and tablet devices, Because Google chrome’s developer tools provide this feature to check layout but In case we need to open localhost from pc to smart phone browser for checking other things except responsive layout. Here is some steps.

Post in