Tag: PHP
-
PHP: How to Get Date and Time and Format It
If you’re working with PHP in WordPress and need to handle date and time information, this guide will help you understand how to retrieve the current date and time, format it to your desired output, and even perform calculations with dates.
-
How to Set the Right File Header for PDF Files in C# and PHP
When working with PDF files in C# and PHP, it is essential to set the correct file headers to ensure proper handling and functionality. In this blog post, we will explore the steps to set the right file header for PDF files in both programming languages. By following these guidelines, you can optimize your PDF […]
-
How to Create a MariaDB Connect in PHP for WordPress
In this blog post, we will explore the process of creating a MariaDB connect in PHP for your WordPress website. Connecting to a MariaDB database is essential for many WordPress applications, and PHP provides robust functionalities to establish a connection. Let’s dive in!
-
HTTP header CSV type
The right HTTP header content-type for CSV files is the following: The complete HTTP header: In PHP you should use for an CSV file download the following lines at the start of the file: In C#/ASP .Net you use the following code in the code behind file:
-
PHP PDO jQuery AJAX Example
I have found a very nice tutorial, how to use PHP, PDO, jQuery and the ajax technology to create, edit and delete records on a database table. I have copied the script and had make an online demo page from this project. Its like my own German article how to use PHP and Ajax to […]
-
jQuery Ajax MySQL Tabellen Editieren Tutorial
Dieses Tutorial baut auf jQuery auf, zum Grundverständnis sollte eventuell sich das jQuery Tutorial durchgelesen werden. Wer der englischen Sprache mächtig ist, kann auch sich dieses Beispiel ansehen. Es gibt vier Dateien, functions.js, index.php, mysql.php und functions.php. In der functions.js sind alle unsere JavaScript Funktionen abgelegt. Die index.php beinhaltet zum einen das HTML Template und beantwortet die […]
-
PHP Tutorial
Für dieses Tutorial sind Grundlagen in HTML erforderlich. Was ist PHP? PHP ist eine Skriptsprache, welche auf dem Webserver ausgeführt wird. Durch PHP wird es möglich Serverseitig Dynamische Webseiten zu erstellen.
-
Inbetriebnahme von XAMPP
XAMPP (X:Betriebssystem, A:Apache, M:MySQL, P:Perl, P: PHP) Inbetriebnahme von XAMPP Benötigte Komponenten Apache Web-Server MySQL-DB-Server PHPMyAdmin als DBMS für MySQL PHP und PHP-Apache-Modul