Profile
Achievement
o0110o's Recent SnippetsTagged curl
- All /
« Prev 1 Next »
A handy function to get the contents of a file with curl. Accepts $_path as a parameter.
1
1125
posted 12 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
1309
posted 12 years ago by o0110o
A function to get a files size via curl. Accepts $_path, $_unit, $_float, $_username & $_password; In the listed order.
1
1292
posted 12 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
1631
posted 12 years ago by o0110o