>


Redirecting HTTP to HTTPS editing .htaccess

Many browsers have started showing insecure warnings on websites without SSL certificates. Without SSL, your website will show insecure to the visitors. Therefore, using an SSL-encrypted connection for safety, accessibility or PCI compliance reasons is necessary. It becomes very important to redirect from HTTP to HTTPS. What is SSL? Secure Sockets Layer is a standard security protocol for establishing encrypted links between a web server and a browser in an online communication. The usage of SSL technology ensures that all data transmitted between the web server and browser remains encrypted....
Read More

Nov

3


HTML File Paths

File Path Examples Path Description <img src="image.png"> The "image.png" file is located in the same folder as the current page <img src="pictures/image.png"> The "image.png" file is located in the images folder in the current folder <img src="/pictures/image.png"> The "image.png" file is located in the images folder at the root of the current web <img src="../image.png"> The "image.png" file is located in the folder one level up from the current folder   HTML File Paths A file...
Read More


MySQL - most used commands with examples

Contents General commands Working with databases and tables Working with databases Working with tables Working with columns Selecting data Using regular expressions Importing and exporting data MySQL users, passwords MySQL root reset Backup, restore Creating backups Restore from a backup Tables creation examples General commands To check MySQL status run: systemctl status mysql To connect to a MySQL server running on the same host: mysql -u username -p To connect to a MySQL server running on the remote host db1.example.com:...
Read More


Display All PHP Errors

A PHP application might produce many different levels of earning and errors during its execution. Being able to see these errors is essential for developers trying to troubleshoot a misbehaving application. However, developers often have trouble when trying to display errors from their PHP applications. Instead, their apps just fail silently. The quickest way to display all php errors and warnings is to add these lines to your PHP code file: ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); What Do These Lines of Code Do Exactly? The ini_set...
Read More


Installing NetFx3 on Windows 8,8.1,10,11

Installing NetFx3 on Windows 8,8.1,10,11 through Programs and Features or cmd You may need the .NET Framework 3.5 to run an app on Windows 11, Windows 10, Windows 8.1, and Windows 8. You can also use these instructions for earlier Windows versions. Download the offline installer The .NET Framework 3.5 SP1 offline installer is available on the .NET Framework 3.5 SP1 Download page and is available for Windows versions prior to Windows 10. Install the .NET Framework 3.5 on Demand You may see the following configuration dialog if you try...
Read More