0

Sorry if this sounds like a beginner question, I have to retrieve some data from http://admissions.giki.edu.pk/confirmfee.php but it turns out that you need to enter your admit card number for that. Is there a way I can automatically enter a huge amount of numbers and access the data? If this question is not clear enough, let me know.

Adnan Zahid
  • 573
  • 1
  • 10
  • 38

1 Answers1

0

Form via $_POST. Of course you can create a form that has a action=? to the page directly, if you are just trying to get one value. If you are wanting to pull data remotely...

fsockopen() will do what you want if your good at HTTP/1.1

curl() will also work (and is a bit more user-friendly), but its slightly slower.

Ex; with fsockopen()

https://stackoverflow.com/a/4609497/1377321

Community
  • 1
  • 1
Raiden
  • 484
  • 2
  • 8
  • I'm sorry I dont know what you're talking about, I've never dealt with php before. Could you elaborate it more? Thanks. – Adnan Zahid Jul 29 '12 at 08:12
  • Might recommend you try some basic things first with PHP fsocketopen, like reading a single page, before doing complicated stuff. POST is definitely not easy for someone new to PHP. – Raiden Jul 29 '12 at 08:13
  • Okay I'll look for tutorials for fsocketopen online. Thank you! – Adnan Zahid Jul 29 '12 at 08:19