Click here to Skip to main content
15,888,216 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I am creating a academic/community website . One of my site requirement is to obtain the result from the official site . I will be creating a result module on my site which will have students reg number as input and on submission it will show the result obtained from the official website .

I am finding it difficult to pass the data from one site to other . The official website is using Post method for students register number input.

but without going to official site page i need to get result in my own website

Please help me with detailed approach with programming code sample . It will be highly appreciated . Thanks
Posted
Comments
The other website should provide some API or Web Service. Otherwise I guess you can't.
Sergey Alexandrovich Kryukov 5-May-13 14:56pm    
Why cannot? Everything viewable by a user can be retrieved. This is called Web scraping.
I basically answered; your comment is of course credited.
—SA
Oh yes, I forgot that... Facepalm.
Thanks @Sergey Alexandrovich Kryukov.
Sergey Alexandrovich Kryukov 5-May-13 14:57pm    
So, what exactly? Java or PHP or something else?
—SA

Decide if it should be Java or PHP or something else, read about Web scraping using one of these technologies. See also:
http://en.wikipedia.org/wiki/Web_scraping[^].

[EDIT]

More exactly, learn to send HTTP request and receive HTTP response. Please see:
http://en.wikipedia.org/wiki/Http[^],
http://en.wikipedia.org/wiki/HTTP_request[^],
http://en.wikipedia.org/wiki/HTTP_response[^].

[END EDIT]

As Tadit Dash says, if some Web Service or some other API exists, use it.

—SA
 
Share this answer
 
v2
you need a web Spider to move contents from one site to another
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900