Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP] Problem z &currency i ¤cy
DannyM
post
Post #1





Grupa: Zarejestrowani
Postów: 507
Pomógł: 2
Dołączył: 30.10.2003
Skąd: Poznań

Ostrzeżenie: (10%)
X----


Mam wyliczy sume hash i mianowicie problemem jest &currency bo na siłe zmienia mi na ¤cy i suma wylicza sie bledna


.'&session_id='.$_SERVER["REMOTE_ADDR"]
.'&amount='.$amount

ŹLE .'¤cy='.$order_info['currency_code']

POWINNO BYĆ ."&currency=".$order_info['currency_code']

Efekt wychodzi: &amount=60732¤cy=PLN&
Dodam, ze jak tylko usune currency to HASH jest prawidlowy. Niestety to pole jest wymagane i musze je umiescic

Probowalem htmlentities ale wtedy nadal hash jest bledny. Dawalem & #38; i efekt ten sam.
Jakis pomysl jak to przeskoczyc

Ten post edytował DannyM 29.05.2015, 14:15:14
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 21.08.2025 - 19:47