View Full Version : Post a PHP snippet
- Guidelines for posting a PHP snippet
- Retrieve and output certain files within a directory
- Validating an e-mail address
- Recursive Directory Listing (Show full directory structure)
- [PHP5] Filters
- Sorting an multidimensional array
- Dotting function
- Dynamic Image Resizing
- Replace url variable / add variable function.
- Build Querystring from an array in PHP4 and 5
- Filename & File extension from Path
- GD - Overlay Watermark
- Random Array Key
- FUNCTION: text2image()
- Sharpening Images (PHP 5.1; No Bump)
- Hit Counting
- FUNCTIONS: Basic BBCode
- Cookies
- BBcode with Regular Expressions
- FUNCTIONS: Dynamic URL Linking with Hit Counter
- GD Image Validation [CAPTCHA]
- Simple form builder/validator.
- Word of the Day
- FUNCTION: TrimByWords()
- FUNCTION(S): Chat Actions
- FUNCTION: Browser Name/Version detection
- Simple error manager
- Benchmarking: race two functions
- pagination class
- Random GD Image in Directory
- Simple AJAX/PHP Example
- Random Token
- FUNCTION: Hit/Log Tracker with Browser Lookup ( browser() )
- Neat MySQL query function.
- URL Implode
- FUNCTION: Validate Form Submissions
- basic site spider
- PostGres Sessions Class
- Session class.
- mysql query results iterator
- Automatic $_POST Variable Escaping
- Modular DOMDocument template engine
- Regex || regular expressions (postem here)
- Check file permissions
- Geometry.
- Basic Table Class
- Substitution for .htaccess password
- file upload class
- Color gradient function
- Credit Card Class
- MPTT Class
- generic calendar class
- PHP JSON Class v0.5
- Tab Image generation (version 1)
- Menu Class - Automatic Menus Using PHP
- Caching with PhP
- Build a plugin system into your application
- PHP File Upload that sends email to person of choice depending on upload directory.
- PHP Captcha revisited
- inStr Function
- SimpleXML Object to Array
- create time range by minutes, secs, or hours
- Read Directory with Class
- Send Email Function
- PHP 4 and 5 compatible source highlighter
- Simple Log In Page, No SQL or Cookies.
- Connecting to an IRC server with PHP
- (Non-obvious) Email address validation
- Comment class
- 404 error page header showing as 200 status
- random image
- Date MM-DD-YYYY ==> 24th June 1983
- image validator
- php MySQL online generator
- Database Class
- Database class / PHP database extension bridge.
- Dynamic class extending.
- ToMetric()
- Date of birth function
- Function to force download at certain speed
- Generating more efficiant SQL
- See if member is new within last month
- Code Extensions I Always Use
- tutorial - simple survey using pear DB
- Stock and currency quotes from Yahoo Finance
- Broadband Speed Testing
- Guest Book - No Database
- Form Builder
- Dynamic Visitor Counter Sig
- Image gallery display and slideshow viewer
- show page load time
- File uploading problem in PHP with AJAX
- Drag on BAT file
- Uploader for newbie coders. Commented.
- Simple spam removal.
- Easy string matcher, commented.
- Age calculation function
- [CLASS] userControl
- Form Validation Class
- Captcha
- Simple password generator
- squares
- Get Keyword Person Used on Google To Find Your Site
- $_POST and $_GET variable setting
- Class for handling image uploads
- Super Simple Bad Word Filter
- Simple Shoutbox
- Cookie Fix
- inlude() addon feature - finds the include file no matter where you are
- Simple Template System Tutorials
- Two functions to live by
- HTML & Text E-mail Made simple
- Security: Php-Brute-Force-Attack Detector
- Security: PHP Login Info Checker (Login Cracker)
- pagination in php
- Fighting SPAMs With PHPMySpamFIGHTER
- GPC Stripping Tutorial
- Data Collections: [Doubly]LinkedList, Stack, Queue and PriorityQueue
- This forum is JUST for sharing a completed PHP snippet. Questions go in the PHP forum
- mysql datetime reformat function
- "Moving" calendar
- Will it go through the Green Glass Door?
- Pseudo Global Variables using an Overloaded Singleton class
- Error backtrace
- Decoder for chunked transfer encoding
- PHP: Tell A Friend Script (very basic)
- Ban Ip Script
- Simple Hit counter
- Control a YouTube RSS feed with PHP
- PHP5 Pagination
- needing feedback on contact form
- PHP Driven Percentage Bar
- Basic Text Class
- Private Message system
- Getting only the fields and data types you expect from a POSTed HTML form
- PHP function not validating
- Pagination for beginners
- Dynamic rotated text
- String Formatter with regular expression.
- PHP Smilie Function
- Youtube Video Information from URL
- PHP Prime Number Generator
- Folder Viewer
- Simple Administrator Control Panel
- PageRank Calculator
- Website Template (PHP OOP mixed with HTML)
- PHP swearing smart censor
- Very Smart Swear Censoring Script
- Recursive Directory removal
- while to foreach array
- Find all duplicates in a mysql field
- remove comments from CSS
- retrieve list of images, folders and docs on server
- Square root script
- MySQL Database PHP Class
- Mr. Thumb ( Resize Class )
- Image Textifier...
- User Authentication Script For Vbulletin
- Simple Account Generator
- unicode entity reference convert
- func.displayCode.php
- Easy User Comment
- PHP Game Corner [Need feedback and testing!]
- Pagination Functions
- Accept Terms of use button.
- Extracting a specific folder from a Zip on the server
- Forgotten Password script - SIMPLE!
- JSI; JavaScript Image Conversion Functions
- Hide your Files location , Hotlink
- Verification before changes
- mressf function
- Strip URL Function
- Add proper ending to number (st, nd, rd, th)
- Vertical text with PHP
- HTML Header Script
- Retrieve ID of newly inserted record
- Easy Registration/Login system
- php find a prime
- Custom Array Function
- show database data one by one
- Update multiple rows in MySQL with checkboxes
- Invoice printing
- EASY Form Validation
- auto fill database
- EASY Form Validation + EMAIL
- Chained Select Boxes using PHP / MySQL / AJAX
- Pagination Functions
- PHP Class Loader
- sanatise code
- Array generator.
- [tutorial]How To convert units of measurement from one unit or system to another
- how to explore a directory with the php
- Short URL Api Using bitly,isgd,hexio,digg,trim
- Add ending slash
- IRCBot (Dinkbot)
- MP3 upload form
- ACTObfuscator - Open Source Free PHP Obfuscator
- Encryption Cypher
- Plugin includer
- IRC Channel Bot
- First GD Experiment
- IP Address Validation
- Email Address Validation
- basic file upload class with validation
- CSV merging
- Send SMS code
- Yet Another Database Class
- Social Bookmarking!
- Usint Imagemagick identify to build a javascript array with PHP.
- MySQL Classes
- YouTube-to-MP3 conversion - PHP class and script
- Date and time validation
- File Sender Script
- PHP Scripts
- Free Scripts - PHP Street Validation – Commercial or Residential?
- BBCode Parser
- Secure minichat without mysql, javascript etc. Pure 100% PHP only.
- Class: weight
- URL Lengthener
- Quick Tutorial
- Using Google Map V3 - Example of GPS Marking
- Password Validator
- PHP MySQL class
- [Mac]Simple PHP OOP Bank Class
- OOP Calculator [Mac] (What you think about that code ?)
- Image Cropping/Trimming and Resizing Tool (PHP & GD Library)
- OO Gallery based on a directory
- New Website Hitcounter With Images
- print_r wrapper
- my take on a better print_r() and var_dump()
- Check MySQL version
- EasyTPLR Script
- Checking Input Number Values
- Find File in Search Path with Permissions
- Checking an incoming IP against banned IP classes.
- How To Generate Random Passwords With PHP
- Simple MySQL PDO Wrapper
- Function to retrieve remaining time from two timestamps
- MySQL Connection
- Online PHP Generator
- caret (^) to pow() function
- A flexible GETTER Class.
- Sample Javascript DOM code for Pagination
- Find data 'This Weekend'
- Upload Error Processing
- Wordpress plugin for add/edit/delete/listing records
- InternetSecure Merchant Direct cURL PHP
- 52 Playing Card Deck Random Hand Draw (7-Card) [With Images]
- Multiple uploads with a single selection.
- Check for spammers using stopforumspam.com database
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.