file_get_contents (or curl, or fopen) problem with session data

前端 未结 6 1554
情深已故
情深已故 2021-02-11 04:15

i have a page that shows a value from session, lets call it www.domain-a.com/master.php and if i type it directly from the browser, it shows me the session value.

but wh

6条回答
  •  自闭症患者
    2021-02-11 05:12

    keep in mind that if your session code validates against client IP address, then you may still have issues as the client IP posted to your page will be that of the requesting server (using curl or file_get_contents) instead of the client browser.

提交回复
热议问题