|
- PHPCamp
 | PHPCamp is a ad-hoc gathering for PHP community. It similar to barcamp, but more focused towards PHP based web application development. This means that anyone can come to PHPCamp and participate.
Next gathering will take place in Pune, India. More details may be found in the gathering site. |
These initiatives are announced here just for the information of the PHP Classes site users. These announcements are not sponsored by the organization of the initiatives.
If you take part of the organization of a global or regional initiative that may be of the interest of the PHP Classes site users, feel free to contact this site so your initiative may also be announced here at no expense to your initiative organization. |
Contents
Friends of the PHP Classes site is a initiative to provide recognition to the users that contribute to the growth of the site community.
For more information on how to become a friend of the site look here. |
Contents
Contents
Congratulations to Diêgo Garrido de Almeida!
|
Nominees to win the award of June of 2008
| Class: |
MySQL Binlog Rotate |
 |
|
Description: |
Rotates the binary logs in a MySQL 5 cluster |
|
Author: |
J. Pape |
|
Age: |
25 |
|
Country: |
The Netherlands |
|
| Class: |
Easy WMI |
 |
|
Description: |
Access Windows resources using WMI objects |
|
Author: |
Zsolt Munoz |
|
Age: |
28 |
|
Country: |
Canada |
|
| Class: |
QSWFObject |
 |
|
Description: |
PHP Wrapper to load Flash movies |
|
Author: |
Tom Schaefer |
|
Age: |
??? |
|
Country: |
Germany |
|
| Class: |
Screenshot |
 |
|
Description: |
Take screenshots of pages with Internet Explorer |
|
Author: |
Daniel Neville |
|
Age: |
16 |
|
Country: |
United Kingdom |
|
| Class: |
Maildir To Mailbox |
 |
|
Description: |
Convert messages from maildir to mbox format |
|
Author: |
Charalampos Pournaris |
|
Age: |
22 |
|
Country: |
Greece |
|
| Class: |
GNU/Linux Stats |
 |
|
Description: |
Retrieve information about Linux systems |
|
Author: |
Cesar D. Rodas |
|
Age: |
20 |
|
Country: |
Paraguay |
|
| Class: |
Link Searcher |
 |
|
Description: |
Crawl Web pages to search for given text |
|
Author: |
Nadir Latif |
|
Age: |
25 |
|
Country: |
Sweden |
|
| Class: |
SuperSocket |
 |
|
Description: |
Handle multiple TCP socket connections |
|
Author: |
Debug |
|
Age: |
18 |
|
Country: |
United States |
|
| Class: |
Id3 Tag Correction and Downloading |
 |
|
Description: |
Correct ID3 tags of music stored in a database |
|
Author: |
Nadir Latif |
|
Age: |
25 |
|
Country: |
Sweden |
|
|
|
Contents
Contents
Contents
- CAPTCHA by Anchal
 |
| Author: |
workonphp |
| Date: |
2008-07-24 (1 day ago) |
| Groups: |
Graphics, Validation, Security |
| Description: |
This class can be used to generate and validate CAPTCHA validation images.
It can generate an image with a text string with a variable length of a set of allowed characters.
The class generates an image with the generated text obfuscated by noise text or grid lines.
The generated image is stored in a JPEG format file created in a temporary server directory.
The class can also validated whether the text entered by the user corresponds to the text displayed in the image. |
|
- Composite Factoring
 |
| Author: |
Matthew Johnston |
| Date: |
2008-07-24 (1 day ago) |
| Groups: |
PHP 5, Math |
| Description: |
This class can be used to decompose a number in prime number factors.
It takes a given integer number and determines a list of prime numbers that once multiplied by each other result in the original number.
The prime number factors are returned in an array. |
|
- XML to from array
 |
| Author: |
Mozart Fazito Rezende |
| Date: |
2008-07-23 (2 days ago) |
| Groups: |
XML, PHP 5 |
| Description: |
This class can be used to convert between XML documents and arrays.
It can take an nested associative array and generate a XML document.
The class can also do the opposite. i.e. parse a XML document into an array. |
|
- Obanner
 |
| Author: |
Abdulrahman Muhammad |
| Date: |
2008-07-23 (2 days ago) |
| Groups: |
HTML, Content management |
| Description: |
This class can be used to display image banners during a period.
It can add one or more regular banner images with link URL and a time limit date.
If time limit was not reached, it returns the HTML to display the banner image as a link. Otherwise it returns the HTML to display a default banner image and a default link. |
|
- maDB
 |
| Author: |
Gideon Cole |
| Date: |
2008-07-22 (3 days ago) |
| Groups: |
Databases |
| Description: |
This class can be used to execute common MySQL queries using parameter lists. It can:
- Add/Edit records in mysql via html forms.
- Insert rows in a given table setting fields to given values
- Retrieve a single row from a given table with the id field set to a given value
- Retrieve all rows of a given table.
Functions that execute queries that retrieve data return it in arrays. |
|
- YLocal
 |
| Author: |
venkatakrishnan |
| Date: |
2008-07-22 (3 days ago) |
| Groups: |
PHP 5, Searching, Web services, Geography |
| Description: |
This package can be used to perform searches using Yahoo! Local Search Web services API.
It can access the Yahoo! Local Web services API server and send a search request using several search parameters.
It provides a way to iterate over each result that is returned by the service. It return an object with variables set to the values of each result detail. |
|
- Google Download
 |
| Author: |
Thomas Shone |
| Date: |
2008-07-21 (4 days ago) |
| Groups: |
PHP 5, Searching, Web services |
| Description: |
This class can be used to search and download files using Google search.
It accesses Google search pages emulating a search form submission with given search parameters.
Currently it can narrow the search using parameters like: site, allintitle, intitle, allinurl, inurl and filetype.
The class can extract of the URLs of the search results and download the files available on those URLs into a given directory. |
|
- QTag
 |
| Author: |
Tom Schaefer |
| Date: |
2008-07-21 (4 days ago) |
| Groups: |
HTML, XML, PHP 5 |
| Description: |
This package can be used to generate HTML, XML or other tag based documents programmatically.
It can build a nested structure of tag objects that define the contained tags, data and tag attributes.
The main class can traverse recursively the tag object structure to generate all the tags and the contained data and tags structure. |
|
- Google Translate Tool
 |
| Author: |
solomongaby |
| Date: |
2008-07-20 (5 days ago) |
| Groups: |
Localization, Web services |
| Description: |
This class can be used to translate text or whole Web pages using the Google Translate site.
It takes as parameters a given text or URL of a page, and source and target languages to translate the text.
The class accesses the Google Translate site and emulates translation form submission to translate the given text or page.
It returns the translated text or the HTML of the translated page version. |
|
- From Browser - Youtube Upload
 |
| Author: |
Cesar D. Rodas |
| Date: |
2008-07-20 (5 days ago) |
| Groups: |
Web services, Video |
| Description: |
This class can be used to allow uploading videos directly to YouTube using forms presented in other sites.
It accesses the YouTube Web services API to create an entry for a video to be uploaded.
The class retrieves the just created video entry identifier and an URL to generate Web forms that upload the video to YouTube site directly, i.e. without going to the original site that presented the video upload form. |
|
- Simple Upload
 |
| Author: |
Szymon Lukaszczyk |
| Date: |
2008-07-19 (6 days ago) |
| Groups: |
PHP 5, Files and Folders |
| Description: |
This class can be used to manage files uploaded via forms.
It takes the array of data of an uploaded file and can perform several types of operations like:
- Check whether there were any upload error and whether the file is a valid upload
- Clean the file name from non alphanumeric characters
- Generate random unique names for the uploaded file
- Copy or move the file to another directory |
|
- QDataObject
 |
| Author: |
Tom Schaefer |
| Date: |
2008-07-19 (6 days ago) |
| Groups: |
PHP 5, Databases |
| Description: |
This package can be used to access MySQL query results as objects.
It can take a MySQL query result set resource handle as parameter and provides several types of functions to access the data from the result set.
It provides check or retrieve the result set data positions, as well retrieve the type and length of the respective columns.
The package provides implementations that use the regular MySQL and MySQLi extensions to access MySQL query results.
New:
DataObjectFactory
=== QMysqlDataObject ===
Test => SELECT * FROM geodb_textdata
TEST ENV:
Windows Vista Xampp, AMD Turion 64x2 Mobile 1.80 GHz
2 MB RAM (average performance)
1.a) object building runtime 0.176911115646s
on a db table with 337.925 records
(building uncached dataobject from uncached query at page offset 22210 by 10 rows/page)
1.b) object building runtime 0.275130033493s
on a db table with 337.925 records
(building uncached dataobject from uncached query at page offset 3000 by 100 rows/page)
2.a) object building runtime 0.0171821117401s
on a db table with 337.925 records
(building uncached dataobject from uncached query at page offset 10 by 10 rows per page)
2.b) object building runtime 0.0609588623047s
on a db table with 337.925 records
(building uncached dataobject from uncached query at page offset 10 by 100 rows per page)
3)
SELECT * FROM orders
LEFT JOIN customers on customers.CustomerID=orders.CustomerID
(northwind demo database)
object building runtime 0.055801153183s
(building uncached dataobject from uncached query at page offset 1 by 10 rows per page)
Mysql DB times:
Status runtime
(initialization) 0.0000377
Opening tables 0.0002247
System lock 0.0000032
Table lock 0.0000067
init 0.0000107
optimizing 0.0000037
statistics 0.0000107
preparing 0.00001
executing 0.0000467
Sending data 0.0002505
end 0.0000042
query end 0.0000035
freeing items 0.0000077
closing tables 0.000002
removing tmp table 0.0001105
closing tables 0.0000042
logging slow query 0.0000025
Conclusion:
Object building becomes much quicker if you operate with sql conditions.
The test above shows, that a cut on a deep offset is slow. So you have to reduce the data cloud by conditioning and so on.
(On a Linux Web server it will run much faster.)
Regards Tom Schaefer
|
|
- Batikon update
 |
| Author: |
alpcan aydin |
| Date: |
2008-07-18 (7 days ago) |
| Groups: |
HTML, PHP 5, AJAX |
| Description: |
This class can be used to update page elements dynamically without reloading.
It generates HTML and Javascript that calls MooTools library to update a given page element with the output of a script with a given URL.
The comments in the code are in Turkish. |
|
- Easy Template Engine
 |
| Author: |
Salvan Grégory |
| Date: |
2008-07-18 (7 days ago) |
| Groups: |
Templates |
| Description: |
This class implements a template processing engine that uses class variables as template parameters.
It uses a setter function to set values of template parameters.
The class processes the template by using regular expressions to search and replace template placeholders by previously set template parameter values. |
|
Contents
Contents
|