Cesar D. Rodas, web development. Technology news. PHP, MySQL, Apache, C, Bash, ASM

Archive for the ‘phpclasses’ Category

PHP: implementing a heavy use of AJAX

Thursday, July 5th, 2007

Today, the trend is to implement AJAX in everything related with Web. AJAX (Asynchronous JavaScript and XML) is not a new programming language, It is a “style” of development that mix two technologies, the client side (JavaScript) and the server site (usually PHP, JSP, Java or other). (more…)

PHP-iCaptcha: CAPTCHA validation asking questions about pictures

Tuesday, July 3rd, 2007

iCaptcha

This PHP class can be used to implement a CAPTCHA validation method that asks questions about pictures to the user.

It presents several images and asks the user to answer a question related to the pictures. Only one picture is the right answers. The user has to pick the right picture to pass the validation.

The class presents the question and pictures in a form with radio buttons associated to each picture to let the user pick the right picture that answers the question.

The information about the pictures that the user picks is stored in a MySQL database.

Download iCaptcha

PageRank explained for mere mortals

Monday, July 2nd, 2007

The main reason why Google become the most popular search engine is the fact that it was able to provide the most relevant results to the user searches.

Google search results are sorted using an algorithm named page rank. It takes in account the number of ingoing and outgoing links to each page.
(more…)

gCache: Helping PHP to work faster

Wednesday, June 27th, 2007

Many php sites usually do many SQL query for show a single page. That doesn’t affect the performance when the traffic is under the 10000 hits per day.

But the think became more hard to handle when the traffic is upper than 10000 hits, and more if the web server is a shared server.

Usually we need to find a way to help php to reduce the number of query to a database, because as a friend told me: “Most of time php is awaiting for a database to response” (more…)

Enter your email address:

Delivered by FeedBurner

this Site

Archives

October 2008
S M T W T F S
« Jun    
 1234
567891011
12131415161718
19202122232425
262728293031  

Syndication

Google