note 68777 added to security.hiding
| From: | simon at carbontwelevedesign dot co dot uk | Date: | Thu, 10 Aug 2006 12:31:59 +0000 |
| Subject: | note 68777 added to security.hiding | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-115755@lists.php.net to get a copy of this message | ||
I use the following in the .htaccess document
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
then the following simple code
<?php
$permalinks = explode("/",$_SERVER['REQUEST_URI']);
$varone = $permalinks[1];
$vartwo = $permalinks[2];
...
?>
----
Server IP: 83.138.144.80
Probable Submitter: 82.152.71.170 (proxied: unknown)
----
X-Spam-Status: No, hits=3.8 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER,
UPPERCASE_25_50 autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/security.hiding.php
Edit -- https://master.php.net/note/edit/68777
Del: integrated -- https://master.php.net/note/delete/68777/integrated
Del: useless -- https://master.php.net/note/delete/68777/useless
Del: bad code -- https://master.php.net/note/delete/68777/bad+code
Del: spam -- https://master.php.net/note/delete/68777/spam
Del: non-english -- https://master.php.net/note/delete/68777/non-english
Del: in docs -- https://master.php.net/note/delete/68777/in+docs
Del: other reasons-- https://master.php.net/note/delete/68777
Reject -- https://master.php.net/note/reject/68777
Search -- https://master.php.net/manage/user-notes.php