v0ld3m0rt1s Posted September 25, 2016 Share Posted September 25, 2016 Here's my code; function kontrol1($source) { if(strstr($source, 'www.bulurum.com\'u kullanmaya devam etmek için lütfen robot olmadığınızı doğrulayınız.')){ sleep(120); $source = siteSourceCode(["url" => $url."?Order=AtoZ"]); kontrol($source); } } Here's my problem; I'm trying to define a global function like this. But its stucking when call itself. Its not a class so i can't use "$this->". How can i make it work ? Thanks in Advance. Quote Link to comment Share on other sites More sharing options...
Solution v0ld3m0rt1s Posted September 25, 2016 Author Solution Share Posted September 25, 2016 What a stupid i am. I noticed my mistake after i post this. im trying to call "kontrol()" instead of "kontrol1()" Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.