Welcome to CodeHill


Cronless

Cronless is an online cron job replacement and website monitoring service. It offers a scheduled task execution to backup databases, send billing invoices, auto-post to blogs, update online games, and more. And the monitoring service can alert you if your site or service is offline and with a detailed report. Visit Cronless.com


Announcements

SnipsManager Version 2.3 Released

The new version of SnipsManager is available for download. We fixed some bugs and added a few more features: Fixed the text wrapping bug in snippets containing long strings of text without spaces. Improved snippet submission summary page, parse.php. Added a Use CAPTCHA checkbox to the snippet submission page to display a CAPTCHA image before [...]

Cronless Now Supports 30 Second Cron Jobs

Today we released a new Cronless update that allows premium members to schedule cron jobs to run every 30 seconds (twice per minute). To make use of this feature create a new job or modify an existing one and just set the Interval to ‘Every 30 seconds’. Our crontab importing feature will not support this [...]

Minor Interface Tweaks to Cronless

We did some minor interface and settings tweaks this week to Cronless: Minimized the Server Load’s refresh counter to 15 seconds to display a more accurate number. Reformatted the jobs and monitors log pages to easily read and analyze. Moved the notification settings from Settings to its own page. And last but not least, added [...]

SnipsManager

SnipsManager is an easy-to-use PHP script for creating websites to share source code and plain text like emails, poems and articles with others. It has a neat AJAXed interface that can be customized using the admin pages and developer API to integrate seamlessly with an existing website or create a new one. Read more...


PHP Posts

Managing Application Settings in PHP

There are multiple ways to save application settings/configurations in PHP. You can save them in INI, XML or PHP files as well as a database table. I prefer a combination of the latter two; saving the database connection details in a PHP file and the rest in a database table. The advantage of using this [...]

Download And Search Multiple Pages Using PHP

Here is a simple way to loop through a list of URLs, download the page and search the contents for a string. The script starts by checking if the post variable $_POST['urls'] is set. If it is, its content is split by line breaks into the array $urls to easily read one URL at a [...]

Backup MySQL Databases to Amazon S3 Using PHP

With a few lines of PHP code and S3tool’s s3cmd command-line tool you can backup your MySQL databases automatically to Amazon’s S3. To use this script you’ll need SSH access to your server. First download s3cmd and upload it to your server. Installation is straight forward. The PHP code is simple:

The first line [...]

Subscribe

Enter your email address below to receive updates each time we publish new content.

Privacy guaranteed. We never share your info.

Services

Web Development - PHP and .NET Framework consultancy and custom application development services to clients in all sectors.

Script Installation - Get the script of your choice installed and configured on your web hosting account. Or let us know what you need and we will find the best script that suits you.

.NET Framework Posts

Displaying an Image Without Locking its File

The PictureBox control is one of the most used controls in Windows Forms applications. And sometimes you might want to delete the image file that is displayed on it. Doing so with an image displayed using the Image.FromFile function will result in a file locked exception. And file will stay locked until the program exits, [...]

Opening a File With its Default Program

When developing a Windows Forms application you sometimes need to open a file using the default program associated with it automatically for the user view or edit it. This could be done by just calling the System.Diagnostics.Process.Start function and passing the file name and path as a string. It works with any file type as [...]

Drag And Drop Files to a C# Application

The .NET Framework makes it easy to detect objects dragged and/or dropped into a Windows Forms application using one or more of the drag-and-drop events available. In these events you could check if the object is a file. To enable a control to be a target of a drag-and-drop operation set its AllowDrop property to [...]