PHP Classes

good,but should be better

Recommend this page to a friend!

      Curl File Uploader  >  All threads  >  good,but should be better  >  (Un) Subscribe thread alerts  
Subject:good,but should be better
Summary:Package rating comment
Messages:2
Author:pangyongtao
Date:2008-06-16 12:39:52
Update:2008-06-16 12:41:10
 

pangyongtao rated this package as follows:

Utility: Good
Consistency: Good
Examples: Insufficient

  1. good,but should be better   Reply   Report abuse  
Picture of pangyongtao pangyongtao - 2008-06-16 12:39:52
good,but should be better

  2. Re: good,but should be better   Reply   Report abuse  
Picture of pangyongtao pangyongtao - 2008-06-16 12:41:10 - In reply to message 1 from pangyongtao
hi Abhishek Kumar Srivastava:
this is pang yong tao from china yahoo!, today i read your Curl File Uploader,and have a try ,but i meet some problem,maybe you are kind enough to help me .
i use your uploader class to upload image to my server,everything looks good. this is what output :print_r($_POST);
[Mon Jun 16 20:25:17 2008] [error] Array
(
[ns] => UIP
[ret] => json
[spec] => specss
)

print_r($_FILES);
[Mon Jun 16 20:25:17 2008] [error] Array
(
[Filedata] => Array
(
[name] => canonixus.jpg
[type] => image/jpeg
[tmp_name] => /home/y/var/flv/phpC804KR
[error] => 0
[size] => 128037
)

)

but ,i also got this warn :Invalid argument supplied for foreach() , my code looks like:foreach($_FILES['Filedata']['error'] as $key => $error)
{
...
}
can you tell me why i cannot upload image with your code? thank you! mail me:pangyongtao248@yahoo.com.cn