Profile

Achievement

first submission:submitting first snipplet

ginoplusio's Recent SnippetsTagged url



« Prev 1 Next »
The first function make short urls. The second function decode a short url with CURL. It gets the http header of the short url page. If the header contains a "Location:" header, then it's a redirect, and the decoded url is the url in the "Location"...
1 235 posted 10 years ago by ginoplusio
« Prev 1 Next »