Tutorials

Category

26 posts found

8 Oct 2015
2.85K
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
2.82K
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
3.42K
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.48K
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.06K
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
4.08K
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.07K
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.57K
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

11 Apr 2015
0.6K
No Comments

Mostly #wordpress theme developers put header data information in header.php file of theme and they not use each different header file for each wordpress post or pages category and this is best dynamic and quick way to put header information in header.php like head tag and #css #javascript and other

Post in

7 Apr 2015
0.39K
No Comments

This is default simple documentation of #laravel to send mail but problems is that this is static mail passed in parameter to(‘foo@sdtuts.com’) We also need to pass the dynamic email, for example we used it for user registration steps to sent mail for activation it that time we need dynamic

Post in