10-01-2009, 11:21 AM
|
#2 (permalink)
|
|
Moderateur
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
|
A file is a file is a file for curl, it doesn't matter what type. I suggest adding in some error checking and reporting to see what's going wrong.
Offtopic: I'd also suggest using pathinfo($filename, PATHINFO_EXTENSION) to grab the file extension rather than the explode/array_pop combo that you use.
|
|
|
|