Upload on https

Hi,

I am trying to upload some files on a secure connection. The code
works perfectly when executed on http but errors out on https. I am
using move_uploaded_files to transfer the files. The directory to
which I am uploading is on http (contains images).

TIA
Pankaj
Pankaj [ Do, 29 November 2007 14:16 ] [ ID #1881908 ]

Re: Upload on https

Pankaj wrote:

> I am trying to upload some files on a secure connection. The code
> works perfectly when executed on http but errors out on https. I am
> using move_uploaded_files to transfer the files. The directory to
> which I am uploading is on http (contains images).

Without seeing the code it's impossible to tell what goes wrong.
There is really no code difference in using an upload script over https, just
check that you really are trying to send it over https so it's not sent over
http where the scipt may not be.

--

//Aho
Shion [ Do, 29 November 2007 18:57 ] [ ID #1881909 ]

Re: Upload on https

On Nov 29, 10:57 pm, "J.O. Aho" <u... [at] example.net> wrote:

> Without seeing the code it's impossible to tell what goes wrong.
> There is really no code difference in using an upload script over https, just
> check that you really are trying to send it over https so it's not sent over
> http where the scipt may not be.
>
> --
>
> //Aho

Its a permission issue with Apache. Got that fixed.
Pankaj [ Fr, 30 November 2007 08:58 ] [ ID #1882918 ]

Re: Upload on https

On Nov 30 2007, 1:58 am, Pankaj <panah... [at] gmail.com> wrote:
> On Nov 29, 10:57 pm, "J.O. Aho" <u... [at] example.net> wrote:
>
> > Without seeing the code it's impossible to tell what goes wrong.
> > There is really no code difference in using an upload script over https, just
> > check that you really are trying to send it over https so it's not sent over
> > http where the scipt may not be.
>
> > --
>
> > //Aho
>
> Its a permission issue with Apache. Got that fixed.

I am having the same issue on a shopping cart I designed. How did you
get it fixed? What permissions got changed?
peteklein23 [ Do, 24 Januar 2008 08:27 ] [ ID #1915534 ]
PHP » alt.php » Upload on https

Vorheriges Thema: Messaging between objects
Nächstes Thema: PHP Books - jumbooks.com