Running a PHP-Script on a distinct server without Pixel-Image

Discussion in 'PHP' started by Multiplexor, Nov 30, 2009.

  1. #1
    Hello,

    when I submit a form, I want to run a script on another server which I cannot include. The only solution I know is to place a pixel-image in the page saying "thank you for sending us a message", but this solution is not safe enough.

    Is there any other solution to run the script directly from PHP code processing form data?
     
    Multiplexor, Nov 30, 2009 IP
  2. mastermunj

    mastermunj Well-Known Member

    Messages:
    687
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    110
    #2
    If you have cURL enabled, then create a thread using it and call the external url in it :)
     
    mastermunj, Nov 30, 2009 IP