If you’ve been working with PHP for a while, you already know that the language makes dynamic image generation very simple: the GD extension and a few lines of PHP code are all you need to create a JPEG, GIF or PNG image from scratch. However, while this works remarkably well for simple tasks, it can become tedious and complicated if you need to generate more complex images, such as graphs and charts, at run-time.
August 14, 2008
August 14, 2008
August 14, 2008
August 14, 2008
One of the most amazing German OS events is right in front of the door. Since the organizers of the FrOSCon expect a massive ammount of visitors, they ask everyone kindly to register on their website. If you did not do so, yet, take your heels and do so!
Beside the head liners Rasmus Lerdorf and Andrew S. Tanebaum, you can also meet many of the national and international PHP-VIPs there:
- Arne Blankerts
- Marcus Boerger
- Boris Erdmann
- Derick Rethans
- Garvin Hicking
- Hartmut Holzgräfe
- Helgi Þormar Þorbjörnsson
- Johannes Schlüter
- Kore Nordmann
- Sebastian Bergmann
- Thomas Weinert
some of them are giving really cool talks in the dedicated PHP track or one of the many other session tracks. Still undecided? Find the conference info ahead:
| Location | Sankt Augustin (near Bonn) |
| Date | August 23rd / 24th |
| Cost | 5,- € (both days!) |
More information can be found on the PHP@FrOSCon website and the official FrOSCon homepage.
If you plan to come around, feel free to leave a note here! Looking forward to seeing you!
August 14, 2008
Webthumb generated its 4 millionth thumbnail on monday
The official time was 2008-08-11 11:09:49.
I’ve been making good progress on the thumbnail rates lately, this million was a bit faster the last. If you want to help me hit the next million check out the site, if you want to buy 250,000 credits or more send me an email I have bulk rates available.
| Million | Time | Days |
|---|---|---|
| 4 | 2008-08-11 11:09:49 | 52 |
| 3 | 2008-06-19 11:13:45 | 58 |
| 2 | 2008-04-22 15:04:57 | 84 |
August 14, 2008
It can compact and scrambles JavaScript files using Dean Edwards' algorithm implemented by PHP class by Nicolas Martin.
The class can also compact and optimize CSS files using class CSSTidy.
Processed files can be compressed using gzip algorithm and stored in a cached directory to avoid reprocessing.
August 14, 2008
There is a class that can send an HTTP request to a remote server passing data from a multidimensional array serialized as a XML document.
Another class can be used to do the opposite, i.e. receive HTTP requests with data serialized as XML and return the original array.
August 14, 2008
It can retrieve the contents of a given remote Web page and store it in a cache file.
The class can check if a cache file for a page exists and it was updated no later than a given expiry time to avoid retrieving the page again.
August 14, 2008
It takes as parameters an SQL query and the limit of records to show per page.
The class can execute the query retrieving only the rows that are for the current page.
It can also generate links to browse the pages on which the query results are displayed.
August 14, 2008
There is a database access class that can perform several operations to store and retrieve objects from a MySQL database like finding objects by id or that match a given condition, create, update or delete given objects.
There is also a separate record class that should be extended by implementation record classes.
August 14, 2008
It validates a given page URL and then retrieves the page contents for extracting any e-mail addresses found in it.
The e-mail addresses are stored in a given text file.
August 14, 2008
It consists of several interfaces and classes that applications can instantiate to define which kind of events they want to handle in each specific situation.
The package can also export data to different types of event logging containers.
August 14, 2008
August 14, 2008
It uses COM objects to perform several operations on Windows system users like changing the user password, adding or removing an user, and adding an user group.
The class can also perform operations on folders like adding or removing a folder, or giving a folder full access permissions to an user.
In Portuguese:
Classe desenvolvida para criação e edição de usuários, pastas e permissões.
August 14, 2008

It can also check if an array of POST or GET values contains HTML excerpts with Javascript that could be used to perform XSS (Cross-site scripting) attacks.
Rex v1.1 features:
- Proxy port scan can be disabled (in some cases, it blocks users that have port 80 open in their router configuration)
- Added checkspamcop() that checks if a user IP is registered as spammer on Spamcop.net (can be enabled/diabled)
- Function filtraxss() renamed to checkxss() because it really checks the presence of malicious xss doesn't filter anything
- Function checkxss() only accepts arrays
- Added filterxss() that removes or disables tags
- Added checksize_db_data() that can be used to check for data size before inserting in database
- Added filtersql() that escapes special characters in a string for use in a SQL statement
- Portuguese variables renamed to english for better understanding the code to a larger community



