Ben komut özel karakterler ile ilgili bir sorun yaşıyorum:
Bu ben bugüne kadar ne var:
$curlstrip = explode("&", $data);
$filename = substr(htmlEntities($curlstrip[5]), 2);
and if $data
contains any special charaters like '
which is ', then instead of getting the chunk of string that I need, I get only the first part.
A more detailed example:
$data = "12er&sdsretdgsd&file=Chris ' 19 &blabla"
script okuyacak ''
ve $curlstrip[5]
farklı bir değer olacak gibi Chris sonra.
Umut yeterince açıktır.
LE. Bu aşağıdaki örnek:
$data = "12er&sdsretdgsd&file=Chris ' 19 &blabla"
$curlstrip = explode("&", $data);
$curlstrip[0] = '12er';
$curlstrip[1] = 'sdsretdgsd';
ancak
$curlstrip[2] = 'file=Chris' instead of 'file=Chris ' 19'
'olarak okunan çünkü olduğunu
'
Thx,
Cristian.