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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

fopen Cookies?

Status
Not open for further replies.

tetxa

Programmer
Dec 20, 2002
13
FI
Software what im using:
PHP 4.2.2
Apache 2.0

Shortly,

How i can save a cookie which comes with PHP http request like:
<?
$url = &quot;someurl.need.acookie.org&quot;;
$data = implode ('', file($url));
?>
and add it in file or someplace where i could use it for next request.

-Tet_
 
solved,

have to use fsockopen instead of fopen.

-Tet
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top