News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Michael Kimsal's Blog:
Generate random test data
August 16, 2007 @ 13:34:44

Michael Kimsal points out a small utility to create information he found himself needing over and over - information that looks like, but is not, personal details.

I put together a small utility to generate random user data several months back. I realized yesterday that I hadn't released the source code - I thought I had. This generates plausible names, addresses, phone numbers and social security numbers. The phone number area codes don't generally match up with the address, but the addresses are accurate in that the city/state/zip all match. The addresses are currently US-based only. The code will also generate SQL statements for you to insert directly in to your database if selected.

You can download the PHP code for yourself or just use his copy to generate some sample information when you need it.

0 comments voice your opinion now!
script generate random test data personal information script generate random test data personal information


blog comments powered by Disqus

Similar Posts

Jeremy Cook's Blog: Handling Binary Data with PDO

Rafael Dohms' Blog: PHPT: Writing tests for PHP

SpinDrop.us: Parsing a list of Key:Value pairs

Maarten Balliauw's Blog: PHPLinq 0.4.0 released on CodePlex!

Ilia Alshanetsky's Blog: PHP 5.2.1RC4 Released!


Community Events

Don't see your event here?
Let us know!


series api example framework release symfony2 extension version community library testing laravel interview application opinion podcast php7 voicesoftheelephpant performance introduction

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework