Jump to content

Dima Mitgartz

Members
  • Posts

    2
  • Joined

  • Last visited

Dima Mitgartz's Achievements

Newbie

Newbie (2/6)

0

Reputation

  1. I managed to work around. Enabled URL segments, but used this code instead of urlSegment[n]: explode("/", parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)); Then I had to urldecode each segment as they have %20 characters. Seems to work fine. Any dangers I should be aware of?
  2. Hi, I need to use URL that has a segment in Hebrew, like: example.com/blog/post/עברית I commented out this line in .htaccess: #RewriteCond %{REQUEST_URI} "^/~?[-_.a-zA-Z0-9/]*$" http://example.co.il/blog/post/AAA var_dump($input->urlSegments) returns: string(4) "post" string(0) "" http://example.co.il/blog/post/דש var_dump($input->urlSegments) returns: string(4) "post" string(3) "AAA" Does url segments support only latin characters?
×
×
  • Create New...