PHP 7.2.0 Beta 1 Released

Voting

Please answer this simple SPAM challenge: max(zero, four)?
(Example: nine)

The Note You're Voting On

simon at carbontwelevedesign dot co dot uk
10 years ago
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];

...

?>

<< Back to user notes page

To Top