Re: [PHP] setting file_uploads on a per-directory basis

This is a discussion on Re: [PHP] setting file_uploads on a per-directory basis within the PHP General forums, part of the PHP Programming Forums category; php_flag rather than php_value ??? this is a part of my htaccess file: <IfModule mod_php4.c> php_flag register_globals off ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-12-2003
Justin French
 
Posts: n/a
Default Re: [PHP] setting file_uploads on a per-directory basis

php_flag rather than php_value ???

this is a part of my htaccess file:

<IfModule mod_php4.c>
php_flag register_globals off
php_flag magic_quotes_runtime on
php_value include_path '/Users/justinfrench/Documents/htdocs/joel/'
</IfModule>

Justin French



On Tuesday, August 12, 2003, at 06:06 PM, Demian Turner wrote:

> In an effort to improve security on a server that has many sites, I
> was hoping to disable http_uploads in php.ini then enable it in one
> site with either an .htaccess:
>
> php_value http_uploads on
>
> or in httpd.conf with
>
> <Directory "/path/to/dir">
> php_value http_uploads on
> </Directory>
>
> however neither of these are successfully overriding the php.ini value.
>
> Any ideas?
>
> apache 1.3.23
> php 4.1
> linux 2.4.16, redhat 7.3
>
> cheers
>
> Demian
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> ---
> [This E-mail scanned for viruses]
>
>


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:29 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0