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
| <% | |
| require 'net/http' | |
| qs = ENV['QUERY_STRING'] | |
| qf={} | |
| for f in qs.split("&") | |
| s = f.split("=") | |
| qf[s[0]] = s[1] | |
| end |
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
| <% | |
| require 'net/http' | |
| qs = ENV['QUERY_STRING'] | |
| qf={} | |
| for f in qs.split("&") | |
| s = f.split("=") | |
| qf[s[0]] = s[1] | |
| end |
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
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml"> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
| <title>CityGrid Jquery Embed Directory</title> | |
| </head> | |
| <body> | |
| <!-- Begin CityGrid Embed Widget---> | |
| <!--JQuery--> |
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
| <!-- Begin CityGrid Tracker --> | |
| <script type="text/javascript"> | |
| var _csv = {}; | |
| _csv['action_target'] = 'listing_profile'; | |
| _csv['listing_id'] = '<?php echo $id; ?>'; | |
| _csv['publisher'] = '<?php echo $publishercode; ?>'; | |
| _csv['reference_id'] = '<?php echo $reference_id; ?>'; | |
| _csv['placement'] = 'hyp3rl0cal_detail'; | |
| _csv['ua'] = '<?php echo $_SERVER['HTTP_USER_AGENT']; ?>'; | |
| _csv['i'] = '<?php echo $impression_id; ?>'; |
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 | |
| $uid = "[your username]"; | |
| $pwd = "[your password]"; | |
| $certpath = '[path to your cert]'; | |
| $PostFields = 'uid=' . $uid. '&pwd=' . $pwd; | |
| // Get Server Address | |
| $ch = curl_init(); |
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
| $uid = "[your IDrive user ID]"; | |
| $pwd = "[your IDrive user password]"; | |
| $crtpath = "[path to your local cert]"; | |
| $url = "https://evs.idrive.com/evs"; | |
| $ch = curl_init(); | |
| curl_setopt($ch, CURLOPT_URL, $url.'/getServerAddress'); | |
| curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); |
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
| String params="uid="+user+"&pwd="+pass; | |
| URL evsURL = new URL("https://evs.idrive.com/evs/getServerAddress"); | |
| HttpURLConnection con = (HttpURLConnection)evsURL.openConnection(); | |
| con.setRequestMethod("POST"); | |
| con.setRequestProperty("Content-Type","application/x-www-form-urlencoded; charset=UTF-8"); |
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
| $uid = "[your IDrive user ID]"; | |
| $pwd = "[your IDrive user password]"; | |
| $crtpath = "[a path to your local cert]"; | |
| $ch = curl_init(); | |
| curl_setopt($ch, CURLOPT_URL, $this->data['weburl'].'/evs/validateAccount'); | |
| curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); | |
| curl_setopt($ch, CURLOPT_POST, true); |
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
| String params="uid="+user+"&pwd="+password; | |
| try | |
| { | |
| URL evsURL = new URL("https://<server address>/evs/accountValidate"); | |
| HttpURLConnection con = (HttpURLConnection)evsURL.openConnection(); |
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
| $uid = "[your IDrive user ID]"; | |
| $pwd = "[your IDrive user password]"; | |
| $crtpath = "[a path to your local cert]"; | |
| $enctype = "default"; | |
| $pvtkey = ""; | |
| $ch = curl_init(); | |
| curl_setopt($ch, CURLOPT_URL, $this->data['weburl'].'/evs/configureAccount'); |