Pogledajte određenu poruku
Staro 16. 07. 2007.   #3
dee
Domagoj Horvat
Expert
 
Avatar dee
 
Datum učlanjenja: 24.07.2006
Lokacija: Zagreb
Poruke: 502
Hvala: 22
10 "Hvala" u 8 poruka
dee is on a distinguished road
Pošaljite ICQ poruku za dee
Default

nije u tome stvar.

ali sam evo naletio na jednom stranom forumu na istu gresku pa ako nekome bude trebalo, nek stoji:



this is a known issue with mod_rewrite that is currently not fixed.

Depending on your script, you may be able to work around the issue with one of these options:

1) Double-URL-encode ampersands

As you noted above, ampersands ('&') can be encoded in a URL as '%26'. Encode the '%26' as well, with '%' encoded as '%25'. This would result in the ampersand being replaced with '%2526'. Since mod_rewrite only perform one pass in decoding URLs, the string '%2526' will be decoded into '%26', which will then be passed correctly to your script.

2) Change the query string argument separator in PHP

In URL query strings, parameters can be separated with '&' or ';'. By default, PHP uses '&' to separate multiple parameters in a URL's query string. You can configure PHP to use ';' instead by adding the following to your .htaccess file:

Kôd:
php_value arg_separator.input ";"
---------
i fakat radi... kad pozovem skriptu sa user%2526name.png dobijem ono sta trebam
__________________
postoje ludosti bez kojih je nemoguce ljudsko dostojanstvo
dee je offline   Odgovorite uz citat