How to ping URL on registration?

Hi guys I am looking for a few lines of code that will ping my URL when user registers on my site?

There are some but they have too much stuff. I don’t need output any results simply ping URL.

Thanks in advance.

The simple minded would use curl to do that.
The sophisticated mind would use Guzzle with composer.

Have you tried PHP passthru(…), exec(…), system(…), etc?

http://php.net/manual/en/function.passthru.php

Be aware those functions are disabled on shared servers for obvious security reasons. If your website is hosted with a company like GoDaddy you won’t be able to use those.

1 Like

What a bummer. Thanks.