Main Menu
Home
We BUY Houses!
Programs
The Man
The Team
News Feeds
Submit Content
Site Map
We Appreciate Referrals!
We're Growing!
Staff Intranet Login
Subscribe to LJGroup News
Open Source
do_curl.php add-on for CaLogic Print E-mail

"Do_curl.php" Curl add-on for Philip Boone's CaLogic available at http://www.calogic.de

This addition hooks in with CaLogic's reminder function in srxclr.php, uses the event ID to check if that event has a curl_url and what the url is, if so, then it opens the given url at the scheduled reminder time(s).

This is great for those of us who love automation and anything that makes it easier. If you have ever had to write a cron command it can be difficult to figure out how to make the cron do jobs on non-standard intervals such as "every other wednesday" without extra coding. Also, a cron will not directly open a page on another server like this script will by using cURL.

1. create an extended field named curl_url. This is the field where you will enter the URL which you want the script to open.
2. Include do_curl.php from within srxclr.php

cURL is a PHP Library which opens a url anywhere on the web, just as if you were to open it with your browser, but you can set it and forget it, at least in theory. I found CaLogic was very beautifully programmed to handle almost any interval (except multiples of the same events in a single day). Depending on your understanding and implementation of cURL you really can do pretty much anything, and now you have a nice calendar to use to automate the task. There's really no limit to what you can do with cURL, this is just a simple iteration of cURL, feel free to edit it to do as you need it to do.

This addition hasn't been highly tested yet, so any feedback, etc would be appreciated.

About cURL http://en.wikipedia.org/wiki/CURL

http://curl.haxx.se/docs/httpscripting.html  

Copyright 2007 Laban Johnson http://www.labanjohnson.com laban [@] labanjohnson.com
Released under the General Public License - use it, change it all you'd like, but I'd like to hear what you are able to do with it!

 

® 2006-2008 Laban Johnson Group. All Rights Reserved. All users subject to our Terms of Service. Image Equal Housing Opportunity