How to Convert a PHP Timestamp to a Date
A PHP timestamp stores the number of seconds since 00:00:00 Jan. 1, 1970, known as the Unix epoch date. This system allows dates to be manipulated and stored as standard numbers and offers a common...
View ArticleHow to Download a File in PHP
The PHP language is an interpreted scripting language commonly used to drive dynamic websites. PHP is widely deployed among web hosting providers, where it is chosen for its ease of use, tight database...
View ArticleHow to Run a Batch File in PHP
Batch files (named for the BAT file extension) are plain text formatted files that execute on Windows computers. The PHP development language is used to create website applications, but the web page...
View ArticleHow to Copy a PHP Website
You've spent a great deal of time and money to set up and configure your PHP website just right. Now, for some reason, you need to copy it to another web server or to a different folder on your current...
View ArticleHow to Insert a Calendar in Your Website Using PHP
Calendars can be used for a variety of reasons on a website: adding a calendar as a date picker for a Web form; broadcasting upcoming events in calendar form to inform your visitors; or having a...
View ArticleHow to Upload Multiple Images in PHP
When programming your website in PHP, you want to create a dynamic environment where your users interact with you and contribute to the site. One way to do this is to create a PHP web form that allows...
View ArticleHow to Replace a Word in an External Text File Using PHP
PHP (PHP: Hypertext Preprocessor), is often used for file manipulation on a server. This scripting language contains many useful functions to help you with your data conversion needs. You can use the...
View ArticleHow to Preview a PHP File
Unlike HTML files, PHP files require you to have a PHP server running on your computer to view PHP files locally. As a scripting language, it needs to be interpreted by a web server with a PHP...
View ArticleHow to Upload PHP Video Files
PHP gives the Web developer the power to create websites that interact with and are updated by users. Users can post text, images, videos and any other content on websites that are coded with PHP. To...
View ArticleHow to View PHP File Types
Files with the .php file extension contain code to display content on web pages. Often, .php files are a mix of HTML and PHP code. PHP is used to perform tasks like storing data from web forms,...
View ArticleHow to Embed a PHP File in HTML
PHP files are text files with the php extension. Similar to HTML files, a PHP file contains the code for a PHP application or instruction that the browser reads and applies to the displayed web page....
View ArticleHow to Add a Carriage Return to a Text File with PHP
PHP is an interpreted programming language designed primarily to help with the development of interactive Web pages. Its many duties include processing and manipulating text files. For example, PHP can...
View ArticleHow to Play an Audio File in PHP
Playing an audio file in PHP requires minimal programming, which you can accomplish by using only pure PHP functions. A text editor, Web hosting account, audio file and small code snippet are all you...
View ArticleHow to Mount an ISO Image in OpenSUSE
ISO images are images of CD-ROMs or DVD-ROMs saved in a specific format known as ISO-9660. These images contain all the data of the disk, including track and sector information that directly...
View ArticleHow to Upload PDF Files in PHP
PHP has an upload function that handles uploading files to the web server. Upload PDF files to display on your website to offer your visitors information in a universal file format. To upload PDF files...
View ArticleMySQL Left Join Tutorial
MySQL is an open source database package popular for web servers and other Internet technology that needs a database. A join command in MySQL combines two tables of information according to a pattern....
View ArticleHow to Upload Files Using Ajax & PHP
While a file is being uploaded to a website using HTML and PHP, the Web page cannot refresh until the upload has completed. This could take some time, particularly if it is a large file. A Web...
View ArticleHow to Encrypt a File in PHP
Files (or any other stream of data) can be encrypted by PHP using the MCrypt module. It is not normally installed by default with PHP, but it is available through the standard PHP library repository,...
View ArticleHow to Enable Root Access to MySQL From Remote Machines
The MySQL Database Server allows root connections only from local hosts. This means that administrative and unlimited access to the database can only be achieved by users on the actual computer running...
View ArticleHow to Reset MySQL 5.1 Root Password in Windows
MySQL is a relational database management system that allows you to update, delete and process information. Free with on a number of operating systems, the MySQL database is one of the most popular Web...
View Article