Home
PHP
Codeigniter
AI
Google Web Stories
Install / Setup
Demos
About Us
Contact Us
PHP Advices Programming Blog - Tutorials About PHP, MySQL, Ajax, JavaScript, Jquery and Web Development
  • Home
  • PHP
  • Codeigniter
  • AI
  • Google Web Stories
  • Install / Setup
  • Demos
  • About Us
  • Contact Us
Browsing Category
PHP
JQuery PHP

How to Upload an Image Using AJAX Without Converting It to Base64 in PHP

April 25, 2023 No Comments
How-to-Upload-an-Image-Using-AJAX-Without-Converting-It-to-Base64-in-PHP

This article will teach us how to upload an image using AJAX without converting it to base64 in PHP. Uploading an image is a common task in web development, and AJAX is a popular technique used to upload files asynchronously without requiring the user to leave the current page.

We will use a combination of HTML, jQuery, and PHP to upload an image using AJAX without converting it to base64 in PHP. We have created an HTML form that contains an input file element to select the image file to be uploaded and use jQuery to handle the form submission event and send the image file to the server using AJAX. Then use PHP to process the uploaded image file and store it on the server.

Continue reading
Written by: Vijay Poshiya
JQuery PHP

jQuery Ajax Call Without Waiting For Response in PHP

November 4, 2022 No Comments
jquery-ajax-call-without-waiting-for-response
jquery-ajax-call-without-waiting-for-response
jquery-ajax-call-without-waiting-for-response

AJAX stands for Asynchronous JavaScript and XML. AJAX is an advanced javascript technique for creating faster and more interactive web apps with the help of HTML, CSS, and JavaScript.

Recently, I need to make an ajax call without waiting for a response and I have found some examples on the internet but none were clearly explained. so, I decided to write a blog post for jQuery ajax call without waiting for a response in PHP.

Continue reading
Written by: Vijay Poshiya
PHP

1292 – Incorrect date value: ‘0000-00-00’ for column ‘date’

October 29, 2022 No Comments
incorrect-date-value-0000-00-00-1
MySQL Error 1292 – Incorrect date value: ‘0000-00-00’

You run into 1292 – Incorrect date value: ‘0000-00-00’ for column ‘date’ error because since version 5.7, MySQL enables SQL Strict Mode by default and does not permit ‘0000-00-00’ as a valid date value.

For more information check MySQL Documentation 5.7

Continue reading
Written by: Vijay Poshiya
Codeigniter PHP

Gmail SMTP Not Working Issue 2022

June 26, 2022 No Comments
Gmail-SMTP-Not-Working
Gmail-SMTP-Not-Working
Gmail-SMTP-Not-Working

Recently, Google stop supporting less secure apps. That’s why Gmail SMTP not working.

In this short article to know how to fix Gmail SMTP not working issue 2022?

Using Gmail SMTP, You can send emails using third-party email clients like Thunderbird and Outlook. Many websites use PHP to send email via SMTP. Now, google no longer supports the use of third-party apps or devices which ask you to sign in to your Google Account using only your username and password. In order to use Gmail SMTP, there is required to configure it to solve gmail SMTP not working issue 2022. Follow the below steps to configure it.

Continue reading
Written by: Vijay Poshiya
JavaScript PHP

Automatically Logout From All Open Tabs When User Logout In Any Tab Using JavaScript In PHP

April 12, 2022 No Comments
Automatically Logout From All Open Tabs When User Logout In Any Tab Using JavaScript In PHP
Automatically Logout From All Open Tabs When User Logout In Any Tab Using JavaScript In PHP
Automatically Logout From All Open Tabs When User Logout In Any Tab Using JavaScript In PHP

In this article, You will learn how to automatically logout from all open tabs when users log out in any tab using JavaScript in PHP.

When the user opens the same website in multiple tabs and then log out from one of them, the user will be logout from the current tab and show the login page. but what about other open tabs? Other open tabs still show the last opened page, because those tabs don’t know if the User session terminated or not.

Continue reading
Written by: Vijay Poshiya
Codeigniter JavaScript PHP

How to Draw Route Map on Google Maps Using Javascript

April 11, 2022 1 Comment
How-to-Draw-Route-Map-on-Google-Maps-Using-Javascript

In this article, You are going to learn how to draw a route map on google maps using javascript in PHP. You can easily draw a route between two markers in google maps using Google Map Javascript API and show the route path based on Travel Mode. Google Map Javascript API provides a Direction service to draw routes between locations.

In this direction service, you require the start and endpoint of the route to be drawn. It responds to the direction data which will be rendered on the google map.

Continue reading
Written by: Vijay Poshiya
Codeigniter PHP

How to Send Silent Push Notifications Using PHP And Firebase

April 7, 2022 2 Comments
Send Silent Push Notifications
Silent Push Notifications Using PHP And Firebase

This article is useful for PHP developers who want to send silent push notifications by using PHP with FCM (Firebase Cloud Messaging).

What Is Silent Push Notifications?

If you send a silent push notification, call it a background notification that does not trigger any sound or alert. It wakes up your apps in the background and allows you to perform any action/operations. Generally, silent push notifications are used in background content updates.

If you are unable to send silent push notifications to iOS using FCM, This article is useful for you. In this article, let’s look into how you can send a silent push notification to your iOS device using PHP with firebase cloud messaging.

Continue reading
Written by: Vijay Poshiya
PHP

Convert HTML to MS Word Document using PHP

March 15, 2022 No Comments
Convert-HTML-to-MS-Word-Document-Using-PHP
Convert-HTML-to-MS-Word-Document-Using-PHP
Convert-HTML-to-MS-Word-Document-Using-PHP

You can get simple and understandable steps to convert HTML to MS Word documents using PHP. Before we move into the conversion that can be done using PHP, let’s have a brief look at PHP.

Continue reading
Written by: Vijay Poshiya
Codeigniter PHP

IMPORTANT HTACCESS FILES TUTORIAL AND TIPS

August 10, 2020 No Comments
htaccess-file-tutorials
htaccess Files Tutorial
.htaccess Files Tutorial

You can get simple and understandable steps to easily configure .htaccess file. Before we move into the code that can be done using .htaccess , let’s have a brief look .htaccess file. htaccess redirect rule to redirect your site.

What is .htaccess file?

Htaccess is a configuration file used on web servers. Htaccess file used for running the Apache Web Server software to enable/disable the functionality of the Apache Web Server, .htaccess file is loaded into a directory of Apache Web Server software. Also, the functionality of .htaccess file directories can be accessed by the web servers to perform its operations.

There are N number of functionalities can be done through .htaccess files, which are explained below with their coding part. Let’s familiar the most commonly used and important functionalities of .htaccess file system.
htaccess is a powerful Apache configuration

Continue reading
Written by: Vijay Poshiya
Install / Setup PHP

How to Install phpMyAdmin on CentOS 7 – Google Cloud

September 30, 2019 No Comments
install phpMyAdmin on centos
install phpMyAdmin on centos
install phpMyAdmin on centos

You can get simple and understandable steps to install phpMyAdmin on CentOS. Before we move into the installation, let’s have a brief look on phpMyAdmin.

What is this phpMyAdmin?

Let me tell you. phpMyAdmin is an open-source tool, which used to administrate MySQL over the web interface. phpMyAdmin is also used in MariaDB Database Management. phpMyAdmin is a GUI (Graphical User Interface ) based application. phpMyAdmin is available in 79 languages.

What is this CentOS?

CentOS is a Community Enterprise Operating System. It is an open-source platform for non-productive developmental work. For production concern, those works can be migrated to RHEL (Payable) Linux distribution platform.

Let’s have a quick look on phpMyAdmin features and versions available !!!

Continue reading
Written by: Vijay Poshiya
Page 1 of 212»

Subscribe to our newsletter!

Categories

  • AI
  • Codeigniter
  • Install / Setup
  • JavaScript
  • JQuery
  • PHP
  • Ubuntu
swachh-bharat-abhiyan

© 2025  PHP Advices

  • Sitemap
  • Privacy Policy
  • Disclaimer
  • Terms and Conditions
  • Contact Us
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. ACCEPTREJECTRead More
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT