Help with parsing.

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Doh! 8O I actually included part of it in my response to you. That is embarrassing. :oops:
303tech wrote:Basically, its a Point of Sale system software that loads an ini. It is not a php script ini.
What language is the Point of Sale system written in? Is that what you are editing?
303tech wrote:This software loads every day.
Is someone loading it, or what? I am not understanding what you mean by it loads everyday.
303tech wrote:It loads an html page into the workspace (which means i should be able to get it to pull dynamic content). I want to set this page to do a couple things right now.
-Parse the ini file for Storeid=, send to $sid
-search store by phone
-send the current ip of POS host machine to $ip, where it is stored on a remote db.
-mass update messages and news.
All of this can be done with a single PHP file.
303tech wrote:I want to be able to load the store name or number from the ini, into a variable of a php script.
The example I posted above should do that.
303tech wrote:The admin backend would have some type of phone number SEARCH function... which would then pull up a table of:

Phone Number, STORE Name, Ip address, and current advertisements or news.

There would also be a place within admin to post or edit news where it would then show up on the page of the software everytime its loaded.
This part would more than likely be its own module, or collection of modules, in your application.
Post Reply