php man page for output_reset_rewrite_vars

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 values

SYNOPSIS
bool output_reset_rewrite_vars (void )
DESCRIPTION
This 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 VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #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 ALSO
output_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_regenerate_id(3) - php
session_id(3) - php
session_start(3) - php
output_add_rewrite_var(3) - php
stomp_get_session_id(3) - php
Similar Topics in the Unix Linux Community
Php
Passing values in PHP using POST
Help with Permission Denied on script with sed
Basic php help
Simple for those who know.