Re: Upload file support in mathopd

2010-03-02 Thread Rabindra Paikaray
Hi Michiel ,

I am pasting here my piece of code here in php
Which I am using for upload . it works for normal HTTP.
But with HTTPS it does not work for files of format other than .txt

My Code Below
FORM HANDLER
--



Filename:







UPLOAD HANDLER
---
 0)
 {
echo  $_FILES['upload']['tmp_name'];
$tmpName=$_FILES['upload']['tmp_name'];
 }
move_uploaded_file($tmpName, "/tmp/testdoc");
}
?>

Thanks
Rabindra

On Thu, Feb 25, 2010 at 12:43 PM, Rabindra Paikaray
wrote:

> Hi Michiel ,
> Thanks for your reply.
> I was trying the upload with php script .
> It is working nicely for all kinds of file format if I am using the normal
> http.
> If I am using the https (mathopd applied by the SSL patch provided) upload
> is happening . But when I am opening the file it's telling that unknown mime
> type.
> data integrity lost.
> Any idea about this.
>
>
> Thanks
> Rabindra
>
>
>
> On Wed, Feb 25, 2009 at 11:10 PM, Michiel Boland wrote:
>
>> Rabindra Paikaray wrote:
>>
>>> Hi All,
>>> I want to know is mathopd supports file upload to server or not?
>>> Recently I was trying to upload the file , but it was failing .
>>> I don't know is it require to configure properly or it does not support
>>> at all.
>>>
>>
>> Mathopd by itself does not support file uploading, but you can do this via
>> CGI (PHP/Perl/Whatever)
>>
>> Cheers
>> Michiel
>>
>
>


Re: Upload file support in mathopd

2010-02-25 Thread Rabindra Paikaray
Hi Michiel ,
Thanks for your reply.
I was trying the upload with php script .
It is working nicely for all kinds of file format if I am using the normal
http.
If I am using the https (mathopd applied by the SSL patch provided) upload
is happening . But when I am opening the file it's telling that unknown mime
type.
data integrity lost.
Any idea about this.


Thanks
Rabindra


On Wed, Feb 25, 2009 at 11:10 PM, Michiel Boland  wrote:

> Rabindra Paikaray wrote:
>
>> Hi All,
>> I want to know is mathopd supports file upload to server or not?
>> Recently I was trying to upload the file , but it was failing .
>> I don't know is it require to configure properly or it does not support at
>> all.
>>
>
> Mathopd by itself does not support file uploading, but you can do this via
> CGI (PHP/Perl/Whatever)
>
> Cheers
> Michiel
>


Re: Upload file support in mathopd

2009-02-25 Thread Michiel Boland

Rabindra Paikaray wrote:

Hi All,
I want to know is mathopd supports file upload to server or not?
Recently I was trying to upload the file , but it was failing .
I don't know is it require to configure properly or it does not support 
at all.


Mathopd by itself does not support file uploading, but you can do this via CGI 
(PHP/Perl/Whatever)


Cheers
Michiel