I'm in the process of building a site that accepts payments using PHP as my primary programming language. I've been reading the blockchain.info API and trying to wrap my head around how to accept payments from many people, similarly to how most bitcoin games sites do it (IE. A user gets or generates a BTC address on the site to deposit funds. The address usually lasts for 24 hours). I was originally just gonna generate a new permanent BTC address that would work for the life of the person's account on my site but I feel that may be overkill if the site ends up attracting a lot of people.
Can anyone direct me towards a tutorial or some example PHP code that'll get me started? This page
http://blockchain.info/api/api_receive and this page
http://blockchain.info/api/blockchain_wallet_api are pretty much what I've been looking at for the past few days but I'm still at a loss as to how to create temporary BTC addresses.
Much thanks!