How can I access a PHP page from a specified page link?
Source: Internet
Author: User
How can I access a PHP page from a specified page link? How can I access a PHP page from a specified page link? Page B must be accessed through page A. you are redirected from page A to page B. If you need required parameters in php, value, you can enter this value ($ _ POST []): how can a PHP page be accessed from a specified page link?
How can I access a PHP page from a specified page link?
Page B must go to page
------ Solution --------------------
You are jumping from page A to page B. If you need A required parameter in php, you can determine the value ($ _ POST, if yes, perform location jump or 404.
If there are no required parameters, you can manually give them a parameter.
It is troublesome to use session.
$ _ SERVER ['http _ referer']
Directs the user to the address of the previous page of the current page (if any ). Determined by the user agent settings. Not all user proxies set this item, and some also provide the HTTP_REFERER modification function. In short, this value is not credible.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.