Jump to content

Import from Inventoria to PHP


pooriaia

Recommended Posts

Hi Everyone,

 

I have a quite odd request. So I'm looking to integrate Inventoria with my PHP website. I want to collect info from inventoria and on the PHP page show IN STOCK or OUT OF STOCK. I don't need to get exact numbers. Is there anyway to retrieve the stock from Inventoria and do this?

 

Greatly appreciate your answers.

Peace

Link to comment
Share on other sites

  • 4 weeks later...

You will have to parse all the files in C:\ProgramData\NCH Software\Inventoria\Items. Each .dat file is an item in your inventory and each field for that item is separated by a "&" in the .dat file. Each field for the item has the format:

 

 

<field-name>=<value>

 

Maybe create a program that parses the .dat files and generates an XML file.

 

By the way, "C:\ProgramData" is a hidden directory.

 

Hope that helped,

 

Gunner

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...