maple Posted September 21, 2006 Share Posted September 21, 2006 hello everybody, Iam very new to this forum, can any one let me know a solution for the following problem i would like to retrieve field values from world wide web. ie.. for each different values i have stored in my html form i would like to retrieve the corresponding values.for example: in order to retrieve temperature for various cities i maintain in my html page or excel sheet (any), how do i retrieve the respective temperatures of all the cities from the web and display in my web page or excel sheet. Link to comment Share on other sites More sharing options...
Webworldx Posted September 21, 2006 Share Posted September 21, 2006 You can't access external sites data using javascript alone - so you're going to need something like curl or snoopy in PHP to help you if you're wanting to do that.I'm not quite getting exactly what you're wanting to do though - retrieving field values from "world wide web" :/ Link to comment Share on other sites More sharing options...
maple Posted September 22, 2006 Author Share Posted September 22, 2006 You can't access external sites data using javascript alone - so you're going to need something like curl or snoopy in PHP to help you if you're wanting to do that.I'm not quite getting exactly what you're wanting to do though - retrieving field values from "world wide web" :/ya i would like to fetch the values of a field from a website page (which does not require any authentication)for which i know the name of the field ,ill tell u a scenario : if i have scrip names (company ID in NSE or BSE) of number of companies,i would like to know its price value and volume information at a single refresh,hence i want to fetch the field values when i input the scrip name. Link to comment Share on other sites More sharing options...
Webworldx Posted September 22, 2006 Share Posted September 22, 2006 Is the website page you're wanting to fetch from on the same domain as the other pages? Link to comment Share on other sites More sharing options...
Chocolate570 Posted September 22, 2006 Share Posted September 22, 2006 Hey!You might want to check out a php script I put together. Emphasis on put together, nothing is mine in this...I just assembled it so it would work http://w3schools.invisionzone.com/index.ph...ost&p=19667If you need help modifying that for your needs, I'll gladly do it. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now