1

I am trying to design a web page (PHP) that extracts certain elements loaded up by and external website and displays it in my own format on my website. I have seen many things regarding this, but they all seem to work with a the Same Site Origin Policy only.

Another issue is that the first element loaded is a text input that needs to be submitted in order to load up what I'm ultimately trying to retrieve, so how can I got about putting this in my page aswell?


Example of layout:

enter image description here

Notice that Page 1 is basically a search. It requires input in order to retrieve the 2nd page.


Now a few of the methods that I've looked into:

  • jQuery.load

The problem with this is that the website files being loaded need to be local. From my understanding, jQuery doesn't support cross domain due to security reasons. And also I'm unsure of how I would go about inputting the required info to load page 2.

This method seems promising but the problem here is that I need access to the external website files, and in my case that can't happen. Also unsure of how to implement a POST and GET in order to load page 2.

halfer
  • 19,824
  • 17
  • 99
  • 186
chunterb
  • 301
  • 2
  • 11

0 Answers0