简体   繁体   中英

Request for which the user visited the site

How can I find out by what request the user came to the site from the browser?

I need to generate a page based on the request.

User's request example: "buy motocycle XXXX-74". then browser displays N sites (one of them mine) and user goes to my site.

And how I can get this request? ""buy motocycle XXXX-74""

Your question is still not super clear but I think that might be either language or lack of technology lingo.

But I think what you want is to have PHP do something based on either GET or POST variables sent to a page.

You could have the receiving PHP file with a switch case to do different things based on the GET or POST request. http://php.net/manual/en/control-structures.switch.php

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM