PDA

View Full Version : Post a PHP snippet


  1. Guidelines for posting a PHP snippet
  2. Retrieve and output certain files within a directory
  3. Validating an e-mail address
  4. Recursive Directory Listing (Show full directory structure)
  5. [PHP5] Filters
  6. Sorting an multidimensional array
  7. Dotting function
  8. Dynamic Image Resizing
  9. Replace url variable / add variable function.
  10. Build Querystring from an array in PHP4 and 5
  11. Filename & File extension from Path
  12. GD - Overlay Watermark
  13. Random Array Key
  14. FUNCTION: text2image()
  15. Sharpening Images (PHP 5.1; No Bump)
  16. Hit Counting
  17. FUNCTIONS: Basic BBCode
  18. Cookies
  19. BBcode with Regular Expressions
  20. FUNCTIONS: Dynamic URL Linking with Hit Counter
  21. GD Image Validation [CAPTCHA]
  22. Simple form builder/validator.
  23. Word of the Day
  24. FUNCTION: TrimByWords()
  25. FUNCTION(S): Chat Actions
  26. FUNCTION: Browser Name/Version detection
  27. Simple error manager
  28. Benchmarking: race two functions
  29. pagination class
  30. Random GD Image in Directory
  31. Simple AJAX/PHP Example
  32. Random Token
  33. FUNCTION: Hit/Log Tracker with Browser Lookup ( browser() )
  34. Neat MySQL query function.
  35. URL Implode
  36. FUNCTION: Validate Form Submissions
  37. basic site spider
  38. PostGres Sessions Class
  39. Session class.
  40. mysql query results iterator
  41. Automatic $_POST Variable Escaping
  42. Modular DOMDocument template engine
  43. Regex || regular expressions (postem here)
  44. Check file permissions
  45. Geometry.
  46. Basic Table Class
  47. Substitution for .htaccess password
  48. file upload class
  49. Color gradient function
  50. Credit Card Class
  51. MPTT Class
  52. generic calendar class
  53. PHP JSON Class v0.5
  54. Tab Image generation (version 1)
  55. Menu Class - Automatic Menus Using PHP
  56. Caching with PhP
  57. Build a plugin system into your application
  58. PHP File Upload that sends email to person of choice depending on upload directory.
  59. PHP Captcha revisited
  60. inStr Function
  61. SimpleXML Object to Array
  62. create time range by minutes, secs, or hours
  63. Read Directory with Class
  64. Send Email Function
  65. PHP 4 and 5 compatible source highlighter
  66. Simple Log In Page, No SQL or Cookies.
  67. Connecting to an IRC server with PHP
  68. (Non-obvious) Email address validation
  69. Comment class
  70. 404 error page header showing as 200 status
  71. random image
  72. Date MM-DD-YYYY ==> 24th June 1983
  73. image validator
  74. php MySQL online generator
  75. Database Class
  76. Database class / PHP database extension bridge.
  77. Dynamic class extending.
  78. ToMetric()
  79. Date of birth function
  80. Function to force download at certain speed
  81. Generating more efficiant SQL
  82. See if member is new within last month
  83. Code Extensions I Always Use
  84. tutorial - simple survey using pear DB
  85. Stock and currency quotes from Yahoo Finance
  86. Broadband Speed Testing
  87. Guest Book - No Database
  88. Form Builder
  89. Dynamic Visitor Counter Sig
  90. Image gallery display and slideshow viewer
  91. show page load time
  92. File uploading problem in PHP with AJAX
  93. Drag on BAT file
  94. Uploader for newbie coders. Commented.
  95. Simple spam removal.
  96. Easy string matcher, commented.
  97. Age calculation function
  98. [CLASS] userControl
  99. Form Validation Class
  100. Captcha
  101. Simple password generator
  102. squares
  103. Get Keyword Person Used on Google To Find Your Site
  104. $_POST and $_GET variable setting
  105. Class for handling image uploads
  106. Super Simple Bad Word Filter
  107. Simple Shoutbox
  108. Cookie Fix
  109. inlude() addon feature - finds the include file no matter where you are
  110. Simple Template System Tutorials
  111. Two functions to live by
  112. HTML & Text E-mail Made simple
  113. Security: Php-Brute-Force-Attack Detector
  114. Security: PHP Login Info Checker (Login Cracker)
  115. How to fetch the data from multiple tables
  116. pagination in php
  117. Fighting SPAMs With PHPMySpamFIGHTER
  118. GPC Stripping Tutorial
  119. Data Collections: [Doubly]LinkedList, Stack, Queue and PriorityQueue
  120. This forum is JUST for posting a PHP snippet. Questions go in the parent forum.
  121. mysql datetime reformat function
  122. "Moving" calendar
  123. Will it go through the Green Glass Door?
  124. Pseudo Global Variables using an Overloaded Singleton class
  125. Error backtrace
  126. Decoder for chunked transfer encoding
  127. PHP: Tell A Friend Script (very basic)
  128. Ban Ip Script
  129. Simple Hit counter
  130. Control a YouTube RSS feed with PHP
  131. PHP5 Pagination
  132. needing feedback on contact form
  133. PHP Driven Percentage Bar
  134. Basic Text Class
  135. Private Message system
  136. Getting only the fields and data types you expect from a POSTed HTML form
  137. PHP function not validating
  138. Pagination for beginners
  139. Dynamic rotated text
  140. String Formatter with regular expression.
  141. PHP Smilie Function
  142. Youtube Video Information from URL
  143. PHP Prime Number Generator
  144. Folder Viewer
  145. Simple Administrator Control Panel
  146. PageRank Calculator
  147. Website Template (PHP OOP mixed with HTML)
  148. PHP swearing smart censor
  149. Very Smart Swear Censoring Script
  150. Recursive Directory removal
  151. while to foreach array
  152. Find all duplicates in a mysql field
  153. remove comments from CSS
  154. retrieve list of images, folders and docs on server
  155. Square root script
  156. MySQL Database PHP Class
  157. Mr. Thumb ( Resize Class )
  158. Image Textifier...
  159. User Authentication Script For Vbulletin
  160. Simple Account Generator
  161. Facebook Picture Tagger Script
  162. unicode entity reference convert
  163. func.displayCode.php
  164. Easy User Comment
  165. PHP Game Corner [Need feedback and testing!]
  166. Pagination Functions
  167. Accept Terms of use button.
  168. AJAX Image Uploader
  169. Extracting a specific folder from a Zip on the server
  170. Forgotten Password script - SIMPLE!
  171. JSI; JavaScript Image Conversion Functions
  172. Hide your Files location , Hotlink
  173. Verification before changes
  174. mressf function
  175. Strip URL Function
  176. Add proper ending to number (st, nd, rd, th)
  177. Vertical text with PHP
  178. HTML Header Script
  179. Retrieve ID of newly inserted record
  180. Easy Registration/Login system
  181. php find a prime