php-web-developer.net banner
Home · PHP · php code snippets
topleft   topright
Your Ad Here

php code snippets

php code snippets

  • Add ending slash
  • Array change case
  • Apply keys
  • Split an array into chunks
  • Array count values
  • Array get path
  • Array map
  • Randomize array
  • Create array range
  • Array remove empty entries
  • Slice a array (like MySQLs limit)
  • array_walk debug example
  • array_walk example
  • Array2object and Object2array
  • Simple HTTP authentication example
  • Datetime Design Pattern Microformat
  • HTTP authentication example with logout function
  • Auto updating copyright
  • Bin2PHP
  • How to block multiple IP adresses
  • Caching for dynamic content
  • Color inverse
  • String contains
  • Count files recursive
  • Simple cURL example
  • Daily changing random quotes
  • Darker color
  • Calculate full database size
  • Debug function
  • Directory list
  • How to calculate the size of a directory
  • File download with speed limit
  • DomXML Example
  • Ends with
  • Debug value helper function
  • Elapsed microtime counter
  • Exif thumbnail
  • Function overloading
  • Extract E-Mails
  • File download
  • Replace bad words
  • Force the use of the www subdomain
  • FTP file upload example
  • String get between
  • Get alphabet
  • Files by extension
  • Glob examples
  • Google texter - v0.2
  • String2Hex and Hex2String
  • Modify HTTP Headers (Examples)
  • htmlSQL - Example
  • Hex2RGB
  • Count lines and their occurrences
  • Is IPAdress valid
  • List directory contents by date
  • Save PHPInfo to file
  • Miscellaneous things
  • Load and save a array dump
  • Find lowest and highest value
  • Simple Ming example
  • Simple MS-SQL example
  • Simple MySQL examples
  • Natsort example
  • Preg replace callback example
  • Next related number
  • Normalize path
  • Number suffix
  • Path get last argument
  • PHP System vars
  • How to do a POST request
  • Prefix and suffix
  • Printf and sscanf examples
  • Randomize SQL query results
  • Random split
  • Random string
  • Random array element
  • Random color
  • Random file
  • Random password
  • Random readable password
  • Random sentence
  • Read and write tab seperated files
  • Human readable filesize
  • Remove duplicated lines
  • Remove duplicated values
  • Restore array
  • Restore htmlspecialchars
  • RGB2Hex
  • ROT13 transform
  • Simple Syntax highlighting
  • Secure redirect
  • Similar text
  • Simple hand-made hash function
  • Simple text counter
  • Snoopy example
  • Soundex
  • Split by length
  • Reduce a string by the middle
  • Starts with
  • Swap array
  • StrTrim
  • A easy way to check the file size
  • Text to links
  • Is older than
  • Time to load
  • Trim array (recursive)
  • URL functions
  • Values2keys
  • Whois query
  • Wordwrap example
  • XOR encryption
  • Write to file
  • Swap two variables
  • Merge two strings
  • Format string as machine compatible key
  • MD5-based block cipher
  • Delete temporary files

 

http://jonasjohn.de/snippets/php/

16.07.2008. 00:26

This article hasn't been commented yet.

Write a comment

* = required field

:

:

:


8 + 6 =

Your Ad Here
topleft topright
topleft Spread the word! topright
Subscribe Blog Subscribe to this site
Bookmark and Share
eXTReMe Tracker
Subscribe via EMAIL
We respects your privacy. We never sell, rent, or trade your email address to other companies.

topleft topright
 
topleft Sponsors topright
Webmasters-Directory



ADVERTISE HERE
topleft topright
 
topleft Sponsors topright
banner
banner
banner
banner
banner
banner
topleft topright
topleft Search topright

topleft topright
 
topleft Categories topright
topleft topright
 
topleft Why this Site? topright

Why This Site?

Web-developers have written many articles about php,ajax,css,javascript,dhtml and DOM, and developed many useful techniques, which can save you a lot of time - of course, if you are able to find them in time.Here in this site you will find a list of techniques we , as web-architects, really could not live without. They are essential and they indeed make our life easier. Let's take a look at all category techniques you should always have ready to hand if you develop web-sites.
topleft topright
 
topleft Latest Articles topright
topleft topright
 
topleft Site Promoters topright
Webmaster Directory,forum,php stuffs,free stuffs and webmaster resources.
topleft topright
 
topleft Share this widget!! topright
topleft topright
Copyright Tutorials,tips,trics,bookmarks,articles and techniques about php,mysql,ajax,css,javascript,dhtml and DOM | php-web-developer.net - © 2008 RSS Articles RSS Comments RSS Comments for this article sNews