Archive for December, 2007

iPhone Wants To Hang On To the Old Year

Monday, December 31st, 2007

pdclarry writes “Users of the iPhone have noticed that it is showing December 31, 2007, even where it is already the new year. There have been a number of reports confirming the problem: Bug in Clock, Problem with New Year: My Clock — shows wrong year, Worldclock went wrong for “tomorrow” items.”

Read more of this story at Slashdot.

The Rising Barcode Security Threat

Monday, December 31st, 2007

eldavojohn writes “As more and more businesses become dependent on barcodes, people are pointing out common problems involving the security of one- or two-dimensional barcode software. You might scoff at this as a highly unlikely hacking platform but from the article, ‘FX tested the access system of an automatically operated DVD hire shop near his home. This actually demanded a biometric check as well, but he simply refused it. There remained a membership card with barcode, membership number and PIN. After studying the significance of the bar sequences and the linear digit combinations underneath, FX managed to obtain DVDs that other clients had already paid for, but had not yet taken away. Automated attacks on systems were also possible, he claimed. But you had to remember not to use your own membership number.’ The article also points out that boarding passes work on this basis — with something like GNU Barcode software and a template of printed out tickets, one might be able to take some nice vacations.”

Read more of this story at Slashdot.

Reinhold Weber’s Blog: From PHP to Ruby - 30 similarities and differences

Monday, December 31st, 2007

Reinhold Weber has posted his lists of some of the similarities and differences between Ruby and PHP:

If you are a PHP developer chances are you have heard some of the buzz on Ruby on Rails, an open source web framework for rapid application development. […] These are similarities and differences of Ruby compared to PHP. If you know PHP, this should give you a good and quick insight in what Ruby is all about and how it compares to PHP.

Some of the similarities include the dynamic typing, class scoping, heredoc abilities and current object references. Differences include syntax differences, method calling, naming conditions and Ruby’s lack of interface/abstract classes.

Sanisoft Blog: Theming your CakePHP apps (V1.2)

Monday, December 31st, 2007

The Sanisoft blog has a quick post covering the theming of a CakePHP application (via the functionality in the core of the framework).

Despite this there are continued request for information on how to use this functionality on the list and even googling for cakephp + theme does not really return anything definitive. Once you have figured out how to use theming, adding new themes is errr… ummm… a piece of cake (sheesh talk about cliches!).

They break down the use of themes into a few simple steps adding the property to the controller, setting the application’s theme and install the theme’s files to the correct locations.

PHP-GTK Community Site: Gul 2.0 on the way

Monday, December 31st, 2007

A new post on the PHPGTK Community website has pointed out the beta release of a PHPGTK tool for parsing XUL Gul 2.0.

2 years after begining, I’m happy to announce you the Beta release of the Gul 2.0 project, the XUL parser for PHP GTK (97% released). I have to do lot of things, but i think it looks like something.

You can find out more information about the project on the Gul project page over on the redsoft.net domain (including the downloads).

Zend Developer Zone: Zend_Controller_Action, Now With Parameters!

Monday, December 31st, 2007

On the Zend Developer Zone a new post points out feature that the controllers of the Zend Framework has parameters on the actions.

Basically, Zend_Controller_Action is the parent of all of the controllers in your application. This controller is what C stands for in MVC, a design pattern used lately in web application development, especially in RIA development.

The post includes a tutorial on using the parameters in an example of a design pattern.

Community News: Latest PEAR Releases for 12.31.2007

Monday, December 31st, 2007

Latest PEAR Releases:Net_Ping 2.4.3Structures_DataGrid_Renderer_XLS 0.1.3Console_CommandLine 0.2.0

Data Theft Soars to Unprecedented Levels

Sunday, December 30th, 2007

A Wired article reports on data loss in 2007, and the numbers aren’t good. Credit card and social security theft was at an all-time high, with even more losses expected in 2008. Information thieves, it seems, are just one step ahead of IT security. “While companies, government agencies, schools and other institutions are spending more to protect ever-increasing volumes of data with more sophisticated firewalls and encryption, the investment often is too little too late. ‘More of them are experiencing data breaches, and they’re responding to them in a reactive way, rather than proactively looking at the company’s security and seeing where the holes might be,’ said Linda Foley, who founded the San Diego-based Identity Theft Resource Center after becoming an identity theft victim herself.”

Read more of this story at Slashdot.

Image Uploader

Sunday, December 30th, 2007
Package: Image Uploader
Summary: Validate and process images uploaded using forms
Groups: Graphics, PHP 5
Author: Leszek
Description: This class can be used to upload images uploaded using Web forms.

It takes an uploaded image and check whether the MIME type is of GIF, JPEG or PNG formats, if the file size does not exceed a given limit, or the image width and height is not smaller than a given size.

The class can also create thumbnails and assure that width and height of neither the thumbnails nor the original image exceed given limits.

The original uploaded image and thumbnails are stored in a given directory.

American Security Firms Collaborate on Chinese Olympics

Sunday, December 30th, 2007

A New York Times story at News.com notes the efforts of American security organizations to help the Chinese government prepare for the coming Olympic games. Critics argue this assistance violates the spirit of Congressional sanctions, and that the technology left behind after the games are over could be used to track dissident elements. “‘I don’t know of an intelligence-gathering operation in the world that, when given a new toy, doesn’t use it,’ said Steve Vickers, a former head of criminal intelligence for the Hong Kong police who now leads a consulting firm. Indeed, the autumn issue of the magazine of China’s public security ministry prominently listed places of religious worship and Internet cafes as locations to install new cameras. “

Read more of this story at Slashdot.