chmod will work for both folders and files...
bastien
From: "Andrew Darby" <[EMAIL PROTECTED]>
To: "Bastien Koert" <[EMAIL PROTECTED]>
CC: php-db@lists.php.net
Subject: Re: [PHP-DB] Permissions for mkdirs
Date: Sat, 28 Oct 2006 18:06:36 -0400
Unfortunately,
s themselves also have
the permissions (0777) to allow you to delete them before you can delete the
folder...
bastien
>From: "Andrew Darby" <[EMAIL PROTECTED]>
>To: php-db@lists.php.net
>Subject: [PHP-DB] Permissions for mkdirs
>Date: Sat, 28 Oct 2006 17:18:47 -0400
>
&
Good people of php-db: Forgive me, this is more of a php than a
php-db question, but here goes: In a little php/mysql application, I
have users ftp over a folder full of images. When they "register" a
folder that's not already in the MySQL db, it creates three different
folders (thumb, medium,
imited scope of
protecting my member's site. :)
-Keivn
- Original Message -
From: "Jason Markantes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 04, 2002 10:43 PM
Subject: [PHP-DB] permissions "system"
> Howdy All-
>
> I
Howdy All-
I've poked around the net for some snippets, and have done my own in the past,
but wanted to get some more ideas on how you do a permissions "system". This
means, in your application, how do you control and enforce different
permissions for different users?
Simple example: An image re
I'm trying to use PHP and MySQL to query a table and write the contents to a
new file. When run the command to outfile it tells me I don't have
permissions. This is on a Unix machine.
mysql> select * into outfile
"/home/u1/funfun/www.somewebsite.com/catalogreq/
catalog.txt"
mysql> fields terminat
I'm trying to build a menu page that builds links based upon specified
permissions that are associated with a username or userid. I figure it might
be best to associate individual privleges to specific menu items within the
usertable (using checkboxes, etc). then building the menu based upon the