Zend - The PHP Company




Utilities

Add Code


Amazon API and Parser  

Type: class
Added by: daniel1
Entered: 11/08/2002
Last modified: 08/12/2001
Rating: - (fewer than 3 votes)
Views: 5108
class.AmazonAPI.inc: An interface between PHP and Amazon Web Services. Supports all the different search types and retuns an XML string. Includes various Amazon modes (books, dvd, etc.) with methods to check if modes exist and return their String value. class.AmazonLiteXMLParser.inc: Parses the Amazon XML reply into a PHP array. Supports multiple fields and data larger than 1024 KB.


Amazon Web Services 4.0 API  

Type: class
Added by: jasrags
Entered: 02/09/2004
Last modified: 04/12/2008
Rating: - (fewer than 3 votes)
Views: 7200
This is a class I developed to interface with Amazon Web Services 4.0. Knowledge of the XML data that amazon returns is required for futher development past my example. Please email me with comments/improvements/bugs. This code has been updated per Amazon for the 4.0 Production release.


Client/Server Php Draft Printer v1.0 (2003-03-03)  

Type: code fragment
Added by: whatever_tj
Entered: 03/03/2003
Last modified: 03/12/2002
Rating: - (fewer than 3 votes)
Views: 12854
This project enables draft printing in the client side or server side or to wherever the printer server is.


Comma integer  

Type: code fragment
Added by: cwe7g
Entered: 30/03/2002
Last modified: 04/12/2001
Rating: - (fewer than 3 votes)
Views: 4405
Adds commas to an integer


Debug printer with verbose levels  

Type: class
Added by: flight553
Entered: 21/04/2002
Last modified: 04/12/2001
Rating: - (fewer than 3 votes)
Views: 4493
You can use this debugging class to create output when certain things are happening in your code. You can mark messages with a verbose level when you add a message to the debugging message queue. Then you can get a terse, verbose or very verbose report when you want to see all your debug statements.


echoTab  

Type: code fragment
Added by: remz
Entered: 17/09/2002
Last modified: 09/12/2001
Rating: - (fewer than 3 votes)
Views: 3988
This little recursive function prints all the content of nested arrays and is very, very helpful for debugging.


Error handler with several output options  

Type: code fragment
Added by: gsnt
Entered: 24/07/2001
Last modified: 07/12/2000
Rating: - (fewer than 3 votes)
Views: 6689
This error handler either outputs error messages together with current variables (type, name, value) and GLOBALS in a separate browser window(for development), writes to a file or sends a message to anyone (webmaster for example).


Gary Carr  

Type: code fragment
Added by: gcarrweb
Entered: 04/05/2005
Last modified: 02/12/2005
Rating: - (fewer than 3 votes)
Views: 2696
Handle multiple domains on a single user web directory space.


HOLLYWOOD TOP TEN  

Type: application
Added by: npguy2001
Entered: 08/07/2001
Last modified: 07/12/2000
Rating: - (fewer than 3 votes)
Views: 6094
Extract Hollywood Box Office Results from http://www.hollywood.com and output to file! An excellent example of regular expression using array.


Kumar  

Type: code fragment
Added by: kumar
Entered: 23/11/2001
Last modified: 02/11/2000
Rating: - (fewer than 3 votes)
Views: 4233
The script adds some thing to a file specified can be used to make guest book or mailing list. This function is currently used at many places on hhtp://www.kinfotechindia.com


linkGrabber  

Type: class
Added by: akaridis
Entered: 07/12/2005
Last modified: 02/12/2005
Rating: - (fewer than 3 votes)
Views: 3194
This function grabs the links from one or more URLs or local files. It works with ALL links including image links. It also automatically corrects relative links.


Linux Executable+Dependencies Packager  

Type: application
Added by: 20after4
Entered: 07/09/2002
Last modified: 09/12/2001
Rating: - (fewer than 3 votes)
Views: 5023
This short script uses ldd to find the shared library dependencies for a given executable file, then the executable and all of the files that it depends on are packaged using tar. This is great for making backups or relocating an executable to another machine where necessary the libraries might be missing. You are free to use this script however you see fit as long as you agree to the following disclaimer: Disclaimer: this script is provided as is and without any warrenty, not even the implied warrenties of merchantability or fitness for a particular purpose. I explicitly disclaim responsibility for this script including any damages that might result from your use or misuse of the script.


Man Page Lookup  

Type: application
Added by: amnuts
Entered: 30/07/2003
Last modified: 01/12/2003
Rating: - (fewer than 3 votes)
Views: 4810
This will allow you to view man pages on your unix/linux system through a web browser. It formats correctly, and auto-links email addresses.


My News  

Type: application
Added by: CeleronDude
Entered: 06/01/2002
Last modified: 01/12/2001
Rating: - (fewer than 3 votes)
Views: 6072
Simple no mySQL required news management script. Easy to use and you can manage the way your news is formated. Sorry if it's a bit "too advanced" and not exactly "public friendly" but it's my first script that I submit to the public :)


Phone number transformation  

Type: code fragment
Added by: jasrags
Entered: 20/01/2005
Last modified: 01/12/2004
Rating: - (fewer than 3 votes)
Views: 3825
This is a small snippit to transform a phone number into a 7 or 10 digit formatted number. I.E. 1234567 into 123-4567 or 1234567890 into (123) 456-7890.


php domain park  

Type: application
Added by: sfmoe
Entered: 22/02/2005
Last modified: 02/12/2004
Rating: - (fewer than 3 votes)
Views: 3620
it allows you to use the domains parked on your hosting company by rederecting to a file or directory you specify a la virtualhost its uefull if you can only host one domain name but have several parked under your account. in this example the code sends it to a main.html if the default host is used and sends it to thehostused.html otherwise


PHP Package Loader  

Type: class
Added by: daijo
Entered: 06/12/2005
Last modified: 02/12/2005
Rating: - (fewer than 3 votes)
Views: 3685
The PHP Package Loader allows programmers to maintain a clean code and classify their classes (or other used in their projects).


PHP Trace  

Type: code fragment
Added by: anditrinculescu
Entered: 19/03/2004
Last modified: 03/12/2003
Rating: - (fewer than 3 votes)
Views: 8079
PHP Trace is a function which displays informations about a given variable in a friendly format. It uses the PHP function var_dump. Usage: trace($var, __FILE__, __LINE__)


PHP/MySQL CodeRed hit logger and results display  

Type: application
Added by: kingtech
Entered: 14/09/2001
Last modified: 31/10/2000
Rating: - (fewer than 3 votes)
Views: 6020
add .ida as a PHP type and place default.idi in your web root. When Code Red requests hit the infected servers hostname, IP, date are inserted into a MySQL DB. The next "index.php" file displays the hits with number of hits each host and a url to the infected server (So maybe you can contact them). You can add or change hosts to be seperated. Most of mine are from Bellsouth so that is why is seperate them.


PHPRefMovie - Quicktime Reference Movie Generation Classes   

Type: class library
Added by: jenge
Entered: 10/04/2004
Last modified: 04/12/2003
Rating: - (fewer than 3 votes)
Views: 6287
PHP class library for generating quicktime reference movies on the fly. supports nearly all reference movie features


ProTimer Class  

Type: application
Added by: rhull627
Entered: 04/08/2004
Last modified: 08/12/2003
Rating: - (fewer than 3 votes)
Views: 3514
A lightweight timing class to be used for profiling your code. One member variable, 3 member functions (incl. constructor). Also includes a footer file so that you may include 'ProTimerFooter.inc'; in order to get a table that displays the profiling info.


runJavaClass  

Type: application
Added by: abelard
Entered: 17/06/2002
Last modified: 06/12/2001
Rating: - (fewer than 3 votes)
Views: 3763
Tired of typing: "c:\pathtojava\java\ class"? So use this small app. You can even associate it with .class extension in Explorator so you can run java apps by double clicking


rwhois  

Type: code fragment
Added by: joeldg
Entered: 24/10/2002
Last modified: 31/10/2001
Rating: - (fewer than 3 votes)
Views: 4617
Grab rwhois info from ARIN and return it in an array. This is useful for geo-tracking IP's, make your own netIP or whatever.


Send a 1-Way SMS Wireless Message with PHP  

Type: code fragment
Added by: Bobwhite
Entered: 11/10/2001
Last modified: 31/10/2000
Rating: - (fewer than 3 votes)
Views: 7781
Allows you to embed SMS wireless messaging to cell phones and pagers from PHP applications of all types. Uses the Simplewire network to reach mobile users in 118 countries. The best way is to join the Simplewire Developer Program at http://devprogram.simplewire.com. Then download the SDK as listed. Then you will receive an email explaining what to do.


ShWhois  

Type: code fragment
Added by: vahabzadeh
Entered: 22/08/2006
Last modified: 31/10/2005
Rating: - (fewer than 3 votes)
Views: 2578
A Power Full Whois Script By "Shahab Vahabzadeh" With Error Handeling! You Are Able to Add Multi Servers to Its Code


Simple diary / News / Journal system  

Type: application
Added by: sunnyhundal
Entered: 01/05/2001
Last modified: 05/12/2000
Rating: - (fewer than 3 votes)
Views: 7665
My application lets you write a keep a simle database driven diary / journal / news system on your website. Its mysql driven, and very easy to set up and install.


Simple example on counting your code's number PHP/HTM lines/size  

Type: application
Added by: two
Entered: 06/02/2002
Last modified: 02/12/2001
Rating: - (fewer than 3 votes)
Views: 4469
Simply processes all .php/php3/php4 files in a given directory and counts the number of PHP/HTML lines and the number of bytes. This of course works with PHP in HTML. Since this is only an example you could extend it to support directory recursion and more.


SSN Transformation  

Type: code fragment
Added by: jasrags
Entered: 20/01/2005
Last modified: 01/12/2004
Rating: - (fewer than 3 votes)
Views: 3224
This is a snippit to transform a SSN to a formatted SSN. I.E. 123456789 into 123-45-6789.


Text Advertisements  

Type: application
Added by: nsfmc
Entered: 05/07/2002
Last modified: 31/10/2007
Rating: - (fewer than 3 votes)
Views: 4516
Google has them and so can you!!! Include this file in the top of any page and then echo a single variable wherever you want a random ad to show up.
Works with a MySQL database (but has abstraction layer to work with any database) to log impressions and clickthroughs.
Early revision right now, so email me with suggestions or comments.


Timemeter  

Type: class
Added by: Shurup
Entered: 31/10/2001
Last modified: 01/11/2000
Rating: - (fewer than 3 votes)
Views: 4453
This class is very useful to measure performance time within your PHP script. It measures a script runtime between two checkpoints (start() and finish()) For example: Using this class you can select most effizient algorythms, methodes or technologies.


URL Redirect  

Type: code fragment
Added by: nailufar
Entered: 20/10/2001
Last modified: 01/11/2000
Rating: *** (3 votes)
Views: 6284
you can not always sucess to use "header location" function if before this function you make a output, but don't worry you can make a little trick use javascript ....


Workflow engine  

Type: code fragment
Added by: aristo
Entered: 17/05/2005
Last modified: 02/12/2005
Rating: - (fewer than 3 votes)
Views: 7151
Simple busines workflow engine. You can code own business jobs (workflow steps), and embed it to workflow engine. Big advatage is that you change workflow you don't need to recode anything - only change configuration of workflow.


Zend Encoder - whole webserver directory  

Type: code fragment
Added by: med
Entered: 23/07/2001
Last modified: 07/12/2000
Rating: - (fewer than 3 votes)
Views: 5508
My small contribution for your marvellous encoder ;-) this script asks for a webserver directory and encodes every file in it. (keeps source as file.src). Includes function to not reeocnde already encoded file. This code is kissware.



Search



This Category All Categories