What do you want to save?
Add Code snippet
New code examples
-
PHP 2022-03-19 22:20:03
What does PEAR stands for?
PEAR is a framework and repository for reusable PHP components. PEAR mans "PHP Extension and Application Repository". it extends PHP and provides a higher lavel of programming for web developers. It also provides a command line interface to inst... Add solution -
PHP 2021-11-09 03:34:13
404 page in laravel
//step 1 ) create the errors/404.blade.php in view. // step 2 ) go to Handler.php and replace the render function to belwo function. public function render($request, Throwable $exception) { if ($exception instanceof AccessDeniedHttpExceptio... Add solution -
Other 2021-11-04 08:06:05
composer dump autoload without terminal
2 Solutions are there : Solution 1 : if composer is installed on the server then : ============= You dont need shell access. Artisan includes a dump-autoload function. You can just it via a PHP call within your app: Route::get('/updateapp', function() ... Add solution -
Other 2021-11-03 15:43:12
Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to tcp://smtp.gmail.com:587 (Network is unreachable)
In Laravel project directory, edit config/mail.php and add the following: 'stream' => [ 'ssl' => [ 'allow_self_signed' => true, 'verify_peer' => false, 'verify_peer_name' => false, ], ... Add solution -
Shell/Bash 2021-11-01 09:47:17
install php on ubuntu
# Update packages lists sudo apt update # Install Apache2 (on Ubuntu, mostly it's already installed) sudo apt install apache2 # Install the latest version of PHP and Apache wrapper sudo apt install php libapache2-mod-php # Install some important PHP ex... Add solution -
PHP 2021-10-28 02:16:10
ubuntu install php
# Update packages lists sudo apt update # Install Apache2 (on Ubuntu, mostly it's already installed) sudo apt install apache2 # Install the latest version of PHP and Apache wrapper sudo apt install php libapache2-mod-php # Install some important PHP ex... Add solution -
Other 2021-10-27 16:33:22
Connection could not be established with host smtp.googlemail.com
In Laravel project directory, edit config/mail.php and add the following: 'stream' => [ 'ssl' => [ 'allow_self_signed' => true, 'verify_peer' => false, 'verify_peer_name' => false, ], ... Add solution -
PHP 2021-10-15 02:03:05
chart.js - getting data from database using mysql and php
Please place your php code into another file called api.php and use $.ajax to get these data with JSON format. To convert data into JSON format data you should use json_encode() php function. I have set sample example you can see here. Please refer belo... Add solution