Modify attached customer generator that creates a list of fake customer info (name, email, address, etc). Add Canada as a country, and generate fake addresses and telephone numbers
Create fake customer data for testing another program that processes customer lists
The attached php propgram generates fake names and email addresses.
Modify it so that it has an additional field for "Country"
10% of the names should be set to Canada as a country
Randomly assign a candadian province or an america state to the customer, as appropriate.
Generate a random city for each customer. The city doesn't need to actually exist, but the name should look 'realistic.' 'St. Joseph' is ok, 'JioausdHIou' is not ok. You might want to download a list of real cities from the web. The cities don't have to match-up with their their real-life country.
Generate a random and realistic address
15% of customer should have something for Address2, like Apt 4 or Suite A
Generate a fake zip code - does not need to exists
Generate a fake phone number - does not need to exist
Must be php 4 compatible
Must be able to run under windows
How to run the attached program:
Browse to [url removed, login to view]
You can download a list of cities, worldwide, here: