Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I pretend to be a browser in php

Status
Not open for further replies.

meaje

ISP
Jun 27, 2003
4
US
I want to access a secure site (https) sending post data as well as being able to pretend to recieve and actually send cookies back. Does anyone have any idea as to how to begin going about this??

 
can u be a bit more clear?

Known is handfull, Unknown is worldfull
 
Yo have at least 2 options:

1. read up on the HTTP protocol and use the header() command to send the headers and data you want.

2. Have a look at cURL. It supports everything you described in your message.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top