Browse | Submit A New Snippet
Snippets by category: Other
| Snippet ID | Title | Creator |
| Snippets | ||
| 2 | Working With Related Tables | goranson |
| This is a pretty simple little snippet, but it helped me understand how to use relational tables w/in PHP. | ||
| 4 | Complete User Auth System | tim_perdue |
| Login/registration/changing of account info/lost password | ||
| 132 | WebScape WebCounter | rthomp |
| A simple graphical counter that post visitor information to a MySQL database | ||
| 28 | email validation | kinggeorge |
| How to validate an email? Some use lots of lines with string functions. Following lines work fine to validate the format at a first stage. Just 1 line. It could be completed by comparing the last part of the email (last dot) with a database containing all valid extensions (.com,.edu,.fr,.ag,...). | ||
| 37 | Wrap lines at a defined width | mp96brbj |
| This function wraps a text at any given number of characters. It could be useful when sending email through PHP, since some people will recieve very long lines in the email body otherwise. | ||
| 40 | PHP Shell | gimpster |
| PHP Shell enables you to execute commands on your webserver, like as if you had a telnet-connection. You can browse the filesystem, use pipes etc. | ||
| 71 | session_var_names() | danimal |
| This function takes the string data from session_encode() and returns the variable names, for that session, in an array. | ||
| 72 | Display Manual Pages On Web Server | grantwalters |
| Uses man | col -b so if you have groff you'll be fine | ||
| 74 | InstaMSG | richy |
| This is a simple script to send an instant msg to the webmaster. It does this by producing a temporary text file, then scheduling an AT job, which will launch a batch file, which on its turn launches Notepad that shows the text file. After closing Notepad, the text file is automatically deleted by the batch file. | ||
| 75 | CustomMail | richy |
| PHP file that gives a web site visitor the possibility to send email to the webmaster. Uses: HTML, PHP, JavaScript. Include files: class.Validator.php3, validate.js | ||
| 81 | MetaEngine | bjdouros |
| This function was created because the get_meta_tags() function does not properly return meta information if the requested file is not formated correctly or if newline, return, and tab characters are present within the meta tag. NOTES: This function will only return meta information for title, keywords, and description. | ||
| 109 | PHP Simple Authentication using a File (no database needed) | techjosh |
| This script will handle user authentication against a file on your server so you dont need to have a database. it is helpful, though, to place this file outside of the html directory so that web users can't read everyone's passwords. | ||
| 112 | PHP and Flash | ponocom |
| Sample send-recieve data from Flash to PHP script and return to Flash | ||
| 162 | Graffitti Code | jpage |
| Allows a small line of text to be modified by the user - which is then included in your webpage - so it allows a small amount of INteractivity. It includes full logging - and the option to dynamically include the text in any PHP page by using the include command wiht the path to the file specified | ||
| 115 | Stack class | andrej |
| Simple Stack class, implemented push, pop and simple stack display functions. | ||
| 116 | Find out how fast your page generates | mp96brbj |
| Whenever you think you have a time-consuming script, use these functions to find out about how long time your page needs to be generated. Just call the first function first in the script, and the last function last, and they will report how much time elapsed in between. You might use this to try out if you can optimize your script to make it faster. | ||
| 153 | www.m-w.com | dahve |
| Looks up a supplied word from www.m-w.com Needs lynx installed. works best via console (/exec echo "word" > ~/.dicword; php /file/dic.php) .. needs work | ||
| 141 | loopedArray.inc | rpeake |
| The loopedArray object simulates a "looped" array data type that loops such that all indexes of (n*sizeof(loopedArray) + k) returns the same element as indexes of k for all integers k, n. The loopedArray object attempts to emulate many of the standard array functions with this paradigm, and adds two additional functions, "before," and "after," which return the element before and after a given element, respecting the property above. Robert@MSIA.org 11/25/00 | ||
| 145 | Rich Text Format parser | drbrain |
| This class is in its *very early* stages of developing and knows *a limited* number of RTF control words. It can convert them to html or xml (no dtd, just for debugging). Up2date version can be found at http://josefine.ben.tuwien.ac.at/~mfischer/developing/php/rtf/rtfclass.phps , a test form is available at http://josefine.ben.tuwien.ac.at/~mfischer/developing/php/rtf/ . Note you can't just copy/paste a WinWord generated RTF code yet, but the class is able to understand a subset of e.g. VisualBasics RichTextFormat-control generated RTF code (thats what I need it for ;) mfischer@josefine.ben.tuwien.ac.at , 27.11.2000 | ||
| 149 | PHP Console Interaction | dahve |
| This is a small script which can be used as a template to interact with a UNIX console via misc commands. Still in beta, but can sucessfully read from the console. (via /dev/stdin) | ||
| 152 | Counter | dahve |
| Yes theres alot, but this ones object oriented! | ||
| 159 | ircLOG2HTML | steeven |
| this script will convert IRC log to Color HTML. | ||
| 164 | Complex Object Dumping | kjj_fsi |
| include file for dumping complex objects in three formats: preformatted text, HTML lists, and HTML tables. | ||
| 177 | QuoteMaster | mharris |
| This program reads quotes from a text file, and then prints one randomly each time a page is loaded. | ||
| 1337 | Multiple inheritance in PHP | rudd-o |
| Here's how to simulate a large subset of multiple inheritance functionality. | ||
| 1338 | Menu Array | tachu |
| Create a menu based on an array. | ||
| 1308 | SV's (SecondV) Tell-a-friend | secondv |
| A simple php script that you can use on your site to allow others to recommend it to their friends. Comprised of one file and very easy to use. | ||
| 212 | Detecting if user has cookies enabled/disabled | markmh84 |
| Detect if a user has cookies enabled or disabled. | ||
| 217 | EasyGuestbook (No DB needed) | nemeziz |
| EasyGuestbook is an easy to use guestbook script written in PHP. It supports a smily like :-) and converts it to a GIF image. By using an internal stylesheet, you can easily modify it for your Web site. EasyGuestbook is written in German. v1.3 update: Added Smile2Gif support, and censuring of bad words. | ||
| 220 | Multisearch Databases | albertof |
| Web Search System By Http://www.barrahome.com, is a profesional script of search in the databases of alvavista, google and more. | ||
| 227 | mkpasswd | kervin |
| This function seeks to mimic the mkpasswd script that comes with the 'expect' progrom found at http://expect.nist.gov/ . A random password is generated using the the parameters specified. You can specify the length of the password, the minimum number of alphabets, numbers and symbols it can have, exclude character types, specify allowable symbols, letter case. | ||
| 228 | LDAP get new uid (login name) | kervin |
| LDAP function to generate a login name. Can be used for non-LDAP user databases If you replace UM_uid_exist() with one that queries your particular name service. Takes a user's fullname (usually gecos information) and returns a login name This function tries four times to generate a login name, it returns empty string if it couldn't. See also UM_uid_exist(); | ||
| 229 | LDAP uid exist | kervin |
| Queries a LDAP server to find if user exist eg. UM_people_base is "ou=people,dc=eng,dc=fit,dc=edu" See also UM_connect(), and UM_disconnect. These functions basically handle connecting and disconnecting from the LDAP server | ||
| 247 | PGP Encryption/Decryption Functions | jlg22 |
| Does not disclose private key passphrase or secret data. Works with PGP v.6.5.x. Assumes existence of generated key for given <userid>. pgp_encrypt() encrypts data using the public key of <userid>. pgp_decrypt() decrypts data using the private key of <userid> with a user supplied passphrase. One use: can be used in place of symmetric key encryption for storage of sensitive data (e.g. in mysql) w/o having symmetric key lying around somewhere. | ||
| 1233 | Random Sig picture | demosthenes705 |
| Use this code on forums that allow you to have a picture in you sig. | ||
| 1203 | Simple RSS reader | danielvdakker |
| With this script, it becomes easy to display an RSS-feed on your homepage. No external libraries are needed (except PHP). To display an RSS in a page, just add the following line: <script src="/directoryAtYourServer/rss.php?rssFeed=www.servername.com/somefeed.xml"></script> Use "&showDate=false" after the url to hide the publication date. Use "&description=true" after the url to display the complete description. | ||
| 259 | M4ApplicationsVariable | erebos |
| Application type variable, like M$ ASP application variable | ||
| 262 | serialize class | rodif_bl |
| This class will serialize any inherited class to an xml doc to be deserialized for a later use | ||
| 1200 | *Simple* Login | tsuji |
| A Very Simple, No-SQL User login. It is two pages. How to add more users is included. There is no protection so make a folder with a funky name or something but this is good if you want an admin.php and login from there then click to goto a secret area or something. Ill make a cookie one later. | ||
| 273 | freshmeat.net news grapper | bolon |
| this snippet open connection to http://freshmeat.net, read the content and grap the latest news. You can see this working in http://debian.3wsi.net/news at the bottom of the page | ||
| 274 | Debug output of a variable | crunch |
| These are two small functions which output variable type and content in a nice formatted way. Actually it uses var_dump(), but encloses the outtput in <hr>'s and uses a fixed-width font. Arrays are parsed recursively and every new instance is indented by a given number of 's. It only 'debugs' if a variable named $debug is set to 'true', so you can easily switch on or off the output globally. | ||
| 285 | Displaying Formatted Lists | allgood2 |
| This is a "how-to" file, based on my first full fledge php script. If your nonprofit or company is placing a b2b membership listing on line, this script will show you how to call all the members of your database, sort them alphabetically by member name, and then alter the display (print) of each listing based on whether or not empty fields exist. The script is broken down into 5 steps, which hopefully allow you to quickly follow my decision process. | ||
| 289 | Array Cleaner | joker |
| Takes an array that contains ""-values and strips the key from them, in other words, it cleans the array. | ||
| 300 | HTTP XML web search interface | searchhippo |
| This simple snippet allows you to interface with the SearchHippo web search engine's http xml api. You must have expat compiled in to use this snippet. You can layer mostly any presentation around the results that come back. Latest version will always be available at http://www.searchhippo.com/partner.php This is very similar to how one might use SOAP. | ||
| 1330 | RSS 2.0 generation class | mgalesic |
| Powerful PHP class for RSS 2.0 feed generation. Example and documentation included. | ||
| 313 | Convert \r\n to \n, can be Global Search & Replace | magnet |
| This code fragment takes a linux path and searches for \r\n into the specified files. It would then replace \r\n with \n. The same logic could be extended to become a global search and replace as the code supports recusring into directories. | ||
| 314 | User Exists? | dahve |
| Checks to see if a username exists, and if it does-- it prints out the information of the user. Web/Console version | ||
| 386 | Authenticates User , Maintains Security and Mails Administor | james_smith |
| This Code i have tested on Apache , here user is authenticated user username james and password smith , the program sends mail to the System Admin informing who logged in and When , Easy to use and u can modify to suit your requirements | ||
| 329 | Create FDF file and display data in a populated PDF file | gigowiz |
| This program extracts names/addresses from an Informix database, creates an FDF output file which links to a PDF file, and displays the populated PDF file. The user then prints their address labels. Do what you want with this, except try to sell it back to me. :) | ||
| 341 | PHP Tester | pincushion |
| Lets you test php code from a browser. | ||
| 346 | Checks for validations of Email | james_smith |
| The Program checks for (@, . and spaces in between email) returns 1 if the email is valid else returns 0 if the email is invalid | ||
| 384 | Best Email Program uses mailto function | james_smith |
| Help you send mail in HTML format , Here you can change the variables as required to suit your needs , please make it sure that the code is on live server (Server Connected to Internet) which can be accessed by http protocal | ||
| 357 | Format Links | sikal |
| This function can be used to format URLs and E-Mail addresses as hyperlinks when they are being outputted. | ||
| 358 | A *Really* Simple Counter | key_koder |
| Its so simple try it: | ||
| 362 | Perl Wrapper for running PHP Shell-Scripts | wiggis |
| AA | ||
| 371 | clean up duplicated entries in array function | desenhistas |
| clean up duplicated entries in array and reindex it. It´s actually a really simple script but I´ve had quite a few problems before I was able to write it. | ||
| 382 | ASP Objects Simulated In PHP | iwilld0it |
| This is a simulation of many of the ASP objects, using PHP classes. Unfortunately, not every object nor property / method could be simulated. For the most part, many ASP properties could only be simulated as Methods. Below Are The Objects I could Simulate: Response Object Buffer(boolean) CacheControl(boolean) ContentType(string) Expires(date) Flush() IsClientConnected() Redirect(url) Write(string) Request Form QueryString ServerVariables Form (Instantiated Through Request Object) Count Index Item Key QueryString (Instantiated Through Request Object) Count Index Item Key Server CreateObject(class) HTMLEncode(string) MapPath(filename) ScriptTimeout(seconds) URLEncode(string) Session Value(variable name) SessionID[index] Contents[variable name] Index[index] Abandon() Please Note: The objects have to be invoked with PHP rules. Finally: Feel free to update this library, hence that I only created this library as a learning experience. This library helped me comfortably port from being an ASP developer to a PHP programmer. | ||
| 387 | Authenticates User , Maintains Security and Mails Admin | james_smith |
| This Code i have tested on Apache , here user is authenticated use username james and password smith , the program sends mail to the System Admin informing who logged in and When , Easy to use and u can modify to suit your requirements | ||
| 388 | Date-format change | jobed77 |
| Changes the date format from yyyy-mm-dd (used e.g. in MySQL) to dd.mm.yyyy or the other way round. | ||
| 389 | E-mail Validation--Check format and MX records | lodonnell |
| Get rid of fake e-mail addresses from your user inputs. This script not only checks the validity of the format of the e-mail address, but it attempts to connect to the mail server of the submitted e-mail address as well. Don't settle for a database full of fake e-mail addresses. | ||
| 393 | Multi Search PHP | triton |
| /****************************************** ** Description : Multi Search PHP ** Version : 1.0.0 ** File Name : search.htm and result.php ** Author : Thyago James Willian ** Author Email : tjw@unimes.com.br ** Created : Monday, July 02, 2001 Interesting to find web sites in more than 12 search engine. Simple and easy to include in your web site. | ||
| 410 | XML To Nested | danwatt |
| Function that takes the values array (3rd parameter) from xml_parse_into_struct, which is a 1-D array, and parses it into a nested array for easier traversal. | ||
| 428 | Multi Search & News | huwsy |
| See it working at 'www.huw.ukso.com' email me at 'huwsy@jediknights.co.uk' /> Will retrieve results from search engines and parse the data to only display the results. Can also be run to retreive the latest news from the internet. Based on php, no sql required. There is 2 files required, they are all included in the 1 upload file. 1st. hml.inc (containing layout info) 2nd. srch.php (the core file, and exercutable file) | ||
| 430 | City/State lookup for zip codes via USPS web cgi | deagol |
| This script looks up a city and state for a given zip code from the USPS web cgi for the same task. I made it for a shopping cart shipping information form where we determine the city and state by a user selection from a list of valid cities and states for their zip code. I decided to post it here because I am angry that there are no publicly available free zip code databases. One would think it should be public record. This script simply posts a fake browser POST to USPS' web cgi for looking up zip codes and formats the data returned into nice variables and prints out the results in a table. Hopefully this will save someone out there the time and money involved in the purchase of a zip code database. I wrote this script August 1st 2001, and as long as the USPS haven't changed their zip code lookup cgi this script will work fine for you. Simply post a 'shipZip' field to this script, and you will be returned a table of valid cities and states for that zip code courtesy of USPS. | ||
| 439 | Best and Easy File Upload Program | james_smith |
| I have written this program on linux OS , the directory structure will be different for windows OS , you can configure it as u require, but initially follow the commented documentation for installation and configuration in uploadresp.html read the comments carefully before using it | ||
| 440 | Best and Easy File Upload Program - file 2 | james_smith |
| I have written this program on linux OS , the directory structure will be different for windows OS , you can configure it as u require, but initially follow the commented documentation for installation and configuration in uploadresp.html read the comments carefully before using it | ||
| 1217 | webanalyse | ranx_fr |
| Web site traffic statistics tool written in PHP 4. WebAnalyse doesn't use any databases, or Apache logs. Its reports include Web site statistics by day, week, month, and year, referer, host, IP, browser. The big advantage lies primarily in detail of each visit, you can follow the pages or articles which are visited on your site. WebAnalyse can be added very easily (2 lines of code has to add) on all the pages where you wish to follow the activity. | ||
| 456 | Refer a friend | hogfan |
| Here's a (borrowing an emailer script) very simple, one-file, 15-minutes-to-set-up website referrer. Just fill in the To and From fields, and voila, it's sent. Just upload it as a .php file, make a link to it on the pages you want to be referred, and it will work. It uses HTTP_REFERER, so it MUST be linked from somewhere. You only need one file, so there's no reason to make different copies for different directories or pages. Here's the cool part: You don't have to credit me! This is just simple PHP. If anyone wants to to do anything else with it, go ahead and submit updates. Have fun! | ||
| 458 | recursive site search | kjensen |
| This script contains the form and the code to search a web site recursively through all subdirectories. This script works best in the top directory of your web site and uses an exact match as the search criteria. It works in php3 and php4. | ||
| 1288 | dBug | ospinto |
| This is a tool which debugs/dumps/shows contents of a variable in a colored tabular format. It is similar to Coldfusion's cfdump tag. This tool makes it easier for developers to view contents of a variable. Contents of resource types and database queries can all be viewed easily! | ||
| 488 | Make a simple QuickTime reference movie | duchamp |
| Use this to output a simple QuickTime file that will point to a URL of another QuickTime playable file. | ||
| 500 | Best Progress Bar written in PHP , x.php | james_smith |
| for those who thought progress bar is a just a VB stuff and not a PHP , this code is the answer , thanks for all programmers for the response they have given to my codes in phpbuilder , try this u will like it use 2 files x.php and y.php (x.php calls y.php) , | ||
| 501 | Progressbar y.php , use both x.php and y.php in same folder | james_smith |
| for those who thought progress bar is a just a VB stuff and not a PHP , this code is the answer , thanks for all programmers for the response they have given to my codes in phpbuilder , try this u will like it use 2 files x.php and y.php (x.php calls y.php) , | ||
| 502 | Browser's language detection | comunica2 |
| Redirects to the right translation of your site, dependent on the browsers language settings. It takes into account the order of user's language preference. | ||
| 505 | wap page maker | bugboy |
| A wireless php pages maker for event list or classifieds list | ||
| 530 | POBS - PHP Obfuscator | fkarsten |
| POBS stands for PHP Obfuscator/Obscurer. It is a free and open PHP program that makes PHP sourcecode almost impossible to read and edit for normal humans. It is a simple way to protect your PHP sourcecode from people who whould like to adjust it or who would like to know the inner workings of it. Now you can deploy your application and feel pretty safe about it. How it works POBS works by replacing User-defined functionnames, variables and constants with a MD5 key of 8 characters. It really removes information that humans would like to have but computers don't care about. It's not ideal but quite a good option in my idea. Advantages Really removes information from your sourcecode Hard to reverse-engineer Cross-platform, cross PHP version Open Source. So it can be adjusted to your own needs Works with PHP cachers like APC and ZEND Cache Works with Zend Encoder (although you probably don't need it anymore) Visit http://pobs.mywalhalla.net for downloads and info | ||
| 553 | SimpleCounter | drtebi |
| This is a very simple counter. You can use it as a plain text counter, or as an image counter, without the need to modify anything in the script. Look inside the script for details | ||
| 554 | POP3.CLASS - message handler library - FINALLY! | jamesb63 |
| After months of posting messages in the PHPBuilder forums and various other places and getting no response, I finally got around to writing this. It's a php class that will connect to a POP3 server, authenticate you and then provide methods to return the list of messages in the mailbox, get a message, split the message into segments (readable text and attachments), each is a subarray. Example: $msgData = $pop->GetMessage(n); $chunks = $pop->SplitMessage($msgData); $chunks is returned as follows: $chunks[n] = Array("headers" => Array(), "body" => body); Example: $chunks[0]["headers"]["from"] contains the data of who the message was from. $chunks[0]["headers"]["content-type"] contains the type of data in this segment. In 99% of cases there will be a "text/plain" or "text/html" segment. Sorry for lack of documentation, i'll write that in a later release. If you need further information, contact me at: james@computer-geek.co.uk. /> If you want a working example of this to follow then mail me and i'll send you a zip. All feedback on this highly appreciated. | ||
| 560 | Tail | majik-sheff |
| Here's an include file that gives your scripts the mystical powers of the tail command. I give it a version of 0.5 because even though it works fine I'm sure someone will find a way to make it better. :) | ||
| 1239 | Fast-Free-Host | urlguy |
| Our hosting automation script goes by the name "Fast-Free-Host", and so far it has been very popular amongst its users. It's a fully automated hosting solution script for those who wish to provide their clients with free webspace including FTP account, MySql database, php/perl/cgi support and a WebMail account (Features can be turned on/off after wish and are easily customisable aswell as the layout and can fit into any webpage) There are instant setup, allowing your clients to have theirname.domain.com or similar in a few clicks, this are a heavy visitor magnet as people visit their webpage and/or email usually daily and people tend to visit the mainpage which will help you increase your sales/traffic. Requirements: Php 3+, cPanel 7+, no database needed. Now for sale at 9$, visit www.infinitcreations.net for more info. | ||
| 1332 | Jay Library | komakino77 |
| The Jay Library is an open source (lgpl license) collection of classes for php 5 developers, based on common design patterns. Database abstraction layer, configuration management, http client, mail messaging (mime), logging functionalities, common utilities. Written in clear, well documented code. In beta development state. | ||
| 1325 | Auto Mailer | nadzree |
| Send mail automaticly based on an attribute from a database. Can send up to 4000 mail list. Has a delay between sending mails to avoid crashing the mail server (This setting can be change manually on the script). | ||
| 1326 | Winger- "She's Only Seventeen" | chrissmatana |
| awesome | ||
| 1328 | isE-Mail Functions / MX Server check and x@x.xx Format check | halityesil |
| E Mail check function "is_email($mail);" Check: - entry email x@x.xx format - entry email domain check mx server Important Note: Function not windows runing! E Posta adresinin doðruluðunu kontrol eden "is_email($mail);" fonksiyon Kontroller: - Girilen e-posta adresinin x@x.xx formatýna uygun olup olmadýðý - Girilen e-posta adresi domainine baðlý bir MX ( mail ) sunucusu olup olmadýðýný kontrol eder. Önemli Not: Funksiyon PHP nin yerel kütüphanesini kullandýðý için windows sunucularda çalýþmaz. Yardým için (for help): http://trteknik.net | ||
| 581 | A Login Script | lentin64 |
| This login script features Logging in (of course :-)) No Databases 2 Files Tells if logged in registers/unregisters people logging out. My Website is http://stevenchalker.net and my email is steve@stevenchalker.net if any errors occur. | ||
| 585 | Numeric number to literal number | cheald |
| Use to convert a numeric number to a literal string equivalent. ie: numToString(10) returns "ten". As of right now, it works for any number up to 999,999,999,999,999,999,999,999.999999999 - if you need more than that, add to the $places array. | ||
| 1269 | Scheduled Email Sender | wzeller |
| This routine will send emails stored in a database on set numbers of days after a begin date. For instance, if you have a baby-related website, you can have people register their due dates. Then have a series of emails that are sent at predetermined times before and after that date. | ||
| 596 | Application Variable Handlers | mlaine |
| A collection of functions to handle application-wide persistent variables. Similar to session handling functions, this code was based on the APPLICATION scope in Cold Fusion. I needed this concept for a system where one set of code drives several web applications. I am sure there are file locking issues so comments would be greatly appreciated!! | ||
| 687 | World's Simplest Random Quote Generator | kat1912 |
| World's Simplest Random Quote Generator that can be used in any PHP file within HTML elements. No mySQL database required. | ||
| 612 | PHP Config Builder | obfuscatr |
| After searching for a set of utilities that achieved something similar to reading and writing to .INI files in Windows, I ended up writing the attached little set of utilities that create a simple PHP file that can be include()d at the top of other files to share common 'master' settings. Obviously this would need to have some kind of user authentication added. Only a quick bodge, but does the job. | ||
| 614 | Email class | khaine |
| This class allow sending of text, html, or html/text messages with or without attachments. | ||
| 616 | Script Confuser | khaine |
| A crude but effective script confuser. It changes all the variable names to uique id, removes any comments, and plays around with whitespace. | ||
| 621 | "The World's simplest PHP Message/Quote of the Day Script" | mads1234 |
| "The World's simplest PHP Message/Quote of the Day Script" is a simple "quote-of-the-day script" that needs access to a MySQL database. It only consists of one script that's SIMPLE and hence easy to customize. This is how it works: You put any number of quotes/messages/whatever into the database, and then the script will show one quote every day. When all quotes have been shown, the script starts from the beginning of the quotes again. And if your quote-of-the-day page doesn't receive any visitors on a given day, the given quote-of-the-day will be shown the next day too. It simple, yet smart. | ||
| 623 | Code Indenter | zikko |
| If you, like me, are too lazy to indent your php or javascript code, this little php will do it for you. It'll intent using tabs, searching for curly brackets - '{' and '}'. Makes your code nice and tidy. Just place it in the same folder as the files you want to indent. Enjoy. | ||
| 630 | Customizable ucwords function | stuman |
| function wil convert the first letter of each word in a string to uppercase. For example "THE MUSIC MAN WITH THE LATIN COMBO" will be converted to "The Music Man With The Latin Combo". However, if an array with exception words is given, for instance containing "the", "with" and "his", the result will be "The Music Man with his Latin Combo. (note: the first occurence of "The" produces a capital "T" because "The" is the first word of the string.) Please look at the examples below the function code for a better understanding. | ||
| 637 | VirtuaDice | olterman |
| This is a very simple random number generator (rolling dice) written in gtk-php. Unfortunately I have not been able do put the output back into the GUI, any help would be welcome! From this you can figure out how to make a simple GTK+ script in PHP | ||
| 645 | Support Functions For Other Snippets | grantwalters |
| functions is use for other coding that can/need to be included. | ||
| 646 | Check RPMS | grantwalters |
| Will display version of RPM's in current directory and in rpm database together. (requires Support functions snippet/code and site.cfg) | ||
| 647 | List RPMs | grantwalters |
| Display RPM's in database with relevant parts selected by option, ie... Name-Version ... (requires Support Functions snippet) | ||
| 648 | Site.cfg | grantwalters |
| Required by some of my scripts | ||
| 649 | MapQuest Maps | nickster |
| This function creates a url you can use in an image tag to pull up a mapquest map | ||
| 1300 | phpECard v2.0, a small app. to set up your own e-card gall. | jaylee1977 |
| The posted doc is only the functions.php file from the script but it shows most of the functionality's. 'phpECard' is a script with wich you can set up your own personal e-card gallery. To do so you must follow the installation-guide and read the configuration-info to learn how to make your own pictures compatible with 'phpECard'. I hope you enjoy this script! Maybe you are able to modify this script with cool features? Please post them at: http://quick-xs.net/phpecard | ||
| 656 | Sysinfo | basmaaks |
| View online some statistics from your server. Only for Windows nt/2000/XP server running Apache or iss | ||
| 659 | Substation Alpha (*.SSA) - SubtitleFix | disconova |
| I got tired of malformed SSA-subtitles that are available for DivX-movies on the net, and decided to do this script that fixes the timestamps of the subtitles so that no subtitle overlaps with another (this is extreamly irritating). Hope this is of use to somebody... | ||
| 664 | A simple user auth | tawsan |
| User auth system that uses adress line for have user's sessionid. It seems good way if we let a user see our secret pages for a period. | ||
| 666 | Bar Graph | himadrish |
| This is shows you a bar graph in % in each row. Down load two files and one picture. If 'U' hav any problem mail at himadrish@yahoo.com. | ||
| 1265 | Simple RSS News Reader | airvine |
| A class to list the latest RSS feeds news sites. I have included a caching facility, this is important to have. Most sites that allow you to list their news items will probably ask that you cache the pages for at least half an hour, it,s only polite to conform with this. The feeds I tested were the ones in the test area of the file and some others RSS v0.91, v2, RDF. They all worked fine however if you find anything let me know and I will make the time for alterations. | ||
| 673 | commondreams.org headline grabber | janjansen |
| Returns a table with the latest headlines (you specify how many) from the politically lefty-leaning website commondreams.org. | ||
| 679 | Debugger with verbose levels | flight553 |
| Allows you to put debug messages in your code and mark them with a specific debug level. Later, when you want to output your debug messages, you can squelch out the messages with levels you don't want to see. This is different than other debug classes because it is not stepping through your code like a real debugger. It is only going to print the messages that you make up and that you have planted in your code. But some times you don't want to see all your debug messages, just the serious ones. Sometimes you want to see a lot more. | ||
| 1015 | ini function | solus21 |
| I'm sure there's others. Includes a small function to strip whitespace. | ||
| 1186 | Chris Dingman's Hit Trackter Script | dinger |
| A short script that allows users to track visitors to their site. | ||
| 1192 | Amazon Web Services 4.0-Beta API Class | jrags |
| This is a API class to interface with the new AWS 4.0 Beta interface. This script requires CURL, SimpleXML, and PHP5. | ||
| 1196 | Display RDF info in your web site | dpino |
| A simple way to display RDF info using SimpleXML. This example uses Fresmeat realses RDF file, but you can change it to display any RDF in the web | ||
| 1197 | php pagination | niroshan |
| pagination class. for pagin large sql result sets over an number of pages. | ||
| 693 | PHP Functions Info | mikikg |
| PHPINFO() is nice, but this script is very usefull. Get all loaded moduls/extensions and display all its functions. | ||
| 703 | Redirect Apache error messages to your own Sitemap | andersb |
| Apache ErrorDocument .htaccess solution | ||
| 711 | ICQ Status indicator | copycat |
| This small snippet just makes it possible to display the online-status of a ICQ-user account. It is originally written to display the status in plain text, but with a small change you can use images instead! | ||
| 717 | CSVSplit | bwhite |
| Function that takes a string in CSV format and splits it into an array | ||
| 732 | Cookie Based Entrance Page | mikeh |
| If your site has an entrance page and you would like that entrance page to ONLY be displyed if they haven't seen it, this is what you need. When someone views your site, a page is called and if that someone has not visited the Entrance page,it will create a cookie on the client's computer upon entry. If that someone has already visited your site and a cookie has been made, it will show the main page of your site. All of which can be configured. Easy to do. Only have to change 4 lines. | ||
| 1340 | Numeros a Letras | laraweb |
| Takes numbers to letters in spanish. Lleva de números a letras en español. | ||
| 741 | Setting and Deleting Cookies on a Fly | james_smith |
| As a programmer you may have faced this problem of setting a cookie and the next page still reading the older value of cookie , which is a never a desired case , this problem becomes typical when a new user has logged in and then logs out and then relogs in with out closing the browser , so the code below helps to solve the previous values of cookies and setting new values for a given cookie name | ||
| 755 | Validate variable | radley |
| A simple, but useful function that sets a variable to a value if the expression given is false. | ||
| 1312 | PHP Form Mailer - phpFormMailer | seiretto2 |
| Easy to use and more secure than many cgi form mailers. Upgraded and improved 19th Nov 2005, now cleans all input to prevent spammers injecting headers into your PHP mail (stops spammers using your form to send their trash). Sends email to you the site owner and sends a confirmation to the sender including a copy of their query. For additional security it checks the referrers you set. Freee to use, Free download here: http://thedemosite.co.uk/phpformmailer/ | ||
| 1182 | phpAutoMembersArea - automatically create a members area | seiretto2 |
| phpAutoMembersArea - automatically create your own members area, NO programming experience required. Included is a separate join page for your new members and separate members-area that only your members can access following a successful login. | ||
| 1183 | Infogate Courier Tracking | infogate |
| Our Script can be used by Courier tracking Company website for real time tracking of the parcel/letters. We have integrated features of OFFLINE data entry and real time tracking. The Script can be used by any courier website. In version 1.1, we have added several reports. | ||
| 768 | dynamic scale/chord generation | jhofman |
| this is a simple little script that generates scales/chords in a given key on the fly. maybe someone can use this to do something that's a little more interesting - perhaps even useful. | ||
| 1280 | SynergyMovies - PHP and MySQL Edition | velkymx |
| Build using PHP with an Apache/MySQL backend, SynergyMovies PHP and MySQL Edition allows anyone with access to a computer to host a little application to share, track and view their movie collection. Features include: * Add/Edit titles * Search titles * User account management * Access Levels * Share over the web * Check in/Check out * User Types (add titles, add users, check in/out) * Admins can check in/out movies to anyone | ||
| 770 | E-mail pager | breezero |
| Simple as possible e-mail pager. Support parameters in command line and cookie. | ||
| 771 | Breadcrumbs Navigation | russmichell |
| A PHP function *without* database, that displays a clickable, breadcrumbs style navigation item: home > gallery > my gallery | ||
| 781 | dump | hansmeiser |
| Dump content of a variable of any kind ( array, string, numeric, object ) | ||
| 784 | Broadcast Email | insurgo |
| When connected to a database, this page will retrieve email address al send an HTML message each. It also allows for a preview before the email is sent. | ||
| 1316 | AD Rotator using PHPAdsNew | gobinathm |
| This class wraps around PHPAdsNew advertisement management program to serve multiple rotationg ads in the same page without duplication. HomePage : http://gobinath.users.phpclasses.org/browse/package/2114.html Download : http://gobinath.users.phpclasses.org/browse/package/2114/download/targz.html | ||
| 802 | text-table | correctclick |
| These functions allow you to create simple text tables for use in textonly emails, etc. To use them simly call: $table = text_table ($data, "-", "|"); $data should be a two dimensional array containing your rows and columns. Rows should be first, columns second. $data[0][3] would be row 0, column 3. The '-' and '|' are the horizontal and seperating characters, respectively. Let me know if you find this useful. | ||
| 821 | Spambot Flooder | nexxus |
| This will generate a page with 100 randomly generated email addresses, in the hope that a spambot will stumble upon it and and them to its lists. | ||
| 825 | Formdata to XML | fschaper |
| This little script build a XML snippet out of a Form request. Sample: <form action="?" method="post"> <input type="text" name="user[firstname]"> <input type="text" name="user[lastname]"> <input type="text" name="user[telephone][home]"> <input type="text" name="user[telephone][work]"> </form> You would start it on with <?php XMLFormdata($_REQUEST); ?> an get <formdata> <user> <firstname>Whatever</firstname> <lastname>Whatever</lastname> <telephone> <home>+49292929292</home> <work>+492343243</work> </telephone> </user> </formdata> Thats it .. | ||
| 827 | Simplest Page Counter Available | simonrundell |
| Raw but functional, reads in a text file, increments, writes it out and displays the output | ||
| 829 | Power of PHP, Java Swing ,JDBC for Application Develoment | james_smith |
| Hi Friends, Thanks for the response u gave me for my previous codes, I am a hardcore PHP Programmer; found PHP the best for Development of Dynamic Websites, But as a programmer getting lots of project of Different Types I found Java very good for Application Development, I saw many sites, nowhere could I find a clear description of how to use Java swing with JDBC, So I wrote this code, which will be very helpful for Application Development Programmers, in fact as u know u can call java applets and java programs from PHP So this could be a great advantage source code | ||
| 831 | COM Functions to Mailmerge in Word XP | ozzie |
| This script creates a Mailmerge Template, select a data source, then performs a mailmerge. I couldn't find anything similar on the net in PHP so I had to write it myself (my least favorite option - much rather pinch someone elses code) mostly translated from a macro I recorded in VB. This has taken me days to debug because word kept hanging which prevented me working with the files because they were locked. | ||
| 832 | FastTemplate | survey |
| Here a FastTemplate class that I have modified. I made the the modifications in order for the class to work with php4 and also got rid of the apache error logging. I found that if information coming from the database has upper case letters FastTemplate will say these are unresolved variables and create an error log for both. Because of this some of my error logs were up 500mb. | ||
| 1175 | Associative array keys extractor | rasshmii |
| Code which will extract all the keys from an array and convert them into variables. Useful, if you have code written with register_globals on, and wants the same code to be functional with register_globals off, which is functional from PHP 4.2.0. in which the 'register_globals' setting is off by default. i.e. When you submit a form, and if your code directly uses the field name as variable instead of using HTTP_POST_VARS, then just add the above code at the beginning of the page. All the field names will be set as variables. | ||
| 1176 | HTML Highlighting Function | rylas |
| This function uses regular expressions to take HTML input and output it as easy-to-read syntax highlighted code. | ||
| 1180 | Process to background | mosey |
| This is a PHP 5 class that sends a specified php file, dynamically generated php code, or any system call to a background process on linux/unix servers (a little modification to the forkToStream method would make it run on windows...or maybe it does already, haven't tested) and returns a filename that will contian that processe's output. In addition, if you use the forkPHPFile or forkPHPCode methods, the forked script will have access to the output file's name in its first $argv. This is helpful for starting scripts or programs that take a long time to execute and that you do not want to have the user wait for. Since all the fork* methods return immediately, php can continue to generate the page while the time-consuming process runs on another thread on the server. It can also start a bunch of little processes going - for instance I wrote it to simultaneously make a bunch of connections to remote systems instead of waiting for it to retieve the data from each, one at a time. This was written in 1 night and could use some improvement. Tips: -pass false to the constructor to have all the output files deleted at the end of your script's execution. -If you want to start many processes simultaneously but none of them will take long to finish, you can use the php's sleep() function to check their output every second until they're all done. -Since your php scripts know the name of their output file (its the first command-line argument variable), you can re-write their contents (i.e. 27% turns to 28%...) and then just output the % done whenever the user refreshes (you'd have to store the output filename in a session variable). | ||
| 845 | MS Outlook express DBX file reader | builderzeos |
| PHP Microsoft DBX File Reader reads files in the mailbox format used by Outlook Express. | ||
| 857 | PHPScrambler | php_sven |
| PHPScrambler enables you to make your ready-to-use php files hard to read. This makes (at least) some hope that the code user (client) can't use your code for his own benefits. PHPScrambler by Sven Kirsimäe LLC Accuro Web-Systems / Special software / Consultations mail: sven.kirsimae@accuro.ee web: http://www.accuro.ee | ||
| 859 | Project Master 2.01 -Fully Functional Project Site Builder | hatch789 |
| This is a 100% fully automated Project site builder. It handles unlimited numbers of pictures and folders to catagorize them. If you would like to see an example of the working code, go to http://OUPower.com You place this index.php file in your root directory of you web site or in any directory you desire. Once there, you can start using it immediately. You just dump your pictures (.jpg or .gif) into directories below the starting point used above. You have the option to un-hyperlink directories to use them as catatgorizing folders only, you can ignore directories also. The text for the pictures is easy as pie. You edit 1 text file and that's it. Full instructions are in the main file for performing this. Everything is self contained in this baby. It has a hit counter built in that you can turn on by adding the counter.dat file and it has options for a top.html and bottom.html file to add on to the main (root) directory where you placed this index.php file. If you don't think it is the easiest site builder that you ever saw... let me know. I hope you love it. I have enjoyed making it and plan on adding more to the program as ideas are presented to me. If you want the latest copy go to: http://OUPower.com/Project_Master | ||
| 860 | PERL functions for handling PHP serialized data | phli4 |
| Two PERL functions, unserialize() and serialize(), that allow the user to load PHP serialized data into PERL, manipulate it, and then resave it in PHP format. | ||
| 862 | Dynamically Created PREV/NEXT Page Links | mrlynn |
| This function dynamically creates a set of links including PREV/NEXT and page links for a set of articles in a directory. It simply requires that you place the files in a common directory and name them sequentially. Eg: step1.html, step2.html Call the function with the value of the current page: Example Usage: <html> <body> <? include ("functions.php"); steps(1); ?> | ||
| 868 | xml2array | rotee |
| The simple class for parse XML content to PHP array. | ||
| 1172 | deleting multiple entries in mysql using checkboxes | brailleschool |
| You are able to delete multiple entries in mysql database using checkboxes as an array. It is a plug and play kinda script, to edit the script properties for the mysql database, all you have to do is edit the config.php file variables that are commented for your ease of use. A link back to my site is requested but not required. If you are wishing for assistance in getting the script to work if you have problems, then a permanent link back is required as payment. | ||
| 893 | Bible XML Parser - Keyword | mikesart |
| parses the king james bible, american standard bible, hitchcocks and eastons bible dictionaries, matthew henry commentary, bible maps and mikesartbible databases. All free XML feeds. Choose chapter and verse or keyword versions. | ||
| 1214 | Dynamic Cascading Menu Tree | lazzerous |
| One base function for calling menu information from a db and building a functional cascading menu tree from it. | ||
| 894 | Bible XML Parser - Chapter and Verse | mikesart |
| parses the king james bible, american standard bible, hitchcocks and eastons bible dictionaries, matthew henry commentary, bible maps and mikesartbible databases. All free XML feeds. Choose chapter and verse or keyword versions. | ||
| 906 | Cookies - Remember Your Info? | panosa73 |
| The user is checking out. They fill in the form with their name, address, email, state, zip etc. They choose "Yes" to the option "Remember your info?" So, you take the values from the text boxes and store them in a cookie, set to expire in one year. Next time they visit, you pull the values from the cookie and automatically fill out the form fields | ||
| 908 | xmlTemplate | bsanders44 |
| This class is used to load an XML document into an associative array, using xpat. Each element is given a unique id within its element group, and each element contains the name and id of its parent, thereby retaining the hierarchy of the source xml document. | ||
| 1173 | POP3/SMTP mail zonder imap | exeldro |
| Dit script kan: ~Overzicht van mailtjes weergeven ~Mailtjes verwijderen ~Mailtjes verzenden via smtp ~POP3 en SMTP adres en poort kunnen door gebruiker opgegeven worden ~geen variables vooraf instellen ~Base64 coded mailtjes openen ~Weergeven of er bijlages zijn ~Bijlages openen ~Cc en Bcc ~source van de mail weergeven ~priority van de mail weergeven ~embedded images weergeven ~kiezen tussen tekst en html weergave ~urls in de tekst worden automatisch omgezet in links ~controle na het inloggen ~meerdere mailtjes tegelijk verwijderen ~html mailtjes verzenden met een wysiwyg editor ~bijlages verzenden ~prioriteit mail verzenden TODO: ~embedded images verzenden Het script is te bekijken op: http://62.58.118.175/mail/ Het script is te downloaden op: http://62.58.118.175/mail.zip Voor de nieuwste versie kan je kijken op: http://www.phpfreakz.nl/library.php?sid=14877 | ||
| 936 | Custom Session Class | syberius |
| The class file allows you to store session records in a MySQL database. It is a standard class that simply stored the session id, time the session was started, and the current time. The functions in the file will override the default PHP session handling functions using set_session_save_handler() There are a few settings you have to change and the MySQL connection data but once it is all setup you simply include/require the class file and that should be it! Enjoy! | ||
| 958 | Poetry generator | billp |
| Converts prose to poetry, in form at least. Random words per line and random lines per section, it's like epic haiku. See a working version here: http://www.i-fubar.com/keitry.php | ||
| 1256 | Formhandler | mvkooten |
| FormHandler is a PHP written "module" which allows you to create dynamic forms in an easy way. So easy that you can build a fully working form, including field validations, within 10 lines! | ||
| 1257 | File uploader | uploadfiles |
| Lets all your viewers upload files from your webpage!! | ||
| 960 | Regular Expressions Testing Tool | tkredo |
| Allows you to test the validity of a Regular Expression against a sample string. Great for learning how to use RegEx or to create and test new ones. This program is written in PHP. | ||
| 1167 | phpOBrowser | gogogadgetscott |
| phpOBrowser is a dynamic object browser that allows you to browse through all available folders, files, sections, and objects in your php application and see their classes, properties, methods and constants that are available. | ||
| 963 | Using Cookies Set in ASP | jigajigajason |
This code Pulls information from a Cookie that was set by ASP with multiple values. The cookie name is Employee. HireDate, Security, Username, Enter, LastName, and FirstName are all variables stored in the cookie. cookies are set and handled differently by ASP so I wrote this to help people that use both languages be able to pull the info. ASP seperates the variables and their values using "&" so I explode the string into an array and split it at the "&". I then had to explode each of those array values at the "=" to get the raw values of each variable in the cookie. That is it, that is all I did. I figure someone will figure out how to improve this so I am making it a 0.5 for now =) | ||
| 965 | Session Handler (w MSSQL) | corsc |
| A include file to replace the standard PHP session handler using MSSQL. Please Note: This file MUST be included before any calls to the session functions. If there are any problems please attempt to rectify them yourself before bugging me. There is no warranty for this software, if you like it, use it, if not don't. :-) | ||
| 969 | Simple XML Parser | mpont |
| This class parses a XML file into a data structure, which allows the programmer to retrieve the information captured from the file in a tree fashion. | ||
| 970 | Client/Server Php Draft Printer v1.0 (2003-03-03) | tjumlani |
| Draft print from the client side or server side or wherever the printer server is. | ||
| 972 | RRD Monitor Page | bigphish |
| Already use MRTG's? Store data with RRD? Try these php pages to set threshold monitoring on usage statistics. Three files, index.php, devmon.php, and new_mon_list.php | ||
| 976 | PHP Text Hit Counter | grymmjack |
| This script will create a new COUNTER FILE in the CONFIGURED PATH named as the full path to the CALLING SCRIPT with slashes replaced by underscores and the name of the calling script appended to the end of it, as reported by PHP via the $_SERVER['PHP_SELF'] variable. | ||
| 1263 | Distribution License Class | buggedcom |
| This class can used to generate keys to control the distribution PHP applications that are enable according to a license. It generates license strings that can bind PHP applications to specific servers or can only be executed during limited time period or to restrictions placed on a home server. The binding to server process attempts to use the server network card MAC address. This feature was tested on servers are Mac OS X (Darwin), Linux, Windows XP, although it may also work for FreeBSD, NetBSD, Solaris. The class also attempts to use information from $_SERVER variable to encode that server name, server IP, server user path and server url to the application folder. This server binding can be disabled if required, and it also possible to block the key being generated for the localhost address (127.0.0.1) The time limiting of the license uses a start period (and a given start offset to allow for time discrepancies) and an expiry date if required. If required when validating a key it is possible to dial home to check the license key on your own server. (see demo2.license.php file) The PHP_OS and PHP_VERSION of the php that the key was generated for is also encrypted into the key. It is also possible to encrypt additional information into the license key. This class is still in development however it is stable. | ||
| 989 | BB code | v3x0rg |
| Ever want to add those [b]bold[/b] and :) smilie codes to your tagboard or other script? Check this out! | ||
| 990 | PHP Navigation | v3x0rg |
| Learn howto make those ?id=page links. You only have to edit 2 files to change layouts! This is widely used on many sites over the net. Check this out NOW! | ||
| 1002 | Powercounter | phpcenter |
| This is a simple counter, which shows you the number of visitors. An IP-function is included! | ||
| 1005 | iTunes XML Parser Class | imike |
| This class parses iTunes playlists into a multidimensional array ... You can find the class + a sample index.php file at http://www.imike.us/itunesxml.zip. | ||
| 1008 | State Abbreviate | binary_star |
| Takes your state name and returns the proper state abbreviation. Great for saving room in those databases... | ||
| 1009 | Easy Counter | binary_star |
| Simple PHP counter that requires no database, just a text file... | ||
| 1017 | BenchmarkIt | drawmack |
| BenchmarkIt is a php class that will allow you to benchmark an entire web site or just individual functions and scripts quickly and easily. Contents of Read Me File: Installation: To install BenchmarkIt on your website simply upload the benchmark.php file to any location on your web server. Usage: Append this code: include_once(‘<path to benchmark.php>/benchmark.php’); $bench = new benchmark(‘<full path to logs directory>/logName.extension’,’prgVer’,’program Name’); $bench->startMark(); to the very top of your php script For screen output append this code: if(!$bench->endMark()) {echo $bench->get(‘error’);} if(!$bench->runTime()) {echo $bench->get(‘error’);} if(!$bench->reportTime()) {echo $bench->get(‘error’);} to the end of your script For log file output append this code: if(!$bench->endMark()) {echo $bench->get(‘error’);} if(!$bench->runTime()) {echo $bench->get(‘error’);} if(!$bench->logTime()) {echo $bench->get(‘error’);} to the end of your script For screen and log file output append this code: if(!$bench->endMark()) {echo $bench->get(‘error’);} if(!$bench->runTime()) {echo $bench->get(‘error’);} if(!$bench->logTime()) {echo $bench->get(‘error’);} if(!$bench->reportTime()) {echo $bench->get(‘error’);} to the end of your script Turning BenchmarkIt on and off There is a flag in benchmark.php that will turn benchmarking on and off. Line 30 includes this code: define("IS_ON",1); If you turn the 1 to a 0 then BenchmarkIt will not report any results to the screen or the log file and all functions will return true to fool any error trapping you may have done. Except for reportTime which returns the null string when benchmarking is turned off. Functions startMark - starts the bench mark clock endMark - turns the bench mark clock off runTime - calculate the number of microseconds it took a program to run. logTime - records the benchmark in a log file for later use reportTime - echo the benchmark to the screen help - print the help screen for the user about - print the about screen for the user get - safely retrieves a class variable for the user Parameters: $What - the name of the class variable to return Acceptable Values: startTime, endTime, runLength, fileName, programName, pragramVer, error Credits: BenchmarkIt v1.0 Written By: J. Thomas Enders – Freelance Web Developer tomender@ptd.net | ||
| 1018 | Custom tag parser | armandoxxx |
| This class can parse your custom tags and submits function for it .. example: <mytag:tagImage src="myigame.gif"></mytag:image> would call your function tagImage tags can be also written like <tag="something">data</tag> constants in the start of file define that | ||
| 1020 | TVGuide RSS Feed | hilbe |
| This code pulls down tvguide.com's listing and parses it into a RSS feed. | ||
| 1046 | phpPPG | modular |
| php Passphrase Generator. Many encryption programs require passphrases for successful encryption. Most users do not choose strong enough passphrases (so they program cannot provide a strong encryption). phpPPG generates passphrases for you. You can modify the amount of characters being used in a single passphrase, the amount of passphrases to generate in one shot and the characterset to use. Working example: http://www.madsekci.net/phpPPG/ | ||
| 1048 | class.id3.php | privateace |
| A small and quick class to get basic and Windows Media Player ID3 information from an MP3 file | ||
| 1049 | class.cddb.php | privateace |
| A small and quick class to get CDDB information using the Linux program cd-discid. | ||
| 1050 | class.musicgrab.php | privateace |
| A small and quick class to grab top 10 information from www.musicgrab.com | ||
| 1277 | Newsletter Fácil | clenissonc |
| A simple newsletter system with an e-mail confirmation. Supports messages on HTML format. Language: Portuguese. Country: Brazil. Author: Clenisson Calaça Demo version in: http://www.pontophp.com.br/letter | ||
| 1053 | More Email Validation | tvinson |
| Email regex validation with MX check and communication. Sample code included. Returns bool valid code, bool condition code and str message. | ||
| 1223 | Making telephone calls using Voicent Gateway | voicent |
| This is the PHP interface module for Voicent Gateway, a VoiceXML gateway for your PC. You can use this interface module to make telephone calls from your PHP script, provided that the Voicent Gateway is installed and can be accessed through HTTP. There is a FREE version of Voicent Gateway program downloadable from: http://www.voicent.com/download | ||
| 1066 | FlexPHPNews Pro | milly |
| FlexPHPNews Pro is a simple, free and open source news admin system. You can add multi-level sub-categories. Users can search the news by keywords, rate the news or send the news to friends.Feature article ,Site statistics and News archive are available.Easy for internationalization. All the news are printable.Multiple pictures uploads for the news is allowed.Low price customization service is provided. | ||
| 1078 | pdfTag | rkaldung |
| A class which helps you to create pdf documents from xml sources. An own set of tags like <page>, <showxy>, <setfont> will be converted into a pdf documents with the help of PHP and the PDFlib(lite). | ||
| 1081 | ISBN validation | mafta |
| This function validates ISBN-code for books. | ||
| 1084 | CSV Export | leowww |
| Export your data to a csv and read with Excel | ||
| 1092 | Rotating Advertisement Script | billp |
| Randomly rotate your advertisements. Works without a database and without cookies. Handles banners, text-based ads, whatever format. Includes troubleshooting tips for .html files (either follow the tutorial for .htacess editing or use the JavaScript workaround). | ||
| 1101 | Available Domain Checker | oldwest |
| Type in characters, words or phrases seperated by commas, and get all permutations as a .com printed out with the statement available or not available. | ||
| 1350 | Audio CAPTCHA | salkcin |
| With the Audio CAPTCHA you make your visitors listen to a generated soundfile (mp3) instead of looking at a picture to get the code. This is a very powerful way to keep spambots away from your site. Please visit www.nswardh.com/shout for a live demo and to download the script. Have fun! ;) | ||
| 1107 | Read/Write ID3v1.0 and ID3v1.1 Tags. | hoodfatih |
| This class that represents ID3v1.0 and ID3v1.1 tags. It can read, write, and remove tags in MP3 files. | ||
| 1352 | array based menu | ramsonphp |
| array based menu | ||
| 1111 | Password Structure Validation | djyosh |
| This page will validate the structure of a string to your specifications. This script will verify a password to make sure it contains a lower and upper case alpha character, a numeric character, a symbol in the valid_symbol array, and not a symbol in the invalid_symbol array. | ||
| 1113 | UBB Parser | prisonerofpain |
| Version 1 went right to the bin, because of some stupid error's i made :(. (people interested can email me :)) The UBB Parser requires a Tags.inc.php file, wich i'm not going to supply to you :P, 'cause it's really easy to make ;) There isn't any support for tags like [url=http://google.com]Link to google[/url] and you'll have to settle with [url=http://google.com] All the standard tags are supported (like [b] (bold) and [i] italic), if you find any bugs don't hasitate to email me. Because the function arguments are called by referance you can't put plain text in it, and you'll have to do with variables. | ||
| 1114 | Anti SQL Injection - XSS attacks script | camilux |
| Just a little script (Very simple, still very beta but working) that i made to try to prevent SQL Code injection and Cross Site Scripting attacks. What it does is that it takes all the input a form receives via the _REQUEST global var, and examines it, looking for "dangerous" shell metachars, finds them, nukes them, and sends an email to the site admin, with the IP of the offender. Feel free to rip it apart and enhance it! | ||
| 1118 | Web Mirror | edman007 |
| This is a script that will allow you to view any website from anywhere except all the data will come from you server's ip not the site you are browsing, for example if you want to go to ebay.com but it is blocked by a filter but you have site that isn't blocked by the filter you can put this up on you server and go to ebay.com from behind the filter | ||
| 1121 | Simple Users Online class | tebrino |
| This very simple class enables you to track number of visitors online in an easy and accurate manner. The class also check if user is coming behind proxy server to improve script accuracy. All this is done in real time. | ||
| 1222 | Simple form mail | olaf2 |
| This short snippet will process your whole contact form. Just use the code in your (external) script and change the mail address. Tip: Use clear field names in your form. In the current version is the Mime-format supported. | ||
| 1140 | Avery 5160 Print mod | richievc |
| This script allows you to print to the avery 5160 standard PHPBuliders members helped me make and I think it's just right to share it with the rest of PHP Builder Thanks again for making my life that much easier | ||
| 1149 | webbased Office to PDF Converter | yuppie |
| A webbased Microsoft Office to PDF converter developed in PHP and based on Ghostscript with Postscript Printer. | ||
| 1152 | Super user session tracker with PHP, mySql and Cookies . | darklight |
| It works like this . It creates an id for every user that visits the site . It sets a cookie for him . The cookie contains the unique id that is a row in a table . Expired users are automatically remove from db . $Tracker=new UserTracker(); $Tracker->setVar("name","value"); $Tracker->getVar("name"); $Tracker->delVar("name"); //initiate mysql connection before using this . it creates table if missing . you can keep login count , user status , informations , online users , ... , anything . | ||
| 1153 | WordPerfect Merge File | josheli |
| Dynamically create a WordPerfect merge data (.dat) file from MySql database. WordPerfect does NOT need to be installed on the machine with PHP/MYSQL. tested with WP 9 and PHP > 4.2.3 | ||
| 1154 | pop authentication | dgomil |
| This is a simple function that takes username, password, and pop server as arguments, and returns somewhat intelligent error codes. | ||
| 1155 | Check if a program is running | gieltje |
| Check if a program is running and print up or down based on the pidof command. This should be 100% accurate. | ||
| 1343 | Affilit | affilit |
| Affilit : It works the same way as TradeDoubler and Commission Junction it just don't look as good yet but that's where you come in. http://www.affilit.co.uk | ||
| 1346 | Display a random quote | bfsog |
| This code uses an array and a random number to display a quote. You could change it to be random anything.. | ||
| 1360 | Flash/XML Applet Collection | tufatmarketing |
| 16 XML-based Flash applets for any website. 100% of the Flash 2004 Pro source code included, fully configurable via external XML and JPG files. | ||
| 1364 | Dynamic Family Tree Builder | tufatmarketing |
| Create your family tree online, and let your family members all over the world add to it. Includes dozens of viewing options and administrative controls, import/export capabilities, image galleries, dynamic templates, and many more features. | ||
| 1376 | Million Pixel Script | tufatmarketing |
| GPix is a FREE yet powerful million pixel script, based on the popular marketing concept of milliondollarhomepage.com, by Alex Tew, the college student from England who first started this trend. This system requires only a web server running PHP/MySQL, and the ability to chmod files and folders. | ||
| 1380 | Stock and Financial Ticker Apps | tufatmarketing |
| A set of stock and finance applets, inspired by stockapplets.com, including: Currency Converter, Two Tickers, Live Stock Quote Feed, Forex Cross Rates, and Stock Indicator Watcher. | ||
| 1381 | Michael Janzen | janzenms |
| phpSimpleCMS is a simple turn-key website system (content management system) written in simple php and requires no database. It is designed to make it easy for people to launch content websites with pay per click ads. I just finished a fully functioning BETA and will be making improvements soon. See http://phpSimpleCMS.com for more information. | ||
| 1385 | php session management class with mySQL | stefangabos |
| A class to handle sessions by using a mySQL database for session related data storage providing better security then the default session handler used by PHP. You don't need to modify a thing in your application - after instantianting the class just use sessions as you would normally. download it from <a href="http://stefangabos.blogspot.com/2006/08/zebra-php-framework-session-handler.html">http://stefangabos.blogspot.com/2006/08/zebra-php-framework-session-handler.html</a> | ||
| 1390 | MailBox Service Provider Script | nischalgarg |
| Big Size POP3 Mailboxes are still very much popular because of there continuous requirement at safelists and safelist submitters. | ||
| 1387 | countries list (as mySQL file) and flags | stefangabos |
| an sql file that uses as data the official names of countries in english as given in ISO 3166-1, the ISO 2-alpha code provided by the International Organization for Standardization, the ISO 3-alpha code provided by the United Nations Statistics Division and the 3-alpha code provided by The National Olympic Committees. you also have the flags for each country in the flags folder - the pictures of the flags are named using the ISO 2-alpha code of the country they represent so you should have no problems in determining which flag goes to which country this list is as of january 2006 so it might not be the most up to date list you could find. also, keep in mind that while all the countries have numeric id code and ISO 2-alpha code but not all the countries have ISO 3-alpha and NOC 3-alpha codes. download it from <a href="http://stefangabos.blogspot.com/2006/08/zebra-php-framework-countries-list-and.html">http://stefangabos.blogspot.com/2006/08/zebra-php-framework-countries-list-and.html</a> | ||
| 1388 | registry-bbb.php | seanrbaker |
| Retrieve & parse wedding registry information for a Bed, Bath, and Beyond online registry given the registry number. Fills an array with item description, price, UPC, # requested, and # purchased. | ||
| 1398 | Scrolling Text Ads Script | nischalgarg |
| Scrolling Text Ads Script is one of the most advance way to sell text ads on your website and this script can be one of the most useful tool for any webmaster. If you own 1 or more websites and want to sell text ads then this tool can be one of the best tool for you. Our Scrolling Text Ads script allows you to sell text ads on multiple websites from 1 place only. You can display textads in a vertical and horizontal ad boxes. You can provide your advertisers with real time stats of impressions and hits. This script is easy to install and comes with a Free Installation so if you need any help in installations we will install it for no extra cost. And the best thing is that if you will buy it now you will get this script for just $59. ************** | ||
| 1399 | Scrolling Text Ads Script | nischalgarg |
| Scrolling Text Ads Script is one of the most advance way to sell text ads on your website and this script can be one of the most useful tool for any webmaster. If you own 1 or more websites and want to sell text ads then this tool can be one of the best tool for you. Our Scrolling Text Ads script allows you to sell text ads on multiple websites from 1 place only. You can display textads in a vertical and horizontal ad boxes. You can provide your advertisers with real time stats of impressions and hits. This script is easy to install and comes with a Free Installation so if you need any help in installations we will install it for no extra cost. And the best thing is that if you will buy it now you will get this script for just $59. ************** | ||
| 1405 | PHPDevShell | titanking |
| Rapid deployment of admin based web PHP applications, extremely robust, secure, clean and fast packed with admin functions. Unlimited user, user groups, security levels, menu tree levels and menus in a pretty shell for integrating your PHP application. | ||
| 1410 | Encode and decode sessions values | telopian |
| This is a simple class that can be used to encode and decode session values to make it harder to obtain private session values for people with access to session data. It uses base64 encoding and mcrypt_encrypt encryption to set the values of one or more session variables values. The class may also retrieve the value of an encoded session variable and decode it. It can be easley modified to work with of varibles. | ||
| 1414 | Cryptographp free Captcha | cryptographp |
| Cryptographp is a free and powerful PHP script for generate Captcha. It's open source project. (GPL like licence) | ||
| 1420 | Create a Handy Directory | hunlauren |
| This is a very simple address book intended to handle all your organizational contacts. Add, edit and view the contact details, or manage the address book through a web browser from any platform. It allows you to store Name, Address, City, Phone and E-mail information in one place. So you can collectively access all the details about your contacts. Address Book can be shared among multiple users in accordance with the defined users and terminals. It is appropriate for sharing contacts and making the directory available to various users. Address Book script comes in a ZIP file, comprising: a PHP coding file, Screen shots and a Document of description. Address Book is available free of charge. | ||
| 1421 | Dropdown Select Menu | barramaral |
| This easy to edit function makes a drop down menu. When you select an item and click go, you will be taken to that url. | ||
| 1423 | SAM's Free Advanced Login System v2.1 | cafefrozen |
| Free powerful, easiest login system Demo at http://freeloginsystem.freehostia.com/login/login.php | ||
| 1434 | Address Book API from Rapleaf | dannymo2 |
| Import names and email addresses from a person's address book (works with Gmail, AOL, Hotmail, and Yahoo mail). Just ask the user for their username and password, and Rapleaf will return the data in XML. Use for friend invites, importing social relationships, and more. (NOTE: Rapleaf never stores the password) Rapleaf maintains an up to date code on the importer. | ||
| 1436 | Click tracking script | david4ie |
| Allows you yo monitor how many times a link/image/banner is clicked, also allows you to diguise affiliate links. Consists of 1 small PHP file and is very easy to use. | ||
| 1442 | Guise Template Class | solus21 |
| Guise is a template class written in PHP that allows you to keep HTML seperate from your PHP code. This is especially helpful for larger projects or when you're working with a team in keeping things organized and readable. | ||
| 1461 | GET POST COOKIE SECURITY SYSTEM | micr0 |
| By Metalfrog Studios http://metalfrog.co.uk USAGE: Put this at the top of your php and it will loop thought your GET,POST, COOKIES It will remove any XSS code as well as make the code safe to store into a database or display on the page | ||
| 1462 | Email Responder Pro | coryjb |
| Automated Email Replies that Mean Business! | ||
| 1470 | Search Form in php | satishflora |
| This is a search form in php.It searches the data from mysql. | ||
| 1473 | Watch web page for changes | microbe |
| There are websites that will watch a page for you and notify but I didn't really like the way they worked. I wrote my own. This should be set to run as a cron job. I run it every hour. If you have any problems with the way I write code please email the to someone.who.cares@dev.null.com | ||

