Run ❯
Get your
own PHP
server
Result Size:
625 x 565
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
<!DOCTYPE html> <html> <body> <?php // Make the URL rewriter affect <a href> and <form> tags ini_set('url_rewriter.tags','a=href,form='); // Add a variable output_add_rewrite_var('var', 'value'); echo '<a href="">This link (URL) will have a variable</a><br>'; ob_flush(); // Remove the variable output_reset_rewrite_vars(); echo '<a href="">This link (URL) will not have a variable</a>'; ?> </body> </html>
This link (URL) will have a variable
This link (URL) will not have a variable