Query: output_reset_rewrite_vars
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
OUTPUT_RESET_REWRITE_VARS(3) 1 OUTPUT_RESET_REWRITE_VARS(3) output_reset_rewrite_vars - Reset URL rewriter valuesSYNOPSISbool output_reset_rewrite_vars (void )DESCRIPTIONThis function resets the URL rewriter and removes all rewrite variables previously set by the output_add_rewrite_var(3) function or the session mechanism (if session.use_trans_sid was set on session_start(3)).RETURN VALUESReturns TRUE on success or FALSE on failure.EXAMPLESExample #1 output_reset_rewrite_vars(3) example <?php session_start(); output_add_rewrite_var('var', 'value'); echo '<a href="file.php">link</a>'; ob_flush(); output_reset_rewrite_vars(); echo '<a href="file.php">link</a>'; ?> The above example will output: <a href="file.php?PHPSESSID=xxx&var=value">link</a> <a href="file.php">link</a>SEE ALSOoutput_add_rewrite_var(3), ob_flush(3), ob_list_handlers(3), session_start(3). PHP Documentation Group OUTPUT_RESET_REWRITE_VARS(3)
| Related Man Pages |
|---|
| session_destroy(3) - php |
| symlink(3) - php |
| rawurlencode(3) - php |
| session_cache_expire(3) - php |
| stomp_get_session_id(3) - php |
| Similar Topics in the Unix Linux Community |
|---|
| SCO claims |
| Php |
| Passing values in PHP using POST |
| Simple for those who know. |
| printthread.php |