For Programmers: Free Programming Magazines  


Home > Archive > PHP Programming > September 2007 > file_uploads = Off ; but uploads allowed via PHP ??









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author file_uploads = Off ; but uploads allowed via PHP ??
Nilesh

2007-09-24, 8:00 am

Hi, i am using php 5.2.4 with apache on Fedora 7. After setting
file_uploads = Off (and off also) in php.ini ; PHP still allows
uploads. Is this a bug or what ? Please tell me how to solve this ?

ZeldorBlat

2007-09-24, 7:02 pm

On Sep 24, 8:28 am, Nilesh <nilesh.3...@gmail.com> wrote:
> Hi, i am using php 5.2.4 with apache on Fedora 7. After setting
> file_uploads = Off (and off also) in php.ini ; PHP still allows
> uploads. Is this a bug or what ? Please tell me how to solve this ?


Did you restart apache after making the change?

Nilesh

2007-09-24, 7:02 pm

On Sep 24, 6:29 pm, ZeldorBlat <zeldorb...@gmail.com> wrote:
> On Sep 24, 8:28 am, Nilesh <nilesh.3...@gmail.com> wrote:
>
>
> Did you restart apache after making the change?


Nah. No.

Ok, thanks, i restarted and found that uploads were off. But tell me
one thing: even placing it in .htaccess file(s) requires that ?

ZeldorBlat

2007-09-24, 7:02 pm

On Sep 24, 1:17 pm, Nilesh <nilesh.3...@gmail.com> wrote:
> On Sep 24, 6:29 pm, ZeldorBlat <zeldorb...@gmail.com> wrote:
>
>
>
>
> Nah. No.
>
> Ok, thanks, i restarted and found that uploads were off. But tell me
> one thing: even placing it in .htaccess file(s) requires that ?


I don't know...did you try it?

Nilesh

2007-09-25, 7:02 pm

On Sep 25, 1:27 am, ZeldorBlat <zeldorb...@gmail.com> wrote:
> On Sep 24, 1:17 pm, Nilesh <nilesh.3...@gmail.com> wrote:
>
>
>
>
>
>
>
> I don't know...did you try it?


I tried, but it did not work (OR i am wrong somewhere or its httpd
problem). I will ask this in PHP irc and apache irc. :)

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com