Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Get data form a webpage
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Get data form a webpage

 Post Reply Post Reply
Author
Phat View Drop Down
Senior Member
Senior Member


Joined: 23 February 2003
Status: Offline
Points: 386
Post Options Post Options   Thanks (0) Thanks(0)   Quote Phat Quote  Post ReplyReply Direct Link To This Post Topic: Get data form a webpage
    Posted: 18 October 2004 at 1:00am
I have an online trading account that i use to trade currencies with and i want to be able to get the data form my account and save it to a database so i can do futher analysis.

Is it possible to use ASP to access the page then log in and pass the date  parameters to the page and retrieve the data?

I recall someone doing a similar thing with ASP/XML???


Back to Top
Mart View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2002
Status: Offline
Points: 2304
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mart Quote  Post ReplyReply Direct Link To This Post Posted: 18 October 2004 at 2:16am
This link may help you http://forums.webwiz.net/forum_posts.asp?T ID=8844&KW=XMLHTTP but what you want to do sounds too complex, to do that you will have to handle cookies post headers etc.
It is doable though
Back to Top
Phat View Drop Down
Senior Member
Senior Member


Joined: 23 February 2003
Status: Offline
Points: 386
Post Options Post Options   Thanks (0) Thanks(0)   Quote Phat Quote  Post ReplyReply Direct Link To This Post Posted: 18 October 2004 at 6:39am
That's helps but now i have a problem as the other page is a pearl script and it does not have a form tag in it.

I have tried passing the paramertes as but it just comes back saying no parameters have been passed.

Is there anyway around this?
Back to Top
lash003 View Drop Down
Newbie
Newbie


Joined: 18 October 2004
Location: Turkey
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote lash003 Quote  Post ReplyReply Direct Link To This Post Posted: 18 October 2004 at 2:35pm

I need asp scrit but this script is special.İt propertion, if database was repaired and restart it warning me!!!

Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 18 October 2004 at 3:40pm

Originally posted by Phat Phat wrote:

That's helps but now i have a problem as the other page is a pearl script and it does not have a form tag in it.

I have tried passing the paramertes as but it just comes back saying no parameters have been passed.

Is there anyway around this?

Shouldn't matter about it being a cgi as long as it's a url. Try POST instead of GET or vice versa. Like mart said though, you may have to mung the headers and/or cookies. Goolge for XMLHTTP or ServerXMLHTTP - similar but use different ip stacks.

EDIT: - Almost forgot... I have an example of this at http://new2asp.com/Section_Files/PullStrings/xmlhttp.asp



Edited by dpyers

Lead me not into temptation... I know the short cut, follow me.
Back to Top
Phat View Drop Down
Senior Member
Senior Member


Joined: 23 February 2003
Status: Offline
Points: 386
Post Options Post Options   Thanks (0) Thanks(0)   Quote Phat Quote  Post ReplyReply Direct Link To This Post Posted: 19 October 2004 at 12:19am
Thanks got it to work.

Need to use Msxml2.ServerXMLHTTP.4.0 to make it use https

Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 19 October 2004 at 7:40am
Interesting. I didn't realize that you needed to use ServerXMLHTTP for ssl.

Lead me not into temptation... I know the short cut, follow me.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.