Complete reference guide of PHP Strings!
What is String in PHP A string is a sequence of letters, numbers, special characters and arithmetic values or combination of all. The simplest way to create…
Complete reference guide of PHP Functions!
PHP Built-in Functions A function is a self-contained block of code that performs a specific task. PHP has a huge collection of internal or built-in functions that…
Beginner guide of PHP General Types
PHP General Types means Basics of PHP programming language:- Comments & case-sensitivity Variables Includes below topic:- Integers, Booleans, Decimals, Constants Using built and functions determine types:- This…
Eloquent-sluggable in laravel Installation failed? (Solution)
Conclusion: don’t install laravel/framework v5.7.9 cviebrock/eloquent-sluggable 4.8.x-dev requires illuminate/config ~5.8.0 -> satisfiable by illuminate/config[5.8.x-dev Solution:- Depending on your version of Laravel, you should install a different version…
Useful Visual Studio Code Extensions.
1 :-Visual Studio Code HTML Snippets This extension adds rich language support for the HTML Markup to VS Code, including: Full HTML5 Tags Colorization Snippets [partially implemented]…
How to fix PHPMyAdmin error, incorrect format parameter that appeared while importing a database?
First of all, we have to see some basic settings which are situated in php.ini. whenever we upload a database which size will be greater than max…
8 Top Features of PHP Laravel Frameworks
The best features of PHP Laravel frameworks that make it popular among custom software developers and businesses alike: 1. Template Engine The best PHP framework is highly…
Creating a OAuth 2.0 Protected REST API In Laravel
Download and install WAMP or XAMPP Server Download and install composer Open Gitbash and Set the composer composer global require “laravel/installer” Create a new Laravel Project Refer…
Error – phpmyadmin not accessible on network using ip address but localhost in ubuntu
Error Access forbidden! New XAMPP security concept: Access to the requested object is only available from the local network. This setting can be configured in the file…
Error – No package php-mbstring and php-bcmathavailable in RHEL 7
Errors Solutions Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I…
How to enable Google reCaptcha with Laravel?
Step 1 – First go to https://www.google.com/recaptcha/intro/v3.html then click on Admin console Step 2 – Genereate new recaptcha (click on + button to create) Type label name…
Laravel Social Login using Socialite
Installations—- (laravel 5.5) composer require laravel/socialite “^3.2.0” configuration—–(config/services.php) ‘facebook’ => [ ‘client_id’ => env(‘facebook_CLIENT_ID’), // Your facebook Client ID ‘client_secret’ => env(‘facebook_CLIENT_SECRET’), // Your facebook Client Secret…
How to configure Laravel 5.5 with Bootstrap 4
Bootstrap 3 to bootstrap 4.3.1 upgrade in Laravel 5.5 Note: Laravel 5.5 uses bootstrap 3 by default Steps involved in the upgrade Open gitbash in the home…
Setting a Local Development Environment for Laravel on Windows | Install Laravel on Windows
Many developers use Windows for PHP projects, we will cover a basic XAMPP Setup for a Laravel project. Following these easy steps will help you run your…
PHP Tutorial for Beginners
PHP FRONT TO BACK What is PHP?:- PHP: Hypertext Preprocessor(Recursive Acronym)Server-Side Programming/Scripting LanguageCan be embedded directly within HTML (<?php?>)Files use a “.php” file extension How Does PHP…
Todo Application in Laravel
1.Create Project in Laravel Composer create-project laravel/laravel todolist 2.Create CRUD Controller php artisan make:controller TodosController –resource 3.Route setup of CRUD Controller routes/web.php 4.Create Database todolist localhost/phpmyadmin create…
How to fetch data in excel or generate excel file in PHP
File structure for this tutorial : config.php (database connection file) index.php (For fetching data ) genrate-excel.php (For genrating excel file ) Create a sql table tblemployee. Structure…
Password Hashing in PHP
Functions for hashing password password_hash() password_verify() password_hash() – Syntax: [code language=”php”] string password_hash(string $password , integer $algo [, array $options ] ) [/code] string $password – Password…
How to delete records?
1) Write the delete statement: [code language=”php”] $sql = "DELETE FROM `users` WHERE `id`=:id"; [/code] 2) Prepare the query: [code language=”php”] $query = $dbh -> prepare($sql); [/code]…
How to use PDO to update the database?
1) Write the regular update statement and again, instead of values, assign the named placeholders. For example: [code language=”php”] $sql = "UPDATE `users` SET `city`= :city, `phone`…
How to use PDO to read data from the database?
1) Write the regular select statement and again, instead of values, put named placeholders. For example: [code language=”php”] $sql = "SELECT * FROM users"; [/code] 2) Prepare…
How to use PDO to insert data into the database?
The SQL code for the users table: [code language=”sql”] CREATE TABLE IF NOT EXISTS users (id int(11) NOT NULL AUTO_INCREMENT, name varchar(60) DEFAULT NULL, phone varchar(12) DEFAULT…
PDO – PHP database extension
PDO – PHP database extension PDO (PHP Data Objects) is a PHP extension through which we can access and work with databases. Though PDO is similar in…
TURN OFF DISPLAY ERROR IN PHP
Method 1 & 2 & 3 https:///…-standards-error-fix Method 4 error_reporting(0); ini_set(‘display_errors’, ‘0’); # don’t show any errors… error_reporting(E_ALL | ~E_STRICT); # …but do log them…
Run php script using cronjob / crontab
scmuser created the topic: Run php script using cronjob / crontab How can i Run php script using cronjob / crontab??? Any ideA? rajeshkumar replied the topic:…
Tool Selection Process
mfeighner created the topic: Tool Selection Process www.cmbestpractices.com/index.php?option…d=44:tools&Itemid=81 rajeshkumar replied the topic: Tool Selection Process Hi Mike, Is it your website? seems the post have been wrongly-linked…
There any way to disable button in Inno Setup?
InstallerExpert created the topic: s there any way to disable button in Inno Setup? For more information check out the InnoSetup newsgroups: www.jrsoftware.org/newsgroups.php Rajesh KumarI’m Rajesh Kumar,…
Inno Setup
msiexpert created the topic: Inno Setup This app is an installation builder. It allows you to create a single Windows executable install package. Its script based, it…
