Tag: "PHP" (12)

Fetch data from Google Sheet and show in HTML using PHP

May 6, 2025

This documentation explains how to use the provided PHP code to fetch data from Google Sheets and display it in a custom layout using HTML/CSS. #### Setup Instructions **Step...

Block HTtrack or any other web scrapper

Apr 22, 2025

There are several web scrappers tools are available by which your website can be downloaded as static files. To block these webscrappers, just create a .htaccess file inside your website...

WordPress custom menu page, fetch data from custom MySQL table and export to CSV

Apr 3, 2025

To create a custom menu page in WordPress, retrieve custom table data from MySQL, and display it with the ability to export to CSV/Excel, you can follow these steps: **Step 1:**...

PHP script to download file from specific folder

Mar 11, 2025

Below is a simple example of a PHP script that allows you to download file from a specific folder. You can link to this PHP file with the file name...

Upload image and PDF file using PHP

Feb 10, 2025

Here is a PHP script that allows users to upload image and PDF files with a maximum size of 5 MB. The uploaded files will be renamed using the current...

MySQL columns total and show highest totals

Jan 10, 2025

To get the total of a MySQL field and then select the three highest totals from the table, you can use the following PHP script: Make sure to replace ‘your_username’, ‘your_password’,...