Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.1.4

Request #15457 Improve the process for updating postcodes
Submitted: 2008-12-30 06:09 UTC Modified: 2008-12-30 06:24 UTC
From: doconnor Assigned: skwashd
Status: Assigned Package: Validate_AU (version CVS)
PHP Version: 5.2.6 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2008-12-30 06:09 UTC] doconnor (Daniel O'Connor)
Description: ------------ Bug #15454 will become a recurring problem, and has a script by . skwashd says: Download -> Unzip -> Run Script -> Checkin is in improvement. It would probably be possible to use streams to handle the first 2 steps in the script, but I didn't get that far with it. Look at: http://pear.php.net/bugs/patch-display.php?bug=15454&patch=process_AU_Postcodes-script-not_a_patch&revision=latest doconnor says: run phpcs over it just quickly, you can probably also make use of fgetcsv, if you feel really keen, sure, the downloading + extracting bit would be neat

Comments

 [2008-12-30 06:24 UTC] skwashd (Dave Hall)
The script now passes phpcs - see http://pear.php.net/bugs/patch-add.php?bug=15457&patch=process_AU_Postcodes-script-not_a_patch I will see if I get time to add the bells and whistles (aka download+unzip support). As mentioned on IRC I don't think that fgetcsv is needed as we just need to extract one value from each row.