theda wrote:I can only use PHP for this... if you havent guessed already.
Mod rewrite isn't PHP either. Multiviews is.
You'll have to add this to a .htaccess file;
Code: Select all
RewriteEngine On
Options MultiViews
(sometimes +Multiviews)
Than you'll have to use a code like
Code: Select all
<?php
function parseMultiviews()
{
$get = array();
if(!empty($_SERVER['PATH_INFO']))
{
$vardata = explode('/', $_SERVER['PATH_INFO']);
$num_param = count($vardata);
if($num_param % 2 == 0)
{
$vardata[] = '';
$num_param++;
}
for($i = 1; $i < $num_param; $i += 2)
$get[ $vardata[$i] ] = $vardata[$i+1];
}
return $get;
}
?>
(very fast typed and not the best example though)
If you then call
parseMultiviews(), the script will parse al arguments behind the =.
x4tthis... if you havent guessed already.[/quote]
Mod rewrite isn't PHP either. Multiviews is.
You'll have to add this to a .htaccess file;
Code: Select all
RewriteEngine On
Options MultiViews
(sometimes +Multiviews)
Than you'll have to use a code like
Code: Select all
<?php
function parseMultiviews()
{
$get = array();
if(!empty($_SERVERї'PATH_INFO']))
{
$vardata = explode('/', $_SERVERї'PATH_INFO']);
$num_param = count($vardata);
if($num_param % 2 == 0)
{
$vardataї] = '';
$num_param++;
}
for($i = 1; $i < $num_param; $i += 2)
$getї $vardataї$i] ] = $vardataї$i+1];
}
return $get;
}
?> quote]
Mod rewrite isn't PHP either. Multiviews is.
You'll have to add this to a .htaccess file;
Code: Select all
RewriteEngine On
Options MultiViews
(sometimes +Multiviews)
Than you'll have to use a code like
Code: Select all
<?php
function parseMultiviews()
{
$get = array();
if(!empty($_SERVERї'PATH_INFO']))
{
$vardata = explode('/', $_SERVERї'PATH_INFO']);
$num_param = count($vardata);
if($num_param % 2 == 0)
{
$vardataї] = '';
$num_param++;
}
for($i = 1; $i < $num_param; $i += 2)
ltiviews is.
You'll have to add this to a .htaccess file;
Code: Select all
RewriteEngine On
Options MultiViews
(sometimes +Multiviews)
Than you'll have to use a code like
Code: Select all
<?php
function parseMultiviews()
{
$get = array();
if(!empty($_SERVERї'PATH_INFO']))
{
$vardata = explode('/', $_SERVERї'PATH_INFO']);
$num_param = count($vardata);
if($num_param % 2 == 0)
{
$vardataї] = '';
$num_param++;
}
for($i = 1; $i < $num_param; $i += 2)
$getї $vardataї$i] ] = $vardataisn't PHP either. Multiviews is.
You'll have to add this to a .htaccess file;
Code: Select all
RewriteEngine On
Options MultiViews
(sometimes +Multiviews)
Than you'll have to use a code like
Code: Select all
<?php
function parseMultiviews()
{
$get = array();
if(!empty($_SERVER['PATH_INFO']))
{
$vardata = explode('/', $_SERVER['PATH_INFO']);
$num_param = count($vardata);
if($num_param % 2 == 0)
{
$vardata[] = '';
"theda"]I can only use PHP for this... if you havent guessed already.[/quote]
Mod rewrite isn't PHP either. Multiviews is.
You'll have to add this to a .htaccess file;
Code: Select all
RewriteEngine On
Options MultiViews
(sometimes +Multiviews)
Than you'll have to use a code like
Code: Select all
<?php
function parseMultiviews()
{
$get = array();
if(!empty($_SERVER['PATH_INFO']))
{
$vardata = explode('/', $_SERVER['PATH_INFO']);
$num_param = count($vardata);
if($num_param % 2 == 0)
{
$vardata[] = '';
$num_param++;
}
for($i = 1; $i < $num_param; $i += 2)
$get[ $vardata[$i] ] = $vardata[$i+1];
}
return $get;
}
?>
(very fast typed and not the best example though)
If you then call
parseMultiviews()[/b:20427d4c"theda"]I can only use PHP for this... if you havent guessed already.[/quote]
Mod rewrite isn't PHP either. Multiviews is.
You'll have to add this to a .htaccess file;
Code: Select all
RewriteEngine On
Options MultiViews
(sometimes +Multiviews)
Than you'll have to use a code like
Code: Select all
<?php
function parseMultiviews()
{
$get = array();
if(!empty($_SERVER['PATH_INFO']))
{
$vardata = explode('/', $_SERVER['PATH_INFO']);
$num_param = count($vardata);
if($num_param % 2 == 0)
{
$vardata[] = '';
$num_param++;
}
for($i = 1; $i < $num_param; $i += 2)
$get[ $vardata[$i] ] = $vardata[$i+1];
}
return $get;
}
?>
(very fast typed and not the best example though)
If you then call
parseMultiviews(), the script will parse al arguments behind the =.
x4t= 0)
{
$vardata[] = '';
$num_param++;
}
for($i = 1; $i < $num_param; $i += 2)
$get[ $vardata[$i] ] = $vardata[$i+1];
}
return $get;
}
?>
(very fast typed and not the best example though)
If you then call
parseMultiviews(), the script will parse al arguments behind the =.
x4tet;
}
?>
(very fast typed and not the best example though)
If you then call
parseMultiviews(), the script will parse al arguments behind the =.
x4t/quote]
Mod rewrite isn't PHP either. Multiviews is.
You'll have to add this to a .htaccess file;
Code: Select all
RewriteEngine On
Options MultiViews
(sometimes +Multiviews)
Than you'll have to use a code like
Code: Select all
<?php
function parseMultiviews()
{
$get = array();
if(!empty($_SERVER['PATH_INFO']))
{
$vardata = explode('/', $_SERVER['PATH_INFO']);
$num_param = count($vardata);
if($num_param % 2 == 0)
{
$vardata[] = '';
$num_param++;
}
for($i = 1; $i < $num_param; $i += 2)
$get[ $vardatod rewrite isn't PHP either. Multiviews is.
You'll have to add this to a .htaccess file;
Code: Select all
RewriteEngine On
Options MultiViews
(sometimes +Multiviews)
Than you'll have to use a code like
Code: Select all
<?php
function parseMultiviews()
{
$get = array();
if(!empty($_SERVER['PATH_INFO']))
{
$vardata = explode('/', $_SERVERї'PATH_INFO']);
$num_param = count($vardata);
if($num_param % 2 == 0)
{
if you havent guessed already.[/quote]
Mod rewrite isn't PHP either. Multiviews is.
You'll have to add this to a .htaccess file;
Code: Select all
RewriteEngine On
Options MultiViews
(sometimes +Multiviews)
Than you'll have to use a code like
Code: Select all
<?php
function parseMultiviews()
{
$get = array();
if(!empty($_SERVER['PATH_INFO']))
{
$vardata = explode('/', $_SERVER['PATH_INFO']);
$num_param = count($vardata);
if($num_param % 2 == 0)
{
$vardata[] = '';
$num_param++;
}
for($i = 1; $i < $num_param; $i += 2)
$get[ $vardata[$i] ] = $vardata[$i+1];
}
return $get;
}
?>
(very fast typed and not the best example though)
If you then call
parseMultiviews(), the script will parse al arguments behind the =.
x4t]
RewriteEngine On
Options MultiViews
(sometimes +Multiviews)
Than you'll have to use a code like
Code: Select all
<?php
function parseMultiviews()
{
$get = array();
if(!empty($_SERVER['PATH_INFO']))
{
$vardata = explode('/', $_SERVER['PATH_INFO']);
$num_param = count($vardata);
if($num_param % 2 == 0)
{
$vardata[] = '';
$num_param++;
}
for($i = 1; $i < $num_param; $i += 2)
$get[ $vardata[$i] ] = $vardata[$i+1];
}
return $get;
}
?>
(very fast typed and not the best example though)
If you then call
parseMultmp;lt;?php
function parseMultiviews()
{
$get = array();
if(!empty($_SERVER['PATH_INFO']))
{
$vardata = explode('/', $_SERVER['PATH_INFO']);
$num_param = count($vardata);
if($num_param % 2 == 0)
{
$vardata[] = '';
$num_param++;
}
for($i = 1; $i < $num_param; $i += 2)
$get[ $vardata[$i] ] = $vardata[$i+1];
}
return $get;
}
?>
(very fast typed and not the best ex only use PHP for this... if you havent guessed already.[/quote]
Mod rewrite isn't PHP either. Multiviews is.
You'll have to add this to a .htaccess file;
Code: Select all
RewriteEngine On
Options MultiViews
(sometimes +Multiviews)
Than you'll have to use a code like
Code: Select all
<?php
function parseMultiviews()
{
$get = array();
if(!empty($_SERVER['PATH_INFO']))
{
$vardata = explode('/', $_SERVER['PATH_INFO']);
$num_param = count($vardata);
if($num_param % 2 == 0)
{
$vardata[] = '';
$num_param++;
}
for($i = 1; $i < $num_param; $i += 2)
$get[ $vardata[$i] ] = $vardata[$i+1];
}
return $get;
}
?>
(very fast typed and not the best example though)
If you then call
parseMultiviews(), the script will parse al arguments behind the =.
x4t20427d4cb8]
(sometimes +Multiviews)
Than you'll have to use a code like
Code: Select all
<?php
function parseMultiviews()
{
$get = array();
if(!empty($_SERVER['PATH_INFO']))
{
$vardata = explode('/', $_SERVER['PATH_INFO']);
$num_param = count($vardata);
if($num_param % 2 == 0)
{
$vardata[] = '';
$num_param++;
}
for($i = 1; $i < $num_param; $i += 2)
$get[ $vardata[$i] ] = $vardata[$i+1];
}
return $get;
}
?>
(very fast typed and not the best example though)
If you then call
parseMultiviews(), the script will parse al argumenseMultiviews()
{
$get = array();
if(!empty($_SERVER['PATH_INFO']))
{
$vardata = explode('/', $_SERVER['PATH_INFO']);
$num_param = count($vardata);
if($num_param % 2 == 0)
{
$vardata[] = '';
$num_param++;
}
for($i = 1; $i < $num_param; $i += 2)
$get[ $vardata[$i] ] = $vardata[$i+1];
}
return $get;
}
?>
(very fast typed and not the best example though)
If you then call
parseMultiviews(), the script will parse al arguments behind the =.
x4t11; $vardata[$i] ] = $vardata[$i+1];
}
return $get;
}
?>
(very fast typed and not the best example though)
If you then call
parseMultiviews(), the script will parse al arguments behind the =.
x4t
RewriteEngine On
Options MultiViews
(sometimes +Multiviews)
Than you'll have to use a code like
Code: Select all
<?php
function parseMultiviews()
{
$get = array();
if(!empty($_SERVER['PATH_INFO']))
{
$vardata = explode('/', $_SERVERї'PATH_INFO']);
$num_param = count($vardata);
if($num_param % 2 == 0)
{
$vardataї] = '';
$num_param++;
}
for($i = 1; $i < $num_param; $i += 2)
$getї $vardataї$i] ] = $vardataї$i+1];
}
return $get;
}
?>
ultiviews)
Than you'll have to use a code like
Code: Select all
<?php
function parseMultiviews()
{
$get = array();
if(!empty($_SERVER['PATH_INFO']))
{
$vardata = explode('/', $_SERVER['PATH_INFO']);
$num_param = count($vardata);
if($num_param % 2 == 0)
{
$vardata[] = '';
$num_param++;
}
for($i = 1; $i < $num_param; $i += 2)
$get[ $vardata[$i] ] = $vardata[$i+1];
}
return $get;
}
?>
(very fast typed and not the best example th
if($num_param % 2 == 0)
{
$vardata[] = '';
$num_param++;
}
for($i = 1; $i < $num_param; $i += 2)
$get[ $vardata[$i] ] = $vardata[$i+1];
}
return $get;
}
?>
(very fast typed and not the best example though)
If you then call
parseMultiviews(), the script will parse al arguments behind the =.
x4t"theda"]I can only use PHP for this... if you havent guessed already.[/quote]
Mod rewrite isn't PHP either. Multiviews is.
You'll have to add this to a .htaccess file;
Code: Select all
RewriteEngine On
Options MultiViews
(sometimes +Multiviews)
Than you'll have to use a code like
Code: Select all
<?php
function parseMultiviews()
{
$get = array();
if(!empty($_SERVER['PATH_INFO']))
{
$vardata = explode('/', $_SERVER['PATH_INFO']);
$num_param = count($vardata);
if($num_param % 2 == 0)
{
$vardata[] = '';
$num_param++;
}
for($i = 1; $i < $num_param; $i += 2)
$get[ $vardata[$i] ] = $vardata!empty($_SERVER['PATH_INFO']))
{
$vardata = explode('/', $_SERVER['PATH_INFO']);
$num_param = count($vardata);
if($num_param % 2 == 0)
{
$vardata[] = '';
$num_param++;
}
for($i = 1; $i < $num_param; $i += 2)
$get[ $vardata[$i] ] = $vardata[$i+1];
}
return $get;
}
?>
(very fast typed and not the best example though)
If you then call
parseMultiviews(), the script will parse al arguments behind the =.
x4tr this... if you havent guessed already.[/quote]
Mod rewrite isn't PHP either. Multiviews is.
You'll have to add this to a .htaccess file;
Code: Select all
RewriteEngine On
Options MultiViews
(sometimes +Multiviews)
Than you'll have to use a code like
Code: Select all
<?php
function parseMultiviews()
{
$get = array();
if(!empty($_SERVER['PATH_INFO']))
{
$vardata = explode('/', $_SERVER['PATH_INFO']);
$num_param = count($vardata);
if($num_param % 2 == 0)
{
$vardata[] = '';
$num_param++;
}
for($i = 1; $i < $num_param; $i += 2)
$get[ $vardata[$i] ] = $vardata[$i+1];
}
return $get;
}
?>
(very fast typed and not the best example though)
If you then call
parseMultiviews()[/b:20427d4cess file;
Code: Select all
RewriteEngine On
Options MultiViews
(sometimes +Multiviews)
Than you'll have to use a code like
Code: Select all
<?php
function parseMultiviews()
{
$get = array();
if(!empty($_SERVER['PATH_INFO']))
{
$vardata = explode('/', $_SERVER['PATH_INFO']);
$num_param = count($vardata);
if($num_param % 2 == 0)
{
$vardata[] = '';
$num_param++;
}
for($i = 1; $i < $num_param; $i += 2)
$get[ $vardata[$i] ] = $vardata[$i+1];
}
return $get;
}
?>
(very fast typed and not the best example though)
If you then call
parseMultiviews(), the script will parse al arguments behind the =.
x4tfor this... if you havent guessed already.[/quote]
Mod rewrite isn't PHP either. Multiviews is.
You'll have to add this to a .htaccess file;
Code: Select all
RewriteEngine On
Options MultiViews
(sometimes +Multiviews)
Than you'll have to use a code like
Code: Select all
<?php
function parseMultiviews()
{
$get = array();
if(!empty($_SERVER['PATH_INFO']))
{
$vardata = explode('/', $_SERVERї'PATH_INFO']);
$num_param = count($vardata);
if($num_param % 2 == 0)
{
$vardataї] = '';
$num_param++;
}
for($i = 1; $i < $num_param; $i += 2)
$getї $vardataї$i] ] = $vardataїions MultiViews
(sometimes +Multiviews)
Than you'll have to use a code like
Code: Select all
<?php
function parseMultiviews()
{
$get = array();
if(!empty($_SERVER['PATH_INFO']))
{
$vardata = explode('/', $_SERVER['PATH_INFO']);
$num_param = count($vardata);
if($num_param % 2 == 0)
{
$vardataї] = '';
$num_param++;
}
for($i = 1; $i < $num_param; $i += 2)
$get[4cb8]
RewriteEngine On
Options MultiViews
(sometimes +Multiviews)
Than you'll have to use a code like
Code: Select all
<?php
function parseMultiviews()
{
$get = array();
if(!empty($_SERVER['PATH_INFO']))
{
$vardata = explode('/', $_SERVER['PATH_INFO']);
$num_param = count($vardata);
if($num_param % 2 == 0)
{
$vardata[] = '';
$num_param++;
}
for($i = 1; $i < $num_param; $i += 2)
$get[ $vardata[$i] ] = $vardata[$i+1];
}
return $get;
}
?>
(very fast typed and not the best example though)
If you then call
VER['PATH_INFO']))
{
$vardata = explode('/', $_SERVER['PATH_INFO']);
$num_param = count($vardata);
if($num_param % 2 == 0)
{
$vardataŃ—] = '';
$num_param++;
}
for($i = 1; $i < $num_param; $i += 2)
$get[ $vardata[$i] ] = $vardata[$i+1];
}
ret
<?php
function parseMultiviews()
{
$get = array();
if(!empty($_SERVER['PATH_INFO']))
{
$vardata = explode('/', $_SERVER['PATH_INFO']);
$num_param = count($vardata);
if($num_param % 2 == 0)
{
$vardata[] = '';
$num_param++;
}
for($i = 1; $i < $num_param; $i += 2)
$get[ $vardata[$i] ] = $vardata[$i+1];
}
return $get;
}
?>
(very fast typed and not the best example though)
If you then call parseMultiviews(), the script will parse al arguments behind the =.
x4t