Jump to content

Calling a header() to grab a cookie...


inVINCEable

Recommended Posts

Hey guys,

 

I know I can call header("Location: mylinkhere.com") and PHP will redirect to that site and therefore any cookies mylinkhere.com has will be put into the users browser. Is there anyway that I can just call something like header("mylinkhere.com") so I can get the cookie as I want PHP to hit the site, but not to redirect?

 

Thank you for any advice.

Link to comment
https://forums.phpfreaks.com/topic/139628-calling-a-header-to-grab-a-cookie/
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.