Develop a data-script in PHP, and MySQL if required (or flat text) The data will be scraped from [url removed, login to view] Althougt this data contains email addresses, we WILL NOT use the script the spam. In fact, unsolicited commercial email is strictly forbiddden in Australia. The script would have the following functions: 1. The users would run a search at [url removed, login to view] The first page of the search results are displayed and a search URL is produced. 2. The user then runs the script, by putting the following details into a form produced by the scraping script: a. They copy and pastes the search URL into a "Search URL" field b. They set the number of results to be collected in a "Maximum Results" field c. They press "Submit", but there is also a "Stop" button to stop the search 3. The script would collect 5 fields from the displayed page (and in the case of email has to open an additional page/form to get the field) 4. Each page displays 20 results. After the results are collected, the script moves to the next page, until it gets to the end, or hits the maximum Results set by the user. 5. The data is collected and stored either in a text file, or a MySQL database (whichever is eaier to do!). In either case the data myst be capable of easy export to a .csv file that can be read in .xls. I envisage a text file, with .csv extension, and correct formatting would not need to be exported, but could be opened directly in Excel. 6. The fields (and their location on html of the pages) are: * business name * address * phone * email * web address 7. There are three kinds of listings. The sample of the html layout is contained in teh ZIP file, and suggested methods for extracting.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
______ Extras: 1. Code must be fully commented. Another PHP programme r will view the code and confirm comment is OK. 2. All rights in code our ours.
PHP (and MySQL if required)