File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change 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- }
3116function 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 " ;
You can’t perform that action at this time.
0 commit comments