Zend_Router… Zend_Form… Mod_Rewrite… Rewrite URL get value pairs to slashes?

I do not know how to implement this, using regular expressions and mod_rewrite, but you can extend Zend_Controller_Router_Route like this and use it instead standard router.

$config->defaults->toArray() : array(); return new self($config->route, $defs, $reqs); } public function match($path) { foreach ($_GET as $k => $v) { if (is_array($v)) { $v = implode(',', $v); } $path . = "{$this->_urlDelimiter}{$k}{$this->_urlDelimiter}{$v}"; } parent::match($path); } }.

I could not find a nice way to do this... so I resolved to write some minimised PHP code at the top of my zend.php. List($sURL, $sQuery) = explode('? ', $_SERVER'REQUEST_URI'); $sOriginalURL = $sURL; if ('/'!

== substr($sURL, -1)) $sURL . = '/'; if (isset($sQuery)) { foreach (explode('&', $sQuery) as $sPair) { if (empty($sPair)) continue; list($sKey, $sValue) = explode('=', $sPair); $sURL . = $sKey .'/' .

$sValue . '/'; } } if (isset($sQuery) || $sOriginalURL! == $sURL) header(sprintf('Location: %s', $sURL)); If anyone can improve on this please comment below.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions