Use the following code when initializing your program:
Copy the Code code as follows:
$PHP 2html_fileurl = $_server["Request_uri"];
$PHP 2html_urlstring = Str_replace ("/", "", STRRCHR ($Php 2html_fileurl, "/"));
$PHP 2html_urlquerystrlist = explode ("@", $Php 2html_urlstring);
foreach ($Php 2html_urlquerystrlist as $Php 2html_urlquerystr)
{
$PHP 2html_tmparray = explode ("|", $Php 2HTML_URLQUERYSTR);
$_get[$Php 2html_tmparray[0]] = $Php 2html_tmparray[1];
}
echo false static: $_get variable
;
Print_r ($_get);
?>
Then call the $_get variable in PHP as usual.
How to use the connection:
. php/param1|1234@param2|4321
The same as ****.php?param1=1234¶m2=4321.
The above describes the rewrite without mod_rewrite directly using PHP to implement pseudo-static page code, including the rewrite aspects of the content, I hope that the PHP tutorial interested in a friend helpful.