Hey there, I'm wondering if it is possible to read a PHP file (on the web)
through C++?

For example, I have a system that allows people to enter some information online (stored in a database) I then want that to be displayed through a console application.

Is this thing possible? What would I need? I'm thinking something on sockets but I'm hoping for a simpler way.

Thanks for any help.

Why via PHP?

MySQl/Oracle etc... can be set up for remote access, and you can just write an app which uses thier connector libary to access it.

Can you do that in C++? I mean, connect to a database online using MYSQL?

Thanks for your help :)

Yes. I am building a system where a PointOfSale system runs on a terminal (which acts as a cash register) and works with a database stored on a seperate server. They are connected by a network.

e.g using mysql
http://dev.mysql.com/doc/refman/5.1/en/connector-cpp.html

:o :o sounds good!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.