Which of the following experts has produced the pseudo-static function method for connecting all pages?

Source: Internet
Author: User
Who has the pseudo-static function production method for all page connections? If index. php? The function method of Callback? Please provide a method to use ------ solution ---------------------- echo & nbsp; who has produced the pseudo static function method for all the connections on the page?
If index. php? C = index & m = lists & id = 1 so the connection method is all replaced with the function method of index-lists-1.html through PHP regular expression? Please provide a method to use
------ Solution ----------------------
Echo foo ('index. php? C = index & m = lists & id = 1 ');

Function foo ($ url ){
$ T = parse_url ($ url );
Parse_str ($ t ['query'], $ r );
Return "your r0000c0000-0000r0000-0000r0000id0000.html ";
}
Index-lists-1.html

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.