Tag : Server


Laravel 5 - Authenticate user in NodeJS with socket io using JWT.

Today, i am going to show you how to authenticate user node js using JWT and socket io in Laravel 5.3. It is very very important because if you are working with chat application or messengers system etc with user then you have to use JWT token because it is very safe and secure way. If we work on chat module with socket io but someone can easily hack our code. At that time we require to check given JWT token is valid or not using <strong class="path">socketio-jwt</strong> package of Node. socketio-jwt package thorough we can simply authentication with user and identify that token is valid .....

By Hardik Savani | September 25, 2016 | | 13073 Viewer | Category : Laravel Installation Server Node JS Socket.io JWT
READ MORE

Connection for controluser as defined in your configuration failed - Ubuntu phpmyadmin Resolve?

When i was working on my PHP project since last 1 year on my current system and phpmyadmin was working very well. but one day i was working on my prjects and electricity off suddenly and when electricity on, i start my system again and open localhost/phpmyadmin, then i found following error: <pre>Connection for controluser as defined in your configuration failed.</pre> I did try lot to solve. i also reboot my ubuntu 14.04 system again but i found still that issue. i was very disappointed from this issue. But when i open my PHP Laravel framework project i found bellow issue: <pre>can't connect.....

By Hardik Savani | April 8, 2016 | | 1055 Viewer | Category : Ubuntu
READ MORE

How to get user agent value in Laravel 5?

If you are work on laravel 5 application and you require to get user agent(user agent mean user browser details like firefox, cherome etc) then you can get easy. you don't need to use $_SERVER variable like native PHP, but laravel 5 provide Request facade. you can fetch easy using following example: <strong class="example">Example</strong> <pre class="prettyprint lang-php"> public function ImpressionCount(Request $request) { $impre['useragent'] = $request->server('HTTP_USER_AGENT'); $input['ip'] = $request->ip(); print($input); } </pre>

By Hardik Savani | April 5, 2016 | | 5278 Viewer | Category : Laravel
READ MORE

    How to install laravel framework on windows xampp server from scratch?

    How to install laravel framework on windows xampp server from scratch?

    Open Post

    How to get gravatar image from email using Jquery?

    How to get gravatar image from email using Jquery?

    Open Post

    iOS 7 style switches for checkboxes example using switchery JS

    iOS 7 style switches for checkboxes example using switchery JS

    Open Post

    Laravel 5 notification alert using bootstrap notify plugin example

    Laravel 5 notification alert using bootstrap notify plugin example

    Open Post

    Laravel 5 - generate PDF from html view file and download using dompdf

    Laravel 5 - generate PDF from html view file and download using dompdf

    Open Post

    Laravel 5 import export to excel and csv using maatwebsite example.

    Laravel 5 import export to excel and csv using maatwebsite example.

    Open Post