|
output_add_rewrite_var
Add URL rewriter values
(PHP 4 >= 4.3.0, PHP 5)
This function adds another name/value pair to the URL rewrite mechanism. The name and value will be added to URLs (as GET parameter) and forms (as hidden input fields) the same way as the session ID when transparent URL rewriting is enabled with session.use_trans_sid. Please note that absolute URLs (http://example.com/..) aren't rewritten.
This functions behavior is controlled by the url_rewriter.tags
Note:
Calling this function will implicitly start output buffering if it is not active already. ExamplesExample 1692. output_add_rewrite_var() example<?php The above example will output: <a href="file.php?var=value">link</a> Code Examples / Notes » output_add_rewrite_varbruce
Just to clarify... session.use_trans_sid does NOT need to be enabled in order for output_add_rewrite_var() to work. |