RE: [PHP] Grabbing dynamic pages

From: Date: Fri, 07 Sep 2001 07:36:10 +0000
Subject: RE: [PHP] Grabbing dynamic pages
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-66348@lists.php.net to get a copy of this message
thanks again all, The data will be the whole web page and I have to extract out the current share pricing etc, probaly grab thier sexy chart as well (was told you can take what you want as long as you use thier guidlines which they provide apon contact) I suppose I could use imlib or gd to generate my own graphs as well joy (c: I was told by our Internet manager that the problem does lies in our protection on our border ie: firewall, once he has allowed me some access to the outside world I should be able to do this :-) I'm sure I will have plenty of questions when it comes time to parse the html (oh my god). Regards Joseph -----Original Message----- From: Donny Yap [mailto:dyap@comunica.com.au] Sent: Friday, 7 September 2001 4:55 PM To: Joseph Blythe Subject: RE: [PHP] Grabbing dynamic pages Yes, This shouldn't be too hard to do; work out what type of data it is you're grabbing from the ASX site - ie. is it just that image, or is there a form or something? You can open the page directly in PHP using fopen, Regexp will let you grab out whatever the data is... An alternative is to use strip_tags Hope that helps some, Donny > -----Original Message----- > From: Joseph Blythe [mailto:joe.blythe@binarylogic.com.au] > Sent: Friday, 7 September 2001 3:14 PM > To: php-general@lists.php.net > Subject: [PHP] Grabbing dynamic pages > > > Hey all, > > I got a bit of a problem I need to be able to grab info (which has been > approved) from the Australian Stock Exchange Website (www.asx.com.au) all > they say about this in the information they sent me is: > > "To obtain your share price data you will need to get your IT department > to write a java object or a com active x object to strip out the > unnecessary > html so that you are just left with your share price information." > > LOL I am the IT department (well part of it) and I don't use or would even > recommend using these products not that there is anything wrong with them, > furthermore even if I did this does not help me very much (c: > > I was sort of wondering if there is a way to do this sort of > thing with PHP? > the only other information I have is the URL in the form of: > > > http://www.asx.com.au/scripts/nd_ISAPI_50.dll/asx/research/chartsS > earch.jsp? > searchBy=asxCode&TimeFrame=D&asxCode=ASX > > I tried a quick test using the filesystem functions with no success, I was > sort of hoping for a 'Yes' / 'No" answer maybe if 'Yes' just a > quick > explanation. > > Any help would be much much appreciated. > > Regards, > > Joseph Blythe > Web Development > > BoldFX / Binary Logic > The LOGICAL Choice! > 750 Port Road Beverley > Phone: +61 08 8244 1800 > Fax: +61 08 8244 1811 > mailto:joe.blythe@binaylogic.com.au > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#66348) next »