Repair PHP code to process data properly - READ PROJECT FIRST
Budget: $10 – $30 USD
**** READ FIRST! PLEASE DO NOT SEND AN AUTOMATED BID ****
Someone wrote a program for me and it worked for a few days. It stopped working and I've not been able to get a response. I' need to get this fix done asap.
I was able to get an older version of the program to work but alas it was an older version because it pulled the last record first and then the second record to the end. I never get the first record.
The files are in XML format. I need someone to look at this process.php that grabs the uploaded file and prepares it for processing. All but this tweak works fine.
Sales
Beginning of file
<FiSalesHistory xmlns="http://www.xxxxxxxx.com/pip-extract-fisales-history"><FISalesHistory><CRMFlag /><VIN>
End of file
</BusinessPhone></FISalesHistory>
<ErrorCode>0</ErrorCode><ErrorMessage/></FiSalesHistory>
Service
Beginning of File
<ServiceRODetailHistory xmlns="http://www.xxxxxxxx.com/service-repair-order-history"><service-repair-order-history>
<EmailAddress><V Idx="1">
End of file
</PhoneDesc></service-repair-order-history>
<ErrorCode>0</ErrorCode><ErrorMessage/></ServiceRODetailHistory>
Customer
Beginning of File
<HelpCustomer xmlns="http://www.xxxxxxxx.com/pip-extract-help-customer"><Customer><Language /><PreferredLanguage /><Address>
End of file
</Customer>
<ErrorCode>0</ErrorCode><ErrorMessage/></HelpCustomer>
Someone wrote a program for me and it worked for a few days. It stopped working and I've not been able to get a response. I' need to get this fix done asap.
I was able to get an older version of the program to work but alas it was an older version because it pulled the last record first and then the second record to the end. I never get the first record.
The files are in XML format. I need someone to look at this process.php that grabs the uploaded file and prepares it for processing. All but this tweak works fine.
Sales
Beginning of file
<FiSalesHistory xmlns="http://www.xxxxxxxx.com/pip-extract-fisales-history"><FISalesHistory><CRMFlag /><VIN>
End of file
</BusinessPhone></FISalesHistory>
<ErrorCode>0</ErrorCode><ErrorMessage/></FiSalesHistory>
Service
Beginning of File
<ServiceRODetailHistory xmlns="http://www.xxxxxxxx.com/service-repair-order-history"><service-repair-order-history>
<EmailAddress><V Idx="1">
End of file
</PhoneDesc></service-repair-order-history>
<ErrorCode>0</ErrorCode><ErrorMessage/></ServiceRODetailHistory>
Customer
Beginning of File
<HelpCustomer xmlns="http://www.xxxxxxxx.com/pip-extract-help-customer"><Customer><Language /><PreferredLanguage /><Address>
End of file
</Customer>
<ErrorCode>0</ErrorCode><ErrorMessage/></HelpCustomer>