WEB PHP/JAVA crew v. how would i go about doing this?

Discussion in 'OT Technology' started by MSTRMOO, Nov 14, 2007.

  1. MSTRMOO

    MSTRMOO Active Member

    Joined:
    Jul 19, 2005
    Messages:
    36,312
    Likes Received:
    0
  2. MSTRMOO

    MSTRMOO Active Member

    Joined:
    Jul 19, 2005
    Messages:
    36,312
    Likes Received:
    0
    i know i can always embed the form onto my website, but i want to know if theres a way of doing it so that i can keep the design of the form that is on my website..
     
  3. RaginBajin

    RaginBajin Have you punched a donkey today?

    Joined:
    Dec 24, 2001
    Messages:
    8,740
    Likes Received:
    0
    Location:
    NoVA
    I believe an iframe would do what you are wanting to do.
     
  4. MSTRMOO

    MSTRMOO Active Member

    Joined:
    Jul 19, 2005
    Messages:
    36,312
    Likes Received:
    0
    refer to post #2... i know i cna do that.. but is there any way of doing it through my own form?
     
  5. intrktevo

    intrktevo New Member

    Joined:
    Oct 18, 2004
    Messages:
    5,781
    Likes Received:
    0
    Location:
    UCF
    look at php curl functions. itlll allow you to send post data to the website, and then you can use some regex to filter out the data you receive
     
  6. MSTRMOO

    MSTRMOO Active Member

    Joined:
    Jul 19, 2005
    Messages:
    36,312
    Likes Received:
    0
    plus with an iframe.. the results would be displayed within the frame.. i either need a popup or a new window
     
  7. Zac

    Zac New Member

    Joined:
    Nov 24, 2006
    Messages:
    151
    Likes Received:
    0
    ^ yup, this would be fairly easy to work out in PHP using cURL.

    When you set cURL up make sure to set CURLOPT_FOLLOWLOCATION to TRUE because the first page sets up a session cookie and that is used throught the rest of the form. No cookie = no search results.

    You can watch this whole process using IE and Fiddler2 then just clone it using cURL's features.

    Feel free to hit me up if you need some more info.
     
  8. 2ofdem

    2ofdem OT Supporter

    Joined:
    Jun 17, 2003
    Messages:
    114,854
    Likes Received:
    8
    Location:
    aus.vic.mel
    Curl is the way to go some of the stuff you can do with it are pretty funky.
     

Share This Page