PHP能判断来源页是某种跳转过来的吗
比如我的来源页跳转到目标页如(window.loaction.href="http://www.xx.com/xx.php")
那么问题来了 http://www.xx.com/xx.php这个页面是否知道来源页是经过js的跳转过来的呢?
更直接一点我就想知道php是否能判断来源页是手工点击进来还是程序自动跳转的?
回复讨论(解决方案)
你可以打印$_SERVER对比js跳转过去和直接输入地址有什么不同,一般是referer
有人回答吗...
你可以打印$_SERVER对比js跳转过去和直接输入地址有什么不同,一般是referer
直接被忽略
应该不能吧,用referer凑合下?
程序跳转的时候加个参数吧。。

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

11 Best PHP URL Shortener Scripts (Free and Premium)

Working with Flash Session Data in Laravel

Build a React App With a Laravel Back End: Part 2, React

Simplified HTTP Response Mocking in Laravel Tests

cURL in PHP: How to Use the PHP cURL Extension in REST APIs

12 Best PHP Chat Scripts on CodeCanyon

Announcement of 2025 PHP Situation Survey
