Jump to content

PHP; Call to undefined function - Recursive


v0ld3m0rt1s
Go to solution Solved by v0ld3m0rt1s,

Recommended Posts

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.