+ 1

Php code that searches a second website and display in first website?

Hi guys I have two websites, one of my websites is for displaying high school results but now i want to display high school results in second website too, but for that I dont want to add complete students grade details in the second website, instead I want to make a search button. Where student will enter their student id no, then our script will search the first website where there is a student id search box and display the result in second website.

15th May 2019, 11:52 AM
Dee Boxer
Dee Boxer - avatar
1 Answer
0
Use file_get_contents https://code.sololearn.com/w328fDWSDu1J/?ref=app Unfortunately php on Sololearn playground only allow to access http, not https due to their php ini settings. Use regex to search text out of the contents.
15th May 2019, 12:36 PM
CalviŐ˛
CalviŐ˛ - avatar