Upload image in the database with local folder and image send mail.

Step-1 open terminal as a git base here in C:\xampp\htdocs look a pic After click on git base Here it will be open like this look a pic. After an…

Read more »

How to protect .env file in Laravel.

Step:1 go to in your project and open .htaccess. Step:2 Then write this code in .htaccess file Step:3 After save you have run this code in your terminal php artisan…

Read more »

How to upload laravel project on cPanel.

Open cpanel what you have url/cpanel Step: 2 Step:3 go to www folder Step:4 then click upload button. Step:5 select your file where you have to file location. as a…

Read more »

What is REST API

REST is acronym for REpresentational State Transfer. It is architectural style for distributed hypermedia systems and was first presented by Roy Fielding in 2000 in his famous. Guiding Principles of REST Client–server – The client-server constraint…

Read more »

What is microservices?

Microservices – also known as the microservice architecture – is an architectural style that structures an application as a collection of services that are. Highly maintainable and testable. Loosely coupled. Independently deployable. Organized…

Read more »

How to file upload in DB With local folder using laravel 5.8

Step:1 you have to make these(A) – php artisan make:controller ImageUploadController(B) – php artisan make:model ImageUpload -m Step:2 Open the welcome.blade.php page then write this code. Step:3 Then go to…

Read more »

How to Make a Laravel Desktop Application.

Step:1 go to this url and donwload zip file https://github.com/cztomczak/phpdesktop Step:2 Step:3 Step:4 Step:5 After extract files then folder open and go to in the www folder. and delete all…

Read more »

Different between echo and print in php.

echo echo is a statement i.e used to display the output. it can be used with parentheses echo or without parentheses echo. echo can pass multiple strings separated as (…

Read more »

What is PHP?. And how to write php code.

PHP is a server side scripting language. that is used to develop Static websites or Dynamic websites or Web applications. PHP stands for Hypertext Pre-processor. How can start php step:-1 first you have to…

Read more »

how can solve 4001 error in a virtual runtime.

  Step:1 got to this path and change this tag.#127.0.0.1 seodaily (seodaily its my project name,whatever you have project name wrtite here on the seodaily place. ) Step:2 go to…

Read more »

Top 10 Basic Laravel Interview Questions.

Q:-1 What is Laravel? Laravel is a free, open-source PHP web framework, created by Taylor Otwell and intended for the development of web applications following the model–view–controller (MVC) architectural pattern….

Read more »

Special Characters Not Allowed Validation in Laravel 5.8

 let’s see example of laravel validation no special characters. Example -1 use this code for validation:-  ‘name’ =>  ‘required|regex:/^[a-zA-Z]+$/u’ Example:2- Use this code for validation:- ‘applyjobsforuser’ => ‘required|unique:applyjobs,applyjobsforuser’, Example-3 use this code for Spacial characters…

Read more »

How to join two tables using left join in SQL.

Step:1 Step:2 Step:3 Step:4 Step:5 Syntax of left join in SQL SELECT column_name(like that CustomerName and OrderID these are column name step-4)FROM table1 (Cumstomers is table name)LEFT JOIN table2 (orders is table name)ON table1.column_name = table2.column_name;

Read more »

How to install Linux on Windows or Virtual machine

we are going to install Linux or virtual machine on widows,let see step by step. Step:1 click this url https://www.virtualbox.org/or you can search virtualbox Step:2 Step:3 Step:4 Step:5 Step:6 Step:7…

Read more »

How can send multi email using laravel 5.8

Step:1 open git base in C:\xampp\htdocs Step:2 past this project name in the gitbase here composer create-project –prefer-dist laravel/laravel multimail “5.8.*” Step:3 Make One controller php artisan make:controller MultimailController Step:4…

Read more »

How to upload file in database with Laravel 5.8

Step:1 composer create-project –prefer-dist laravel/laravel uploadfile Step:2 make a controller like that.php artisan make:controller ImageUploadController Step:3 amke a Modelphp artisan make:model File -m Step:4 put this code in the create_files_table $table->string(‘filenames’);…

Read more »

How to implement Flash message in Laravel 5.8

Step:1 Make a page. resources/views/my_message.blade.php Copy this code and paste in the my_massage.blade.php Step:2 make a controller php artisan make:controller MessageController Step:3 Copy this code and paste in the MessageController.page…

Read more »

How to create captcha code in Laravel 5.8

Step:1composer create-project –prefer-dist laravel/laravel captcha “5.8.*” Step:2 we have to add mews Captcha package.composer require mews/captcha Step:3 open config/app.php file and add service provider and alias. Step:4 routes/web.php paste this code in…

Read more »

How to Convert HTML to Pdf in laravel.

Step:1 Step:II make controllerphp artisan make:controller PdfController Step:III Install Package composer require barryvdh/laravel-dompdf Step:IV open your config/app.php put this code after Providers Barryvdh\DomPDF\ServiceProvider::class,Step:V open your config/app.php put this code after aliases ‘PDF’…

Read more »

What is OOPs? in PHP.

Object-Oriented programming is faster and easier to execute. It makes the code easier to maintain.  This is possible to create full reusable applications with less code What is Classes:- the…

Read more »