u rule! :rockout2:
htmlspecialchars(str_replace("&","and","cucu & bau")) o sa-ti dea "cucu and bau"; browser-ul va face urlencode, si la scriptul tau receptor ajunge "cucu%20and%20bau"; php (sau apache) face transparent urldecode, asa ca in "unhtmlspecialchars" o sa-ti ajunga "cucu and bau"; acuma, tu faci str_replace("and;","&", $fucking_text), ceea ce nu functioneaza pt ca n-ai nicaieri in "cucu and bau" "and;"
maybe you should try some other job?
\"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.\" -- Rich Cook