J. Bakshi wrote:
On Mon, 18 Jan 2010 12:03:36 +0100
"Marcin 'Rambo' Roguski" wrote:
OP posted the script that "checks" MIME type of POST attachment, but I
have a hunch the web server doesn't have write access to the temporary
upload directory specified in php.ini. Hints to that are that php
On Mon, 18 Jan 2010 12:03:36 +0100
"Marcin 'Rambo' Roguski" wrote:
>
> OP posted the script that "checks" MIME type of POST attachment, but I
> have a hunch the web server doesn't have write access to the temporary
> upload directory specified in php.ini. Hints to that are that php
> isn't setti
On Mon, 18 Jan 2010 10:51:39 +0100
Krist van Besien wrote:
> On Sat, Jan 16, 2010 at 5:18 PM, J. Bakshi
> wrote:
> > I can see the files are transferred but after
> > that it simply reports "Not an Image file".
>
> What is "it" here. Is this error message logged in a logfile
> somewhere, or is
On Sat, 16 Jan 2010 19:37:36 +0100
Marcin 'Rambo' Roguski wrote:
> What about temporary files? Are they uploaded or not?
> From what you're writing, neither size or type are
> identified (should be set after a successful completion
> of POST request).
>
> Can you add
>
> print_r($GLOBALS['HTT
Dnia 18 Stycznia 2010, 10:51, Pn, Krist van Besien napisaĆ(a):
> On Sat, Jan 16, 2010 at 5:18 PM, J. Bakshi
> wrote:
>
>> I can see the files are transferred but after
>> that it simply reports "Not an Image file".
>
> What is "it" here. Is this error message logged in a logfile
> somewhere, or i
On Sat, Jan 16, 2010 at 5:18 PM, J. Bakshi wrote:
> I can see the files are transferred but after
> that it simply reports "Not an Image file".
What is "it" here. Is this error message logged in a logfile
somewhere, or is it displayed in your webbrowser?
Krist
--
krist.vanbes...@gmail.com
kr..
On Sun, 2010-17-01 at 11:30 +0530, J. Bakshi wrote:
> On Sat, 16 Jan 2010 13:35:37 -0500
> John Iliffe wrote:
>
> > There are a couple of choices to debug here.
> >
> > First, the code you supplied is comparing the mime-type parameters
> > obtained from the call to:
> >
> > $upload_file_type =
On Sat, 16 Jan 2010 13:35:37 -0500
John Iliffe wrote:
> There are a couple of choices to debug here.
>
> First, the code you supplied is comparing the mime-type parameters
> obtained from the call to:
>
> $upload_file_type = $GLOBALS
> ['HTTP_POST_FILES']['profile_image']['type'];
>
> So, fir
On Sat, 16 Jan 2010 19:37:36 +0100
Marcin 'Rambo' Roguski wrote:
> > But no files are uploaded there at all.
>
> What about temporary files? Are they uploaded or not?
> From what you're writing, neither size or type are
> identified (should be set after a successful completion
> of POST request)
> But no files are uploaded there at all.
What about temporary files? Are they uploaded or not?
>From what you're writing, neither size or type are
identified (should be set after a successful completion
of POST request).
Can you add
print_r($GLOBALS['HTTP_POST_FILES']['profile_image'])
in the
There are a couple of choices to debug here.
First, the code you supplied is comparing the mime-type parameters
obtained from the call to:
$upload_file_type = $GLOBALS
['HTTP_POST_FILES']['profile_image']['type'];
So, first I would echo $upload_file_type and see what it is actually
getting.
On Sat, 16 Jan 2010 18:26:18 +0100
Marcin 'Rambo' Roguski wrote:
> > the files are not uploaded in the folder where they suppose
> > to be.
>
> Please explain. So they ARE uploaded but in the wrong path?
> Or there's no folder? In latter case, the script should
> create the said folder by itse
> the files are not uploaded in the folder where they suppose
> to be.
Please explain. So they ARE uploaded but in the wrong path?
Or there's no folder? In latter case, the script should
create the said folder by itself, or you need to create it
manually.
--
No guest is so welcome in a friend'
On Sat, 16 Jan 2010 17:31:28 +0100
Marcin 'Rambo' Roguski wrote:
> On Sat, 16 Jan 2010 21:48:15 +0530
> "J. Bakshi" wrote:
>
> > Dear list,
>
> > that it simply reports "Not an Image file". And this is happening
> > with all files even with image ( jpg, bmp etc..) and with as small
> > as 1KB
On Sat, 16 Jan 2010 21:48:15 +0530
"J. Bakshi" wrote:
> Dear list,
> that it simply reports "Not an Image file". And this is happening with
> all files even with image ( jpg, bmp etc..) and with as small as 1KB
> and as big as 500KB. I have checked the log with "Loglevel debug" and
> there is no
Dear list,
I am banging my head with a strange problem I have never never and never
seen before. A site is functional and running on a debian lenny server.
The site provides a file upload section and files are uploaded
successfully even with 10MB size. I have migrated the site to an
opensuse 11.1
16 matches
Mail list logo