php


PHP Schedule Content Between Two Dates

The following bit of code will allow you to schedule content between two dates set in php. So if you want to have say an announcement show up on your website and a certain date and then disappear after another date you can set that up using this code.


Get PHP Information

This snippet will output the PHP info for your hosting environment. You would want to add this to a php file like php-info.php and put it in your root folder of the site. This will show all sorts of stuff related to your php including the set memory limit.


PHP hide content before or after a certain date

The following snippet will prevent the content from showing before or after a certain date.