 |
PDO or PHP Data Objects is a data abstraction layer, i.e. it provides uniform methods to access different types of databases, as a result switching between or moving to a different database system is relatively easier. So, in simple language the code to access a SQLite db will also work for MySQL...
By pradeep
Last Message By coderzone
|
1 1,410 |
 |
Most applications like browsers, text editors, etc. come built in with spelling suggestions, they highlight a possible incorrect English word (any language for that matter) and offers a list of suggestions when clicked or selected. Even, search engines provide spelling suggestions.
Even you...
By pradeep
|
0 2,126 |
 |
Parsing HTML has always been a tough cookie even for seasoned programmers, but nowadays parsing HTML is extensively used for scraping websites, crawling, error detection websites, and many other useful purposes. In this article we'll be looking into parsing HTML using PHP, for this purpose I...
By pradeep
|
0 1,003 |
 |
This class is a wrapper for array's that allows you to use oop to create and manage an array
Background
This class is inspired by Java and C#'s array class.
The Code
If you'd like to use oop to manage an array this class is meant to provide a data type of sorts for that effort.
By pein87
|
0 910 |
 |
Creates a class that acts as a string wrapper similar to Java and C#.
Background
Php doesn't do types so I created a class to act as a wrapper to provide a faux type for strings
The Code
The code is designed so that you can create text variables which have there own methods that you...
By pein87
|
0 934 |
 |
PHP 4.0.2 onwards libcurl support was added in PHP, libcurl is a free client library initially written by Daniel Stenberg which allows us to communicate with servers using a variety of protocols like HTTP,HTTPS,FTP,SMTP,LDAP, etc. In this article we'll be looking at enabling libcurl support in...
By pradeep
Last Message By jeeva1388
|
1 5,076 |
 |
EXIF stands for Exchangeable image file format is standard by which metadata is stored in image & sound file formats, these are sometimes added by digital camera / software / or manually added by a user. These standards metadata tags help people track / store info, for example Flickr shows the...
By pradeep
Last Message By Alex.Gabriel
|
1 1,264 |
 |
File Transfer Protocol or popularly known as FTP has been a de facto standard for transferring files for many years, can be used in many programs / utilities like backup programs, etc. PHP is being increasingly used in writing scripts for maintenance and other purposes and the FTP extensions...
By pradeep
|
0 1,297 |
 |
System tools & monitoring programs are often required to monitor a directory or file(s) for changes, not just content changes, it may even be attribute changes like permissions, timestamps etc. Inotify is being used for quite some time in C programming to achieve the same.
Here we will be...
By pradeep
Last Message By marlonmark
|
1 1,522 |
 |
Here's the code to read ID3 tage from a MP3 file
<?php
//Reads ID3v1 from a MP3 file and displays it
$mp3 = "1.mp3"; //MP3 file to be read
By pradeep
Last Message By cyclop
|
10 44,119 |
 |
There are many different traffic analysis tools, ranging from simple counters to complete traffic analyzers. Although there are some free ones, most of them come with a price tag. Why not do it yourself? With PHP, you can easily create a log file within minutes. In this article I will show you how!...
By Kings
Last Message By cyclop
|
14 31,717 |
 |
Arrays are common to many programming languages. They are special variables which can hold more than one value, each stored in its own numbered 'space' in the array. Instead of having many similar variables, you can store the data as elements in an array.Each element in the array has its own ID so...
By Sanskruti
Last Message By cyclop
|
15 6,279 |
 |
Most of us have know PHP as a language used for web development, but it is also being used for writing backend processing scripts, backup scripts, deferred processing scripts etc. for a long time but still not as much as other scripting languages as Perl, Python, or Ruby. But if you are a PHP...
By asha
|
0 1,427 |
 |
Amazon Simple Storage Service (S3) is a low-cost & high-availability storage service provided by Amazon Web Services. It's very efficient and cheap, it allows you to store as much as you want and there is no limit, you pay for what you use and you pay as you go, there is no commitment. You can...
By asha
|
0 1,742 |
 |
Bubble sort in this form allows someone to order number arrays from lowest number to highest number and vice verse. This article serves the purpose of providing the bubble sort algorithm for use in php. I found a tuts @ active.tutsplus and I used it as a base to create a direct port over to php.
...
By pein87
Last Message By pein87
|
5 3,808 |
 |
Many times it is required for us to calculate the time remaining and display it in a very understandable format like days,weeks,hours etc.
Here is a function i wrote to do the same.
//FUNCTION FOR TIME LEFT
function time_left($integer)
{
$seconds=$integer;
if...
By pradeep
Last Message By lothar86
|
2 30,700 |
 |
A trend with a lot of new Web Designers is to blindly go for ASP or JSP for creating dynamic and interactive websites. Why use PHP for server-side scripting? This question comes in mind of a lot of Web Designers, especially in mind of designers/programmers who are only exposed to much hyped server...
By Sanskruti
Last Message By j.smith1981
|
14 17,771 |
 |
File upload is very common requirement of many web sites. We may require to upload pictures online to websites. Image upload is very common requirement and many sites are using this to allow members or visitors to upload files.
We will learn how to upload multiple files using a single form. This...
By Sanskruti
Last Message By steven_elvisda
|
8 29,762 |
 |
Mysqli extension provides us to access the functionality offered by MySQL 4.1 and above.The i in the function name stands for improved (MySQL Improved). The mysqli extension is built using the PHP extension framework.The MySQLi library is much more optimized and quicker than the previous MYSQL...
By jasbir712
Last Message By RezaAgselya
|
1 1,749 |
 |
Memcached is a high-performance open-source caching solution, generally used to improve web application performance by avoiding round-trips to RDBMS, to know more about memcached read Faster Webapps With Memcached.
In this article we'll discuss about installing and using memcached in PHP. A PHP...
By pradeep
|
0 1,736 |