Category: PHP

PHP Image Resize and upload using jQuery AJAX

I have already wrote an article for image resizing in client side before it uploads to the server. In this post i am going to upload the resized image to the server. For that i have created “index.php”, “upload.php” and “images” folder under a directory in my local. In index.php i have used HTML canvas

URL encoding and decoding using php

PHP supports encoding and decoding of URL by providing some built-in functions. Encoding is required before sending URL data to query string or to a function which might dynamically work on this URL data. And then, this data will be decoded into its original form, after receiving it in target PHP page or function. Types

How to install Apache XAMPP on Windows

This article will explain how to install Apache XAMPP on Windows. XAMPP is a free open source software that provides an easy way for web designers and developers to install PHP based software like WordPress, Drupal, Joomla, and others on Windows, Mac OS X, and Linux. If you’re a web developer, designer, or a person

How to Create a File in PHP

File Create The fopen function needs two important pieces of information to operate correctly. First, we must supply it with the name of the file that we want it to open. Secondly, we must tell the function what we plan on doing with that file (i.e. read from the file, write information, etc). Since we

PHP Strings

PHP Strings variables are used for values that contain character strings. A string can be used directly in a function or it can be stored in a variable. For example The output of the code Hello World The Concatenation Operator There is only one string operator in PHP. The concatenation operator (.) is used to