This is a simple file that turns input into a GPS POI (CSV) file. More...
Variables | |
| $http_vars = array_merge_recursive ( $_GET, $_POST ) | |
| $lng = floatval ( $http_vars['lng'] ) | |
| $lat = floatval ( $http_vars['lat'] ) | |
| $name = $http_vars['name'] | |
| $desc = $http_vars['desc'] | |
| if(!$name) | $filename = preg_replace ( "/[^a-zA-Z0-9\-_\.]+/", "_", preg_replace("/[\"']+/","",$name ) ) |
This is a simple file that turns input into a GPS POI (CSV) file.
It outputs data in Universal CSV (GPS) Format.
Input is via the $_GET and/or $_POST facility. This file combines them.
| lat | A floating-point number. The latitude of the point, in degrees. |
| lng | A floating-point number. The longitude of the point, in degrees. |
| name | A string. The name of the point (Keep it short. It is used as a filename). |
| desc | A string. A description of the point. |
The returned file is returned with a "text/csv" content-type, which usually results in a download, as it is returned as an "attachment," as opposed to inline.
This file is part of the Basic Meeting List Toolbox (BMLT).
Find out more at: http://magshare.org/bmlt
BMLT is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
BMLT is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this code. If not, see <http://www.gnu.org/licenses/>.
| $desc = $http_vars['desc'] |
| if (!$name) $filename = preg_replace ( "/[^a-zA-Z0-9\-_\.]+/", "_", preg_replace("/[\"']+/","",$name ) ) |
Referenced by RedirectAJAX().
| $http_vars = array_merge_recursive ( $_GET, $_POST ) |
Referenced by c_comdef_admin_bar(), c_comdef_LoginForm(), and parse_redirect().
| $lat = floatval ( $http_vars['lat'] ) |
| $lng = floatval ( $http_vars['lng'] ) |
Referenced by SetUpSearch().
| $name = $http_vars['name'] |
Referenced by FPDF::_putfonts(), FPDF::AddFont(), array2xml(), BuildFormats(), DisplayMeeting(), DisplayOneMeeting(), DisplayPageData(), c_comdef_server::GetAllServiceIDs(), c_comdef_meetings::GetMeetingTableName(), GetServerLanguages(), FPDF::Output(), c_comdef_server::ReadServiceIDs(), ReturnAServiceBodyDL(), sb_array_XML(), and FPDF::SetFont().
1.7.4