I try to save some code to .htaccess file, but unfortunately I have problems with the characters "<" and ">".
I have this code:
$final = "<IfModule mod_rewrite.c>"
The output of $final is a empty string.
I change my code for:
$urls = "<" . "IfModule mod_rewrite.c" . ">";
, the output is what I looking for: "<IfModule mod_rewrite.c>", that's good.
The problem is, when I save the code to the file, they will appear again like this: <IfModule mod_rewrite.c> in the htaccess file.
How I save in .htaccess file the string with the characters "<" and ">" correctly?
The best regards, JC