Quick Search:
PHP Code Category
Jump to:
Select a Location
PSOUG Home Page
Oracle Code Library
mySQL Code Library
PHP Code Library
JavaScript Code Library
Oracle Terms & Definitions
Oracle Error Codes
Advanced Code Search
Contact Us
1
2
3
4
5
6
7
8
9
>
>>
Add a period at the end of a string if there isn't one there already
- Simple way to...
Add and Subtract dates
- You can combine strtotime with the date function to create your...
Add dashes to credit card numbers
- Easily add dashes to credit card numbers.
Alternate Title Case function
- Intelligently converts a string into title case.
Anti-Flood Protection
- This script will redirect the user when he or she makes too many...
Anti-SQL Injection Function
- Simple function to help stop SQL Injection attacks. Use th...
Array of all US states
- Handy pre-made array of all US states.
Auto Link Maker
- Automatically make active links to URLs. Works for both 'http:' and 'm...
Auto Link Maker #2
- Automatically creates links 'http:' and 'mailto:' strings in text.
Automatically process email
- Automatically process an email with attachment(s) using PH...
Awesome Date Time Conversion Kit
- Awesome Mysql date-time converter kit. Real-life ...
Bad Word Filter
- Replaces bad words, censoring the text passed in automatically.
Ban Proxy Servers
- Bans most (but not all) proxy servers by detecting common "FORWARD" ...
Base 64 Decode
- I recently ran across a freeware web application written in PHP that ut...
Basic currency conversion Convert 1 dollar to pounds using Yahoos conversion
- Convert ...
Basic PHP Calendar
- Easy to modify PHP Calendar that displays the current month.
Binary to Text and Text to Binary
- Binary to Text and Text to Binary printer.
Block IP Addresses
- The above code creates an array of IP address to be blocked and che...
BR2NL Function: Opposite of NL2BR
- Simple way to do the opposite of what the nl2br() fu...
Browser sniffer/detector
- Simple code that displays the HTTP_USER_AGENT of the client.
Bubblesort routine
- Reasonably quick bubblesort routine.
Buffered Download code
- For downloading very large files (10 meg or more), split the fi...
Build Date Select Boxes
- A function that builds select boxes for the month,day,and year...
Build HTML select list from table
- This function builds an HTML select list from from d...
Build select menu from database
- This small function is used to build a select menu wit...
Calculate date of Easter Sunday
- Correctly calculate the date of Easter Sunday.
Calculate Distance
- Calculates the distance between two pairs of latitude longitude coo...
Calculate File Size In Directory
- This is a PHP Class that calculates the size, number ...
Calculate the difference between two times formatted in HH:MM
- A script that calculates...
Calculate Zipcode Distances
- This routine calculates the distance between two points (g...
1
2
3
4
5
6
7
8
9
>
>>
Home
|
Search
|
Code Library
|
Sponsors
|
Privacy
|
Terms of Use
|
Contact Us
© 2003 - 2025 psoug.org