Is there any function similar to ASPresponse. redirect in php? Solution

Source: Internet
Author: User
Is there any function similar to ASPresponse. redirect in php? I am a beginner in php, & nbsp; what method should I use to transfer a button to another web & nbsp; page? & Nbsp; is there any function similar to redirect in asp? Thank you! sorry. Too anxious to be distracted. header (does & php have a function similar to ASP response. redirect?
When I was a beginner in php, I made a button and wanted to transfer it to another web page. how should I use it? Is there any function similar to redirect in asp? Thank you!

------ Solution --------------------
Sorry. Too anxious to be distracted

Header ("Location: http://www.sex.com ");
------ Solution --------------------
No output is allowed before the call, or the output buffer is used .......
It is used in the PHP source program!

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.