Jump to content

Would this be done using PHP?


Himore

Recommended Posts

Hi.

 

Hoping someone can help point me in the right direction here.

 

How would you implement a live stock updater that can check whether a particular item is in stock at an online store (on a different website)?

 

An example is here - h**p://www.wiigamereviews.co.uk/default.aspx

 

Every 60 seconds the screen refreshes and checks various stores for availability of consoles, and as soon as some come into stock, it pops up an alert on the wiigamereview website.

 

How would this be done? ???

 

thanks in advance, :)

Nick

 

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/73375-would-this-be-done-using-php/
Share on other sites

Basically the page has some javascript in it that tells it to refresh every 60 seconds and when it does the .asp code in the page runs a query to that entity and displays the results.

 

You could do the same thing in PHP as well. You'd just have to have the source that supplies the information.

Thank you very much for the prompt reply.

 

However, it wasn't the refreshing of the screen every 60 seconds that had me foxed, as I know how to do that.

 

It is the act of finding out whether the various online stores have a particular item in stock that has me fazed.

 

Any idea on how you do that?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.