Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   PHP (https://www.askmehelpdesk.com/forumdisplay.php?f=454)
-   -   Check webpage for specific text (https://www.askmehelpdesk.com/showthread.php?t=388043)

  • Aug 18, 2009, 05:48 AM
    Kiwi Chris
    Check webpage for specific text
    Hi,

    I really know very little about php.

    I am wanting to find a way check a specific number on a foreign website.

    Two websites are involved Site A (Mysite) and Site B (external Site)

    Site A - user gets a random code

    That user adds this random code to site B

    The user then comes back to Site A and clicks next

    Site A script goes to Site B and checks the page for that random code

    If that code has been added then open another page on Site A.

    ...

    I have asked around but no one has been able to help me.

    I was suggested to use file_get_content to get the data
    and function rand() for the random code.

    ...

    From my understanding I would create a form that provides the user with the random code
    and a button they press after adding the code to site B.

    When the button is pressed file_get_content is used to check the code is there and if it is moves to next page of registration,
    and if fails an error message.

    ...

    I am not afraid of trying to make this code I really just have no idea where to go to get the information I need to do this.

    I would really appreciate any helpful information you may be able to assist me with.

    Kind Regards
    Kiwi Chris.

  • All times are GMT -7. The time now is 12:44 AM.