Compare commits
22 Commits
new-mysql
...
9a024c5c88
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9a024c5c88 | ||
|
|
f9a0e41889 | ||
|
|
e17e570114 | ||
| 50b3d192ba | |||
|
|
b2e6260dfb | ||
|
|
ed87d341ab | ||
|
|
df5d1447af | ||
|
|
2352fd5396 | ||
|
|
385a02c90f | ||
|
|
8638f28847 | ||
|
|
5f2502877b | ||
|
|
8eccdffb1e | ||
|
|
c858d5dd32 | ||
|
|
234e187a54 | ||
| d8f5fd7f3a | |||
|
|
a30fd21842 | ||
|
|
57421ead5e | ||
| a846fe2fa7 | |||
|
|
06a3112617 | ||
|
|
064d8f0df3 | ||
|
|
19dcea8344 | ||
| b8e078f470 |
@@ -1,3 +1,2 @@
|
||||
git submodule add https://git.seemsleg.it/ef/php-func-lib lib
|
||||
|
||||
test
|
||||
# php-func-lib
|
||||
git submodule add https://git.seemsleg.it/pub/php-func-lib lib
|
||||
|
||||
14
ips/crawler.php
Normal file
14
ips/crawler.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
$_ips_crawler = array (
|
||||
'40.77.167.56 ', // bing bot
|
||||
'66.249.',
|
||||
'62.138.',
|
||||
'62.210.149.60',
|
||||
'92.118.160.37', // netsystem research bot
|
||||
'104.155.85.84',
|
||||
'114.119.1', // petalbot
|
||||
'185.191.171.6', // semrush bot
|
||||
'207.46.13.124', // bing bot
|
||||
'54.36.148.' //ahrefbot
|
||||
);
|
||||
?>
|
||||
11
mail.php
11
mail.php
@@ -1,8 +1,11 @@
|
||||
<?php
|
||||
|
||||
function send_mail($an, $betreff, $text, $ok = '', $error = '')
|
||||
{
|
||||
$header = 'From: noreply@isleofhope.de' . "\r\n";
|
||||
function send_mail($an, $betreff, $text, $ok = '', $error = '') {
|
||||
include 'secret.php';
|
||||
$sender = 'noreply@troy-grunt.de';
|
||||
if (isset ( $_sendermail )) {
|
||||
$sender = $_sendermail;
|
||||
}
|
||||
$header = 'From: ' . $sender . "\r\n";
|
||||
$header .= 'To: ' . $an . "\r\n";
|
||||
$header .= 'Content-Type:text/html' . "\r\n";
|
||||
$header .= 'Content-Transfer-Encoding: 8bit' . "\r\n";
|
||||
|
||||
@@ -7,4 +7,6 @@ $_m['pass'] = '';
|
||||
$_m['data'] = '';
|
||||
$_m['pre'] = 'efcms2_';
|
||||
$_m['salt'] = '';
|
||||
|
||||
$_sendermail = 'noreply@troy-grunt.de';
|
||||
?>
|
||||
10
string.php
10
string.php
@@ -257,4 +257,14 @@ function onlySimpleHTML($s) {
|
||||
|
||||
return $s;
|
||||
}
|
||||
function linkify($input) {
|
||||
$pattern = '@(http(s)?://)?(([a-zA-Z])([-\w]+\.)+([^\s\.]+[^\s]*)+[^,.\s])@';
|
||||
return $output = preg_replace ( $pattern, '<a href="http$2://$3">$0</a>', $input );
|
||||
}
|
||||
function inStr($needle, $haystack) {
|
||||
if (strpos ( $haystack, $needle ) !== false) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user