php, read XML from file or url and send data to postgres

Job ID: 32223098

Budget: $10 – $30 USD

this is a very small project and it should take someone with php knowledge very very little time.

the xml data may contain one or more subnets and the data must be inserted into postgres as it looks in the database dump

the /24 would be manually inserted, i only inserted a single /29 but what should happen is:

grab the unit name, for example, 42 and description which is the customer info and insert the ip subnet into an insert statement

10.0.1.153/30 with Cust: Test2 - irb 42

data would come from either a curl request or it would already be in a file in the local dir.

looking for a single php to do all of this.
Related categories: PHP XML Linux PostgreSQL