Jump to content

I need help with a Cookie PHP Script


Recommended Posts

Hey guys, first i have to say im from germany my english is not so good, i hope you understand the most things  ;)


okay lets start, i have a cookie from site XY, i see the cookie in my browser, and now i want to save the cookie if someone goes to my website, the cookie is not on my website, i only want that the cookies displayed on my website or saved into the log.txt


$current = file_get_contents('log,txt');
$current .= "\n$jsi";
file_put_contents('log.txt', $current);



but this code saves only the cookies on my own website, but i want a cookie from another website, all cookies are in my browser saved i want to read and save them. i hope you can help and understand me  :confused:

Link to comment
Share on other sites


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.