FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Codeigniter - pagination
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Codeigniter - pagination [message #174393 is a reply to message #174392] Thu, 09 June 2011 23:21 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 6/9/2011 6:22 PM, Tomasz Ɓopusiewicz wrote:
> Hello i dont know why the 4 segment of my url is always empty ($3
> number after slash)
>
> ja use mod_rewrite:
>
> RewriteRule ^kategoria-([0-9]+)-(.*)/([0-9]+).html$ index.php?/cat/
> lista/$1/$3 [L]
>
>
> config.php
>
> $config['uri_protocol'] = 'QUERY_STRING';
> $config['index_page'] = 'index.php';
> $config['url_suffix'] = '';
>
> Ofcourse without mod_rewrite method: index.php/cat/lista/3/40 works
> fine

And your PHP question is?

mod_rewrite is NOT a PHP module - it's an Apache module. Try a more
appropriate newsgroup, such as alt.apache.configuration.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: variable value gets lost
Next Topic: Stats comp.lang.php (last 7 days)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 10:58:28 GMT 2024

Total time taken to generate the page: 0.03159 seconds