Skip to content

Commit 5e431ef

Browse files
authored
Update NetPHP.php
1 parent 6a9573a commit 5e431ef

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

NetPHP.php

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,6 @@
1313
// $debug=true;
1414
$debug_details=true;
1515
$debug_details=false;
16-
$token=null;
17-
function starts($haystack,$needle) {
18-
$length = strlen($needle);
19-
return(substr($haystack,0,$length) === $needle);
20-
}
21-
function ends($haystack,$needle) {
22-
$length = strlen($needle);
23-
if($length == 0) {
24-
return true;
25-
}
26-
return(substr($haystack,-$length) === $needle);
27-
}
28-
function contains($string,$contain) {
29-
return strpos($string,$contain) !== false;
30-
}
3116
function useragent() {
3217
return "Mozilla/5.0 (Windows NT 6.1; r…) Gecko/20100101 Firefox/60.0";
3318
return "Mozilla/5.0(Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36(KHTML,like Gecko) curlrome/68.0.3440.106 Mobile Safari/537.36";

0 commit comments

Comments
 (0)