This file contains hidden or 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 | |
//retrieve the id from the GET variable | |
$ref = $_GET['ref']; | |
//Why do all the work if $ref is empty?! | |
// I think a redirect to index should be good enough | |
if($ref == NULL || count($ref) == 0) { | |
"<meta http-equiv='refresh' content='0; url=index.php' />"; | |
} |
This file contains hidden or 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
'========================================================================== | |
' JSON Encoder for VBScript | |
' Copyright (c) 2013 Atif Aziz. All rights reserved. | |
' | |
' Licensed under the Apache License, Version 2.0 (the "License"); | |
' you may not use this file except in compliance with the License. | |
' You may obtain a copy of the License at | |
' | |
' http://www.apache.org/licenses/LICENSE-2.0 | |
' |
This file contains hidden or 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 | |
require_once 'NikePlusPHP.php'; | |
function login($user,$pass){ | |
$n = new NikePlusPHP($user, $pass); | |
return $n; | |
} | |
function flatten(array $array) { | |
$return = array(); |