title: How to add expiry date in PHP?
body: <p>Is there a way to add some code in PHP to make the file expire after some days that I specified?</p>
  
  <p>For example, I designed a PHP script for a client and this script is valid for 365 days and I want the script to expire after 365 days and show a custom message.</p>
  
  <p>Of course I will be encoding the PHP file.</p>
  
  <p>is there any code that I can into a single PHP without additional files to add expiry date on the file?</p>
  
  <p>Thank you</p>