by Hyder on August 6, 2010
in PHP
cUrl is a utility that can be used to do network-related tasks. It stands for Client URL. Curl can be used with any programming language and work with a variety of protocols, including HTTP, HTTPS, FTP, FTPS, GOPHER, LDAP, DICT, TELNET and FILE. You can use it to access Websites, Upload files on FTP server,create proxy application, Content scrapers ,Link Checkers,search Engines ,and so on .PHP also supports libcurl, a cURL library that allows you to develop php application. Below are some examples where and how you can use php/Curl to solve common problems. These examples start with the most easiest one to the most complex one .
After Post
Continue Reading
by Hyder on June 10, 2010
in PHP
Recently, I was working on my final year project, and at some point I had to develop a Multiple choice Question Module and give the user the option to export their results in PDF Format. After some googling, I stumbled upon a kick ass PDF Class to generate PDF Files Dynamically. I found it so amazing that I decided to put up a small tutorial how to generate a pdf file using PHP. I have created a simple form where a user enters his details and enters his Exam results and after submission the user can download his result in a nice PDF File.
After Post
Continue Reading
Very often while registering on a website ,you will notice that they usually have a username or email address availability check. This ensures that 2 users do not have the same username or email address. Some websites prefer to make this availability check when a user fill in all the details in the form and press submit while some other websites do a live username / Email Address Availability check when the “username” textbox loses focus. Personally, I would prefer to let the user know if a particular username is available while filling the registration form rather than after submitting the registration form.
After Post
Continue Reading
One of the most popular features of any database driven site is probably a search functionality that allows visitors to search for information within the website. I have written a small article how to implement such a functionality using PHP/MySQL enhanced with Jquery. As you type in the search box , an asynchronous request will be made to query the database and displayed to the user .Below is a screenshot of the search system, an online demo of the application , and the download link for the full source code including the database sql .
After Post
Continue Reading