o0110o


Member since 01/12/2010

4 snippets

476 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

o0110o's Recent SnippetsTagged curl



« Prev 1 Next »
A handy function to get the contents of a file with curl. Accepts $_path as a parameter.
1 124 posted 7 years ago by o0110o
This function will use curl to see if a file exists at the location it's provided. It accepts $_path as a parameter.
1 144 posted 7 years ago by o0110o
A function to get a files size via curl. Accepts $_path, $_unit, $_float, $_username & $_password; In the listed order.
1 144 posted 7 years ago by o0110o
This is a function to retrieve the mime-type of a file by checking the header response with curl. It accepts the file-path as a parameter & it also has a fallback for empty returns.
1 161 posted 7 years ago by o0110o
« Prev 1 Next »