Save Files to MySQL using PHP

We have seen file upload using PHP in previous tutorials PHP file upload but in this tutorial we will see how to save files to MySQL database using PHP. You may be wonder why you would need to save file content into database rather than just into the file system. In situations where PHP application needs to […]

PHP Multiple Files Upload Example

PHP multiple files upload example will show you how to upload multiple files using PHP. In this example the files are selected using the browse buttons and files are uploaded to the ‘uploads’ directory under root project directory. PHP script stores the files into the defined location and returns response as a success or failure […]

AngularJS PHP REST CRUD Example

In this tutorial we will see the integration of AngularJS with PHP REST. We are going to create CRUD application using PHP REST API on server side and AngularJS is encapsulated within html file on client side. Thus the client will communicate with server asynchronously using AngularJS $http service. Please read REST API CRUD Example […]

Detect Operating System using PHP

Introduction In this example we will see how to detect Operating System using PHP technology. We are going to use browser’s HTTP_USER_AGENT that gives lots of information about the operating system but here we will only detect operating system type, such as, Windows, Mac, Linux, Ubuntu, Mobile etc. We won’t detect further details, such as, […]

Scroll to top