Re: [PHP] Re: Good source for sample data?

2010-01-29 Thread Michael Kubler

Agree'd.
I've done this a couple of times. Usually best is to grab a couple of 
free online dictionary lists. One for peoples names, another for 
business names, then just randomly pull the data from the dictionaries. 
Addresses, websites, phone numbers, and zip codes can all be randomly 
generated, or you can use the GEONames database 
http://www.geonames.org/ to generate actual locations.


Also, wasn't there some test data available by MySQL? I think it was the 
Sakila http://dev.mysql.com/doc/sakila/en/sakila.htmldatabase 
http://forums.mysql.com/list.php?121.


--
Michael Kubler
I believe in a better world. I support the Zeitgeist Movement


Shawn McKenzie wrote:

Brian Dunning wrote:
  

Hey all -

I need a few million sample contact records - name, company, address, email, 
web, phone, fax. ZIP codes and area codes and street addresses should be 
correct and properly formatted, but preferably not real people or companies or 
email addresses. But they'd work if you did address validation or mapping. 
Anyone have a suggestion?

- Brian



It should be easy to code a routine to generate random data.  Maybe 20 -
30 lines of code.  Obviously you may have a name like Dgidfgq Xcvbop and
company Wsdkn, but it shouldn't matter if testing is your purpose.

  


[PHP] RE: Good source for sample data?

2010-01-29 Thread Jerry Schwartz
If you need verifiable mailing addresses (actual street/city/state/zip 
combinations), you should look at some of the databases the USPS (usps.com) 
has available. They are mostly for tracking delivery statistics, and the like, 
but as a side effect they list streets all over the USA. The only thing you 
won't have are street numbers and names, but you can easily generate random 
combinations there.

By the way, if you need real-sounding names you can get a pile of first names 
from http://www.socialsecurity.gov/OACT/babynames/decades/names2000s.html; I 
used that information as part of security screening for a registration system.

Regards,

Jerry Schwartz
The Infoshop by Global Information Incorporated
195 Farmington Ave.
Farmington, CT 06032

860.674.8796 / FAX: 860.674.8341

www.the-infoshop.com

-Original Message-
From: Shawn McKenzie [mailto:nos...@mckenzies.net]
Sent: Thursday, January 28, 2010 7:20 PM
To: Brian Dunning
Cc: php-general@lists.php.net; my...@lists.mysql.com
Subject: Re: Good source for sample data?

Brian Dunning wrote:
 Hey all -

 I need a few million sample contact records - name, company, address, 
 email,
web, phone, fax. ZIP codes and area codes and street addresses should be
correct and properly formatted, but preferably not real people or companies 
or
email addresses. But they'd work if you did address validation or mapping.
Anyone have a suggestion?

 - Brian

It should be easy to code a routine to generate random data.  Maybe 20 -
30 lines of code.  Obviously you may have a name like Dgidfgq Xcvbop and
company Wsdkn, but it shouldn't matter if testing is your purpose.

--
Thanks!
-Shawn
http://www.spidean.com

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/mysql?unsub=jschwa...@the-
infoshop.com





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Good source for sample data?

2010-01-28 Thread Shawn McKenzie
Brian Dunning wrote:
 Hey all -
 
 I need a few million sample contact records - name, company, address, email, 
 web, phone, fax. ZIP codes and area codes and street addresses should be 
 correct and properly formatted, but preferably not real people or companies 
 or email addresses. But they'd work if you did address validation or mapping. 
 Anyone have a suggestion?
 
 - Brian

It should be easy to code a routine to generate random data.  Maybe 20 -
30 lines of code.  Obviously you may have a name like Dgidfgq Xcvbop and
company Wsdkn, but it shouldn't matter if testing is your purpose.

-- 
Thanks!
-Shawn
http://www.spidean.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Good source for sample data?

2010-01-28 Thread Nathan Rixham
Brian Dunning wrote:
 Hey all -
 
 I need a few million sample contact records - name, company, address, email, 
 web, phone, fax. ZIP codes and area codes and street addresses should be 
 correct and properly formatted, but preferably not real people or companies 
 or email addresses. But they'd work if you did address validation or mapping. 
 Anyone have a suggestion?
 
 - Brian

get the data from a whats near X API and obscure the personally
identifiable data with dummy values.
?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php