PHP experts please answer?
|
05-05-2013, 10:58 PM
Post: #1
|
|||
|
|||
PHP experts please answer?
is there any way to grab facebook cookies from user browser when she visits my link?
Here is what is going on: i have made an ip logger php scripts that works fine but i want it to grab facebook logged in users profile id and log it. Example: <? function fbidcook(){ // something that gets users id form browser cookes } $id = fbidcook("getidprofile"); ... $tolog = $ip . " - " . $id; fwrite($file, $tolog); ?> Ads |
|||
05-05-2013, 11:13 PM
Post: #2
|
|||
|
|||
The only way to grab cookies from a different site is to use a virus or to inject html code on the other site in your case facebook, which facebook wouldn't allow (the term is called XSS). With this method you would use javascript to include the document cookies in some type of function, no browsers allow you to access cookies from other sites with your code.
Ads |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)