Archive for April, 2009

Interactive CLI password prompt in PHP

Just a quick tip, since I spent a good hour figuring this out recently. PHP has no native way of doing an interactive password prompt, when running as CLI. You can however use bash for the task. Of course this means that it won’t work on Windows, but you should be fine on most anything [...]

Related Posts

  1. PHP Manual CLI style 2.0
  2. PHP CLI and Google Translation
  3. Backing Up Using Expect and Rsync

Free PHP Webinar: How to Increase Performance with Caching

Zend are running a free webinar today, with a live demonstration showing how to improve the performance of your PHP applications using Zend Server caching.

Related Posts

  1. Installing PHP on Windows Just Got Easier
  2. Boost your PHP Performance 50% with HipHop
  3. How to Install PHP 5.3 on Windows

Keyword Research Essentials Part 2: How to Select the Right Keywords

Keyword relevancy is a two way street: Google tries to deliver the most relevant results for the users, companies want to “optimize themselves” with relevance. How should you approach keywords optimization? Mihaela offers a few possible answers.

Related posts:

  1. Keyword Research Essentials Part 1: Tools In this post, Mihaela Lica lists some free research tools…
  2. SEO: What’s Hot and What’s Not Mihaela discusses some SEO 2.0 techniques and the metrics that…
  3. Are Competitors Hijacking Your Trademarks in AdWords? Alyssa wraps up her series on brainstorming with a step-by-step…

How to Install PHP on Windows

In his final installation tutorial, Craig provides a step-by-step guide to installing PHP5 as an Apache module in your Windows development environment.

Related Posts

  1. How to Install PHP 5.3 on Windows
  2. How to Install Apache Web Server on Windows
  3. Running Apache on Windows

Zend Framework 101: Zend_Log

By Quentin Zervaas. This article shows you how to use Zend_Log, the logging component of the Zend Framework. It allows you to record messages from your application however you please. In this article I will show you how to record messages to a log file.
Additionally, if you use the Firebug and FirePHP plug-ins for Firefox, Zend_Log can be extremely useful for application development and debugging. I will also show you how to achieve this.

Using Division Equations to Make Web Forms Safer with Ajax

From a web developers point of view, building a mechanism that permits you to protect online forms against attacks by spam bots, malicious automated submissions, and so forth, can be challenging. Developing such an application often requires using a server-side graphic library to generate the so-called noisy images. However, its possible to quickly create a similar mechanism with Ajax, without having to work directly with images generated in the web server. This is the fourth part of a four-part series that explains how to do just that.
– Introduction

Therefore, if youre interested in learning how to build a basic Ajax-driven program that makes your web forms a bit more secure, then in this group of articles youll have at your disposal a comprehensive guide on how to achieve this with minor efforts. Additionally, youll learn how …

Beware of Becoming Search-dependent

At the Search Marketing Expo in Sydney this week, SEO guru Rand Fishkin cautioned against become too reliant upon just one traffic source. SitePoint’s Shayne Tilley gives us the low-down.

Related posts:

  1. Beware of the “Google” Swindlers Have you been cold-called by companies masquerading as Google? Have…
  2. Have We Become Too Dependent on Google? Google’s recent downtime caused a tidal wave of failures way…
  3. Jinni – The Future of Search Is Personal Jinni, the new movie recommendation engine, reviewed: was a “taste…

Using Integer Multiplication to Protect Web Forms with Ajax

If youre a web developer who builds Ajax-driven applications and wants to learn how to use this technology for creating more secure web forms, then look no further. Welcome to the third part of a series focused on making web forms safer with Ajax. Made up of four comprehensive tutorials, this series explains how to generate different types of challenge strings via Ajax, which can be incorporated into any existing HTML form with the purpose of protecting it against attacks.
– Introduction
Now that you’ve been introduced to the main subject of this series of articles, it’s time to recall the topics we discussed in the last article. In that tutorial I went through the development of a simple Ajax-based application that could dynamically generate a bunch of elementary …