JOEL LIPMAN Systems / Automation / AI

Knowledge base / Since 1999

Personal Home Page Tutorials & Guides

Practical Personal Home Page tutorials, troubleshooting notes and implementation guides from real projects.

Advanced search

21 entries / Personal Home Page

Clear filters
Converting SQL date in PHP to European date format and vice-versa
Personal Home Page

Converting SQL date in PHP to European date format and vice-versa

The Issue If you've ever made PHP scripts to process data within a LAMP environment (Linux, Apache, MySQL, PHP) then this happens a lot. In the following example, our HTML form will allow the user to specify a date (so excludes hours, minutes and seconds). For demonstration purposes, I'm going to be using the European...

Read note 25,483 hits
Using a HTML form and PHP to upload a file
Personal Home Page

Using a HTML form and PHP to upload a file

The Issue Basically you have a HTML form with an input field type of 'FILE' (ie. <input type="file" name="file_to_upload" />) and want a PHP file to process this. This example applies to a Linux Apache MySQL PHP (LAMP) environment. The Solution 1. The first thing to do is check that your HTML form is setup to do this:

Read note 37,677 hits
No more notes to load.

Working principle

Our Purpose

This site exists as a practical knowledge base built from real-world experience across systems, platforms, and technologies since 1999. Much of the content documents solutions, edge cases, and working patterns that were learned through investigation where documentation was incomplete or absent, and is shared to reduce the same friction for others.

27 Years in IT
1021 CRM clients
810 Site articles
29.7m+ Reads / hits

Knowledge base

Search notes

Find matching words in article titles and content.