Newbie: Please help I can't figure it out
Posted: Tue Oct 23, 2007 8:20 pm
I'm new to php and I have a couple of questions. I need to implement this and I don't know what direction to take.
I'm implementing a REST application that for example, the insert's method query string looks like this: "?format=xml&businessID=1234&customerId54321&itemID=123"
My question is, where do I get the values for businessId and customerId?
Is the businessId hard coded in the business main page?
And when the user first goes to the main page a customerId gets automatically generated and it persists for the rest of the session, possibly storing it in coockies?
If this is the way to go please point me to the appropriate function and/or good tutorials about it. Otherwise, what is the way to go? Thanks!!!
I'm implementing a REST application that for example, the insert's method query string looks like this: "?format=xml&businessID=1234&customerId54321&itemID=123"
My question is, where do I get the values for businessId and customerId?
Is the businessId hard coded in the business main page?
And when the user first goes to the main page a customerId gets automatically generated and it persists for the rest of the session, possibly storing it in coockies?
If this is the way to go please point me to the appropriate function and/or good tutorials about it. Otherwise, what is the way to go? Thanks!!!