Jump to content

[SOLVED] send a http request


daveh33

Recommended Posts

For my script to function correctly I have to validate a variable - I need to send a http request

 

I have the url I need to send the request to e.g http://domain.com/validate.asp?t=****&u=*****

 

Now I have the variables $t & $u - I need to send this as a http request and log the response I get back, it will be either: -

 

<response success="false">

</response>

 

or

 

<response success="true">

</response>

 

I have never used a http request before - an example would be very useful

Link to comment
https://forums.phpfreaks.com/topic/77155-solved-send-a-http-request/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.