By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,729 Members | 1,339 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,729 IT Pros & Developers. It's quick & easy.

Get data from external site

P: n/a
I have an account with a vendor that list my order info like below:
Is there a way to connect to the site, logon & get the ordernumber &
tracking, load into mysql?

The url is sort of like this:
https://www.thesite.com/orderstatus.asp
Order# Date/Time Status
Tracking#
----------------------------------------------------------------------------
----
164788 2/28/2004 10:26:08 AM Shipped Complete 342999030150768
----------------------------------------------------------------------------
----
165578 3/2/2004 2:14:27 AM Order Cancelled
----------------------------------------------------------------------------
----
165579 3/2/2004 2:19:01 AM Order Cancelled
----------------------------------------------------------------------------
---
166250 3/4/2004 9:24:18 AM Shipped Complete 342999030147102
----------------------------------------------------------------------------
----
166282 3/4/2004 11:25:37 AM Shipped Complete 342999030147133
----------------------------------------------------------------------------
----
166623 3/5/2004 1:27:29 PM Shipped Complete 342999030158306
----------------------------------------------------------------------------
----
166624 3/5/2004 1:30:48 PM Shipped Complete 342999030159648

Thanks in advance
Steve
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
sjones wrote:
I have an account with a vendor that list my order info like below:
Is there a way to connect to the site, logon & get the ordernumber &
tracking, load into mysql?

The url is sort of like this:
https://www.thesite.com/orderstatus.asp
Order# Date/Time Status
Tracking#
----------------------------------------------------------------------------
----
164788 2/28/2004 10:26:08 AM Shipped Complete 342999030150768
----------------------------------------------------------------------------
----
165578 3/2/2004 2:14:27 AM Order Cancelled
----------------------------------------------------------------------------
----
165579 3/2/2004 2:19:01 AM Order Cancelled
----------------------------------------------------------------------------
---
166250 3/4/2004 9:24:18 AM Shipped Complete 342999030147102
----------------------------------------------------------------------------
----
166282 3/4/2004 11:25:37 AM Shipped Complete 342999030147133
----------------------------------------------------------------------------
----
166623 3/5/2004 1:27:29 PM Shipped Complete 342999030158306
----------------------------------------------------------------------------
----
166624 3/5/2004 1:30:48 PM Shipped Complete 342999030159648

Thanks in advance
Steve


You should look into CURL:

This tutorial is a good start (it's meant for Merchant account/ecommerce
stuff but it's a good overview):

http://www.phpfreaks.com/tutorials/49/0.php

PHP.net Manual on CURL:
http://www.php.net/curl

Zend tutorial:
http://www.zend.com/zend/tut/tutorial-thome3.php

Otherwise, just search google for some other tutorials.

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.