hi
i'm new to php but i tried to make my own edu website but i'm facing lot of problem to fetch the result using php
external site is about one of the Engineering university where 10k students result will be displayed by this website bcoz of this its server will be busy.so i tried to fetch the result from it.
coming to reqirement
when the students enter their usn no(eg:1db11cs001) when user hit submit button it must fetch result from external website(eg:http://results.vtu.ac.in/vitavi.php) and it must display result on my website
so plz help me by giving complete code
for more details and code
plz follow the link
http://stackoverflow.com/questions/13899643/to-fetch-the-form-results-from-an-external-website-on-the-same-page
coming to problem topic
when the student enter thier usn no/roll no(eg:1db13cs005) its just showing the student name but i need the complete result copy to be displayed on my website
Recommended Answers
Jump to PostFirst of all, make sure you're not falling foul of the university/college by doing this. If it's OK, then I'm assuming that you need to use cURL to scrape the page unless they have an API which could allow you to once again use cURL or file_get_contents or even use …
Jump to PostThe html is wrong in my original - the close form tag should be:
</form>
Also the action shouldn't be "vitavi.php" unless you have a page called that on your site.
Jump to PostOK, well that's an issue for you. But be aware just because somnebody else if ripping off data, doesn't mean it's open season for everybody else. Equally, that site may have an agreement with the uni.
Storing data in a db may be a bit dodgy - especially as you …
Jump to PostIf you store data, you can output it any way you want, BUT are you allowed to do so?
You could split the id with preg_* functions:
integer|short alpha (2 chars?)|integer|short alpha (2 chars?)|intger
OK, I think I've made it quite clear by now that you need to check if …
Jump to PostThat's up to you mate. But don't ask me, ask the uni. Good luck with it, over and out.
All 19 Replies








We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.