Other than caching every hour, or every week, you may cache according to file data. [crayon-679fd50311ed4484081150/] or use file modification…
To get host url of current server simply replace application\config\config.php [crayon-679fd503122dd413181057/] with [crayon-679fd50312303219008773/]
You should first test the existence of a file by file_exists(). [crayon-679fd5031243a839915655/] or simple solution without exceptions: [crayon-679fd5031243d145680964/]
[crayon-679fd503124d0480933057/] Output the random string with the call below: [crayon-679fd503124d2581026153/]
Note: from WordPress Use it like this: [crayon-679fd5031255a074645277/] Code: [crayon-679fd5031255c438421185/]
[crayon-679fd5032b41c825301685/] or [crayon-679fd5032b427759155548/]
[crayon-679fd5032b71c467297602/] instead of [crayon-679fd5032b71f287002263/] It will give you POST data as is. You will be able to decode it using…
The output look like: [crayon-679fd5032b7b2204882273/] [crayon-679fd5032b7b4551760774/]