ricardodinucci
Member
The function is for uploading
I know that, I'm trying to make one for downloading, could you give a help?
Follow the code for filesonic:
Code:
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://www.filesonic.com/user/login");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, "email=xxxxxxxxx&redirect=%2F&password=xxxxxxxx&rememberMe=1");
$output = curl_exec($ch);
curl_close($ch);
echo $output;
The problem is not logging in. Any idea? :'(