This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Copyright (c)2005-2009 Matt Kruse (javascripttoolbox.com) | |
* | |
* Dual licensed under the MIT and GPL licenses. | |
* This basically means you can use this code however you want for | |
* free, but don't claim to have written it yourself! | |
* Donations always accepted: http://www.JavascriptToolbox.com/donate/ | |
* | |
* Please do not link to the .js files on javascripttoolbox.com from | |
* your site. Copy the files locally to your server instead. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
register_shutdown_function( "fatal_handler" ); | |
function fatal_handler() { | |
$errfile = "unknown file"; | |
$errstr = "shutdown"; | |
$errno = E_CORE_ERROR; | |
$errline = 0; | |
$error = error_get_last(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Garmin Connect Course Export</title> | |
<script type="text/javascript" src="https://code.jquery.com/jquery-1.11.2.min.js"></script> | |
<script type="text/javascript"> | |
$( document ).ready(function() { | |
var urlPattern = "http://connect.garmin.com/proxy/course-service-1.0/[TYPE]/course/[ID]"; | |
var regexp = /^.*?(\d+)$/ | |
function checkForm() |