ScotlandPHP 2019


Please answer this simple SPAM challenge: four minus three?
(Example: nine)

The Note You're Voting On

simon at carbontwelevedesign dot co dot uk
12 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]

then the following simple code


= explode("/",$_SERVER['REQUEST_URI']);

$varone = $permalinks[1];
$vartwo = $permalinks[2];



<< Back to user notes page

To Top