Feb 08, 2022

Get full current page URL in PHP

Echo or get the current page URL in a PHP page, use $_SERVER. Its build-in variable in PHP, which is used to fetch or echo the current page URL. It’s available for all scope and its super global variable.The below examples show how it works and check URL on HTTPS or HTTP.<?php if(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on'){ $url = 'https://'; }else{ $url = "http://"; } $url .=... more

Feb 08, 2022

Create, Import and Export Database in MySQL or MariaDB by Putty

How to import, export, and create a database in MySQL or MariaDBCreate a new database in MySQL or MariaDBFirst login to MySQL shell or MariaDB in putty using the below command.mysql -u root -pCreate new databasemysql> create database new_website;Check your database create or not usemysql> show databases;List of all databases will show in tables format. Export MySQL or MariaDB databasemysqldump -u username -p database_name > data-dump.sql;for examplemysqldump -u... more

Image

Feb 08, 2022

MyFreeOnlineTools. Simple & powerfull online free tools for make your work easy and great
Image

Feb 07, 2022

Generate Random Fake Data Online
POPULAR
Generate Random Fake Data Online
MyFreeOnlineTools. Simple & powerfull online free tools for make your work easy and great
Image
Create, Import and Export Database in MySQL or MariaDB by Putty
Get full current page URL in PHP