Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
08-24-2006, 11:48 PM #1
- Join Date
- Nov 2005
- Thanked 0 Times in 0 Posts
Retrieve information from remote website
I would like to write a PHP script that retrieves some useful information from a remote website.
Here's my current situation:
I have a hyperlink on a webpage that looks like this:
At this moment, when the hyperlink is clicked, the user is taken to this page:
If you look at the phrase between <a> and </a>, you'll see it is "61W59."
If you paste that phrase into the input box on the dell website you will be able to retrieve some
additional information about "61W59." The piece of information I am most interested in is under
"Description." This information tells me the remaining time until the warranty expires. As you can see,
the warranty for this particular computer expired back in 1997.
Now onto what I want to do. I want to automate this process by using a PHP script that goes out to
Dell's website, retrieves the warranty information I want about a particular service tag, then displays the
warranty information on my webpage or writes it to a database if I choose to do so. The problem is
I have no idea how to design such a script. I just know that I want the script to be simple and efficient.
I have all the service tags on hand. It would be super if the PHP script could read the service tags
from a separate text file.
Thank you for your time,
08-25-2006, 02:52 AM #2
- Join Date
- Dec 2004
- the U.S. of freakin' A.
- Thanked 160 Times in 151 Posts
Try this to submit the remote form with a PHP script and retrieve the results: http://www.zend.com/zend/spotlight/mimocsumissions.php
Help spread the word! Like my YouTube-to-Mp3 Conversion Script on Facebook !! :-)
[Related videos and tutorials are also available at my YouTube channel and on Dailymotion]
Get free updates about new software version releases, features, and bug fixes!
♪♪ …Need Web Hosting For My YouTube-To-Mp3 Conversion Software? Check Here !!… ♪♪