Other than caching every hour, or every week, you may cache according to file data. [crayon-68b6be3ac9ae9561049230/] or use file modification…
To get host url of current server simply replace application\config\config.php [crayon-68b6be3aca841560630571/] with [crayon-68b6be3aca849166930257/]
You should first test the existence of a file by file_exists(). [crayon-68b6be3acaaea943828864/] or simple solution without exceptions: [crayon-68b6be3acaaf1623492341/]
[crayon-68b6be3acad50479116305/] Output the random string with the call below: [crayon-68b6be3acad57666131719/]
Note: from WordPress Use it like this: [crayon-68b6be3acaf2a429735466/] Code: [crayon-68b6be3acaf2f035824259/]
[crayon-68b6be3acb2c9944849461/] or [crayon-68b6be3acb2cd849796418/]
[crayon-68b6be3acb6e5649368286/] instead of [crayon-68b6be3acb6eb541965593/] It will give you POST data as is. You will be able to decode it using…
The output look like: [crayon-68b6be3acbb8d960546741/] [crayon-68b6be3acbb97984716373/]