Oleh Kovalievskyi
Winning proposal- Projects 25
- Rating -
- Rating 1 377
Budget: 700 RUB Deadline: 1 day
Here is the example of https://kovalievskyi.pp.ua/freelance/
This script uses a third party API.
Proposals are currently absent
Proposals concealed
-
Ivan Mezenko 6 November 2018<?php
include('tabgeo/tabgeo_country_v4.php');
$ip = $_SERVER['REMOTE_ADDR'];
$geo = tabgeo_country_v4($ip);
switch ($geo) {
case "RU":
$geoLoc = "http://yandex.ru";
break;
case "UA":
$geoLoc="http://i.ua";
break;
case "FR":
case "JP":
$geoLoc = "http://google.com";
break;
default:
$geoLoc = "http://kink.com";
} // switch
header("location: $geoLoc");
?>Делай аналогично и Всё пашет, как отче наш.
-
Maksim Praymer
6 November 2018
Там где вы взяли этот код, я тоже его пробовал) но к моему сожалению он срабатывает с теме же странами, что и мой код, а с другими нет. Например в этом коде есть FR не работает, Италия тоже, а вот германия Россия и украина пашет.
-
Ivan Mezenko 6 November 2018Ну, что я Вам могу сказать, Вашего сайта я не видел, и не знаю как он у Вас работает. В данном случае я бы начхал на tabgeo_country_v4.dat и воспользовался бы несколько другим походом. Например загружал бы и обрабатывал базу http://ipgeobase.ru/cgi-bin/Archive.cgi, как я это сделал у себя.
Загружаешь периодически( база обновляется ) ip практически все, обрабатываешь и делаешь дальше, что захочешь. Применяешь фильтры соответственно не только жесткий $_SERVER['REMOTE_ADDR']
-
Maksim Praymer
6 November 2018
Вообще не совсем понятно так как я не программист) а тот код который у меня есть он во вложении в примере задания и прописан в начале страницы сайта, значение сайта же не влияет на работу скрипта.
За счет чего ваша база подгружается и почему уверены что она выдержит высокую пропускную способность за 1-10 секунд ?
Например 1000 устройств за 5-30 секунд.
-
Ivan Mezenko 6 November 2018База загружается непосредственно на сайт и ip стран и городов грузятся из неё.
Соответсвенно по ip определяется город либо страна ( кодировки стран в базе ) списки городов в базе. Но у вас я понимаю только страны, это ещё проще.
-
Maksim Praymer
6 November 2018
Да, у меня только страны. Но требуется их точная работа определение, например Казахстан с тем кодом что сейчас у меня часто определяется как Россия это вообще жесть.
А как вы думаете или может точно знаете в вашем варианте какая пропускная способность без сбоев в определении ?
Вы довольно этим способом, он всегда правильно определяет страну ?
А вы этот способ для аналитики используете ?
-
Ivan Mezenko 6 November 2018Страна без проблем, но всё тестировать нужно, тут и сервер как настроен, и как запрос обрабатывается и т.д. и т.п. Что касается лично меня, то пока устраивает.
Таблицу в базе для обработки как сделаешь в общем всё, не всегда стандартный подход может соответствовать требованиям сайта.
Current freelance projects in the category Databases & SQL
A centralized server system for collecting and storing data from Planfix, 1C, Meta Ads, and Google Ads is needed, as well as a web dashboard for displaying and analyzing this data. All data, change history, calculations, and aggregated metrics must be stored exclusively in the server database. The dashboard should not store or duplicate business data. It must retrieve the necessary information from the server database via API according to user requests and display it in the form of KPIs, charts, tables, and detailed reports.
An experienced 1C programmer is needed for a one-time data migration from 1C to a new CRM system. It is necessary to export data from 1C while preserving all relationships between entities: products, clients, receipts, invoices, balances, product movement history, and other directories. The export format can be JSON, SQL, or any other format convenient for further import. The main requirement is to maintain the data structure and all relationships between documents and objects so that the data can be correctly transferred to another CRM without loss of information. Experience in data migration between 1C and third-party systems will be an advantage. There is no need to migrate to another CRM, just provide a file or create functionality to save a dump file locally on click. Everything is managed locally, so you will need to work through AnyDesk or something similar. I don't know the prices for such work, so please make your offers.
We are looking for support for a project based on Yii , we need to make edits and improvements to the database, there is partially a connection with the previous contractor .....................
It is necessary to migrate the database from CRM G-PLUS to MyChatBot Database volume - 26 thousand leads 2 funnels - Call center and Sales department with their own funnels Lead cards (besides name and number) have many different fields Leads also have voice recordings of calls. These also need to be transferred I expect an approximate amount and implementation timeline from the candidate
Create a dashboard for monitoring and analyzing the performance of the company's location network (branches) in Google Business Profile (GBP) through the official Google Business Profile API. Process via a script based on Google Apps Script (link to Google Sheets). Record data in Google Sheets (which serves as a database for Looker Studio). Update: Daily (with an indication of the last update date). Create a Google Cloud service account. The script runs once a day (trigger at 03:00 AM) and sends a request to the GBP API. It retrieves metrics for the previous day for each location (locationId). Records data in a flat format (row = unique combination of Date + Branch ID + Metrics). Key Performance Indicator CardsCard NameGBP MetricDynamic FormatProfile ViewsImpressions (Search + Maps)Percentage %, Sparkline (blue)CallsLocal Services Phone CallsPercentage %, Sparkline (green)Website ClicksWebsite ClicksPercentage %, Sparkline (purple)Direction RequestsDirection RequestsPercentage %, Sparkline (orange)Average RatingAverage Review RatingAbsolute change (e.g., +0.1), Sparkline (yellow)New ReviewsNew Reviews CountPercentage %, Sparkline (turquoise)