This question already has an answer here:
- How can I check if a URL exists via PHP? 21 answers
I need to check the given short url is active or not. and used the following php function to get the url information, after get the expanded url.
get_headers($original_url);
And the result is not correct. I test this using the currently active url.
Any other way to find?
Thanks in advance.
</div>