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.
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.
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.
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).
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
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.
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.
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 :)
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.
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 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__)
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.
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.
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
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.
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.
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.
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.
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.
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 ....
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.
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.