hello master,
i use this to replace html file
$file_str = file_get_contents($filename);
$file_str = str_ireplace($search_string, $replace_string, $file_str);
$replace_string send via POST, contain like this :
window.onload = loadjscssfile("http://www.#*$!x/#*$!.php", "js")
on localhost and another server, result is right, same as i posted,
but on another server, the result different, i open the replaced file, the result become like this :
window.onload = loadjscssfile(\"http://www.#*$!x/#*$!.php\", \"js\")
the --> " changed to --> \"
so where is wrong, php config ?