I need to update a constant defined in a PHP file. The constants.php
file is quite simple:
<?php
$firstConstant = "abcd";
$third = "abcd";
$updatedOn = "23 April 2001";
?>
Now what I need is for my C# application to update the $updatedOn
constant in this file to the present date.
How can I accomplish this? Thanks in advance!