(03-21-2011, 07:31 PM)steinm Wrote: BTW, can you tell me how can I pass $_FILES and $_POST variable to a php file? It would be much easier to use this.
Thanks.
Anyway, I would not recommend to do the upload over http but rather use the functions of LetoDMS_Core. That's what is was made for. It is the core functionality of LetoDMS.
Uwe
I am sorry but I didn't get that, what did you want me to use? I did use the functions but I am not sure how to pass files over scripts, so I wrote a simple php script which included the addDocument function and all other letoDMS php include files.
Can curl be used to pass $_FILES and $_POST parameters?
I mean. if I used the php CLI, how can I pass the $_FILES and $_POST to it?
Max