|
output_add_rewrite_varAdd URL rewriter values Description
bool output_add_rewrite_var(string
$name , string $value )
This function starts the
When the output buffer is flushed
(by calling ob_flush, ob_end_flush,
ob_get_flush or at the end of the script)
the
Each name/value pair added to the
Warning
Prior to PHP 8.4.0, the hosts to be rewritten were set in session.trans_sid_hosts instead of url_rewriter.hosts. Parameters
Return Values
Returns Changelog
Examples
Example #1 output_add_rewrite_var example
The above example will output: <a href="file.php?var=value">link</a> <a href="http://example.com">link2</a> <form action="script.php" method="post"> <input type="hidden" name="var" value="value" /> <input type="text" name="var2" /> </form> Array ( [0] => URL-Rewriter ) |