PHP Scripts
Scripts
- Send Mail from Gmail
- Onefile Script
Serve many webpages from just one file - Onefile Script v2
Serve many webpages from just one file with page index - Flatbase
Text-based database script
Courtesy of Kisom - Post to HTTPS
Post data to an HTTPS server - Delete Old Files
Deletes file in one directory if xx days old - PHP Image Script
Better than standard image scripts because of its tight security - Get Client Connects
Outputs number of connections based on port number
Courtesy of Trustabyss
Abyss-related Scripts
- pkSML.net's Directory Listing Script
Demo - AbyssWS Log Splitter
Separates Abyss log files
Courtesy of Trustabyss - Last Logfile Lines
Fast way to get most recent entries from a logfile - Abyss Pattern Match Tester
Function returning TRUE if it matches a pattern specific to AWS
Courtesy of Trustabyss - AbyssWS Host Control
Starts or stops a single host in AWS
Courtesy of Trustabyss - Parse ModRewrite Directives
Outputs a multi-dimensional array useful for converting to Abyss's URL Rewriting scheme
Courtesy of Trustabyss
Snippets
- URL regex
Formats hyperlinks within a string - Date Difference
Calculates difference in days between two dates - YYYY-M-D to Nice Date
Converts 2007-12-18 to December 18, 2007 - Time Duration Functions
Converts D-M-Y to seconds and seconds to D-M-Y
Courtesy of Trustabyss - Post Data
Access Raw POST data (TMTOWTDI) - Time Difference
Calculates days, hours, and minutes between now and some time in the past - nl2br() Alternative
Offers more control than PHP's nl2br() function - Check YIM status
Show if you're on YIM on your webpage - IP Address Validation
Determines if IP address is valid
Courtesy of Trustabyss - XOR Encryption
Performs XOR Encryption and Decryption
Courtesy of Trustabyss - Track website changes
Determines if web site's source code changes