Jump to content

PHP pulling info from a website?


Kevume

Recommended Posts

Hello,

 

Im fairly new to PHP and i would like to make a project with some specific needs. My question is wether this is possible to achieve in PHP, if yes: are their any tutorials on how to go with this or any links that could help me?

 

Any help is appreciated.

 

The project:

 

Right, so I have this big website where i put in a keyword on a form. it searches the database and comes up with a list of items. ( sometimes 1000+ items )

On every item you can click to bring up the detailpage of that item and there is a serialnumber on that detail page. Now what i want to achieve is :

 

I want to make a page ( external !!! ) where i put in a keyword, the keyword gets sent to the big website and automaticly i get a list of all the serialnumbers and names of the items which the page found.

 

NOTE : i cannot use the database from the big website, i just want to achieve this by letting PHP do a 'screen reading' from the pages or something. ( eg : if it finds the icon for the serialnumber on the detail page it copies the number behind it to my database or puts it in to an array )

 

thanks alot!

Link to comment
https://forums.phpfreaks.com/topic/96914-php-pulling-info-from-a-website/
Share on other sites

i dont think that's possible without access to the database on the big website.. only thing i can come up with is to add their search form to the smal website but then u will be redirected to the search result page on the big website tho

 

you may be able to download pages using fopen()' date=' then search the content.[/quote']

 

with over 1000+ results that would take forever wouldnt it?

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.