root/dev/sig.php @ 344

Revision 127, 345 bytes (checked in by exi, 14 years ago)

Added a method to be able to use signatures on phpBB.

Line 
1<?php
2// parse url and populate GPR
3$url_args = substr($_SERVER['REQUEST_URI'], strpos($_SERVER['REQUEST_URI'], 'sig.php')+8);
4$args = explode('/', $url_args);
5$_GET['a'] = 'sig';
6$_REQUEST['a'] = 'sig';
7
8$_GET['i'] = $args[0];
9$_REQUEST['i'] = $args[0];
10
11$_GET['s'] = $args[1];
12$_REQUEST['s'] = $args[1];
13
14include('index.php');
15?>
Note: See TracBrowser for help on using the browser.