Skip to content
David Kittell
David Kittell

Application & System: Development / Integration / Orchestration

  • Services
    • Application Development
    • Online Application Integration
  • Code
  • Online Tools
  • Tech Support
David Kittell

Application & System: Development / Integration / Orchestration

Random Code/Number

Posted on August 15, 2013October 26, 2015 By David Kittell

$Random_code=rand();
echo $Random_code;

Originally Posted on August 15, 2013
Last Updated on October 26, 2015
All information on this site is shared with the intention to help. Before any source code or program is ran on a production (non-development) system it is suggested you test it and fully understand what it is doing not just what it appears it is doing. I accept no responsibility for any damage you may do with this code.

Related

Code PHP

Post navigation

Previous post
Next post

Related Posts

MSSQL – Identity Insert

Posted on March 10, 2014June 15, 2017

— Attempt to insert an explicit ID value of 3; — should return a warning. INSERT INTO products (id, product) VALUES(3, ‘garden shovel’) GO — SET IDENTITY_INSERT to ON. SET IDENTITY_INSERT products ON GO — Attempt to insert an explicit ID value of 3 INSERT INTO products (id, product) VALUES(3,…

Read More

Android Contacts – Clear/Remove Notes

Posted on December 11, 2013October 26, 2015

SELECT data1 FROM data INNER JOIN mimetype ON mimetype_id = mimetypes._id WHERE mimetype LIKE "%note%" AND length(data1) > 0 UPDATE data SET data1 = NULL FROM data INNER JOIN mimetype ON mimetype_id = mimetypes._id WHERE mimetype LIKE "%note%" Originally Posted on December 11, 2013Last Updated on October 26, 2015 All…

Read More

PowerShell – FTP Upload Directory With Sub-Directories

Posted on November 23, 2015February 12, 2016

This script below will connect to a FTP server and upload the folder with sub-directories and content to the defined path. Currently this script will assume it needs to create the directories. clear # FTP Server Variables $FTPHost = ‘ftp://192.168.1.1/html/’ $FTPUser = ‘user’ $FTPPass = ‘password’ #Directory where to find…

Read More

Code

Top Posts & Pages

  • PowerShell - Rename Pictures to Image Taken
  • Front Page
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions

Recent Posts

  • Javascript – Digital Clock with Style
  • BASH – Web Ping Log
  • BASH – Picture / Video File Name Manipulation
  • Mac OSX Terminal – Create SSH Key
  • Bash – Rename Picture

Top Posts

  • PowerShell - Rename Pictures to Image Taken
  • C# - Start/Stop/Restart Services
  • MacPorts / HomeBrew - Rip CD tracks from terminal
  • PowerShell - Show File Extensions
  • Open On Screen Keyboard (OSK)
  • SQLite - Auto-Increment / Auto Generate GUID
©2025 David Kittell | WordPress Theme by SuperbThemes