Jump to content

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?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.