Please tell me how to cut a link of this format.
https://static.site.com/images/common/galleries/id/with_logo/image.jpg To get only the id parameter
I get the link from the parser, and the parameter is later used to play the POST request via cURL . I did not find any other ways to pull him out of the page :)
parse_urlurlusually useparse_url, but here with its help you will only get the entire string ofimages/....its entirety. What do you expect as a result here?with_logo? regulars to help you - teranid. I guessed that I need them, but I am not strong in them) - RedScreediditself? PS: always give an example of real data - teran