PHP POST sonra iade çerez nasıl elde edilir?

0 Cevap php

Let's say I have a website called (example.com) which will have a php file (example.com/call.php). call.php will have a post method that will post to the website exampleOne.com/login.php with the right parameters. exampleOne.com will return a header with a cookie that will confirm the authentication of the user, how do I obtain the cookie or at least check if the header includes Set-Cookie in order to be informed that the user is authenticated?

Bu yeterince açık değilse bana yorum olarak bildirin ve ben her şeyi temizlemek için elimden geleni çalışacağız.

(UPDATE 1: yani fikir, nasıl ben ilanıyla diğer etki alanı tanımlama kurmuş olduğunu biliyor musunuz olduğunu çerez kurulmuş olduğu gerçeği (Set-cookie = null ya da çünkü! "")) adı ve şifre aslında doğru olduğu anlamına gelir

(Update 2 yüzden benim sorun, ben onların kayıtlarına erişim yok çünkü kullanıcı bir API yoktur ve ben bu foruma kimlik doğrulaması yapamaz bazı forum üyesi olduğundan emin olmak istiyorum ki ) Bu umut olur - ancak, bu forum kullanıcının kimliğini ve bilgilerin doğru ve emin ben kullanıcı doğrulanmış olduğunu anlamak yapmak için bu tanımlama görmek mümkün isterseniz bir çerez

0 Cevap