Jump to content

grab some server-side data


sign2apple

Recommended Posts

Hello,

 

I want to grab some data using a script from this site.

But I am stuck right at the beginning. If you make a selection with the drop down boxes you get some output. For example you select:

Selecteer competitienaam:  Najaarscompetitie 2014
Selecteer competitiegroep:  Eredivisie dames
Selecteer weergave: Programma (incl. uitslagen en stand)
Optioneel poule filter:  De Treffers R
Selecteer poule(s): Eredivisie - Poule A

 

I want to grab this output.

When I look at the page source it is inside an iframe:

<iframe src="http://www.nttb-competitie.nl/" width="100%" height="1200" scrolling="yes" frameborder="0" name="NTTB_Competitie"></iframe>

I figured out:

The script on the site first it gets url:

http://www.nttb-competitie.nl/selectie.php?anr=0

And after last selection it gets url:

http://www.nttb-competitie.nl/web_programma.php?reset=0&pidString=1009267&sc=0&vastgesteldeAfdelingsnr=0&cnid=10085&cid=10704&view=programma&pf=1269&pid=1009267

My problem is when I copy those URL's in a webbroser I get a page with only the words:

Ongeldige aanroep!

Which means "Invalid Call!"

 

So my question is: How can I grab the data instead of this stupid message.

Is it even possible or is it somehow protected?

 

Please help!

 

 

Link to comment
https://forums.phpfreaks.com/topic/290922-grab-some-server-side-data/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.