I know that this is a simple question for PHP guys but I don’t know the language and just need to do a simple ‘get’ from another web page when my page is hit. i.e. signal the other page that this page has been hit.
EDIT: curl is not available to me.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If curl wrappers are on (they are per default), you can use:
Note that this happens synchronous, so before the request has completed, your page won’t either. It would be better to log access to a logfile (or database) and export the data occasionally. Alternatively, you could do the request after your page has completed, and output has been sent to the client.