- Run sudo command without a password
- LAMP (Linux Apache, MySQL and PHP)
- Install Composer
- Install SQL Server PDO Driver
- [Linux and macOS Installation Tutorial for the Microsoft Drivers for PHP for SQL Server
Últil quando se tem apenas a porta 80 ou 443 liberada
Use o comando abaixo para criar o arquivo
<?php | |
/** | |
* Query builder scope to list neighboring locations | |
* within a given distance from a given location | |
* | |
* @param Illuminate\Database\Query\Builder $query Query builder instance | |
* @param mixed $lat Lattitude of given location | |
* @param mixed $lng Longitude of given location | |
* @param integer $radius Optional distance |
/*
Made by [egy.js](https://www.instagram.com/egy.js/);
*/
#EXTM3U | |
#EXTINF:-1 tvg-id="" tvg-name="Tomb Raider - A Origem" tvg-logo="https://i.imgur.com/AXaEFkh.jpg" group-title="MegaboxFilmes", Tomb Raider - A Origem | |
https://rc-v2.filmesonline.top/RedeCanais/RCFServer4/ondemand/TMBRDRORGM.mp4 | |
#EXTINF:-1 tvg-id="" tvg-name="211 (LEG)" tvg-logo="https://goo.gl/RR1hef" group-title="2018", 211 (LEG) | |
http://tcdn22.micetop.us/httpdelivery/sex/antigos/nc/L/2112018LEG.mp4 | |
#EXTINF:-1 tvg-id="" tvg-name="2036 Origem Desconhecida (LEG)" tvg-logo="https://goo.gl/KcDcQX" group-title="MegaboxFilmes", 2036 Origem Desconhecida (LEG) | |
http://tcdn22.micetop.us/httpdelivery/sex/antigos/nc/L/2036ORIGEMDESCONHECIDA2018LEG.mp4 |
<!doctype> | |
<html> | |
<head> | |
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8" /> | |
<title>Google Maps - pin cities</title> | |
<style type="text/css"> | |
html, body { height: 100%; margin: 0; padding: 0; } | |
#map_canvas { height: 100%; } | |
</style> |
<?php | |
//code from https://stackoverflow.com/a/38071156/4830771 | |
function separate($string, $separator = '|', $escape = '\\') { | |
if (strlen($separator) != 1 || strlen($escape) != 1) { | |
trigger_error(__FUNCTION__ . ' requires delimiters to be single characters.', E_USER_WARNING); | |
return; | |
} | |
$segments = []; | |
$string = (string) $string; | |
do { |
<?php | |
/** | |
* Strip HTML tags, remove attributes and empty tags | |
* | |
* @param string $html — HTML string | |
* @param array $preserve_tags — HTML tags that you wnat preserve | |
* @param array $remove_attrs — HTML attributes that you want remove. You can use remove attributes that starts with | |
* @param bool $remove_empty_tags — remove empty tags, that is without content | |
* @return string | |
*/ |
Usando o PHP do uCoz algumas funções são limitadas, por exemplo, não tem banco de dados e não podemos usar o banco de dados em um servidor remoto já que não é possível fazer a conexão.
Pensando em uma solução para manter os dados organizados me ocorreu de usar SQLite.
Assim que eu soube que era possível usar SQLite fui em busca de uma classe PHP que me ajudasse, eu achei esta e gostei muito https://github.com/ennio21/SQLite
This Javascript code modifies the function spages()
.