Current location: Hot Scripts Forums » Programming Languages » PHP » CHMOD images directory to 777


CHMOD images directory to 777

Reply
  #1 (permalink)  
Old 01-02-05, 08:40 AM
killerbanana killerbanana is offline
New Member
 
Join Date: Jan 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Post CHMOD images directory to 777

I don't mean to sound stupid (though I am) but how do I CHMOD images directory to 777? If It helps to know I'm using purple cloud for the webserver. its for an uploader php script.

Last edited by killerbanana; 01-02-05 at 08:45 AM.
Reply With Quote
  #2 (permalink)  
Old 01-02-05, 09:54 AM
jasong jasong is offline
Wannabe Coder
 
Join Date: Feb 2004
Posts: 160
Thanks: 0
Thanked 0 Times in 0 Posts
Here are two ways:
PHP Code:

<?php

chmod
("/somedir/somefolder"0755);          /// The easy way, but I bet it wont work
system("chmod 755  /somedir/somefolder");    /// Should work
?>
__________________
SnapSlides.Com - Create slideshows online to share with friends and family.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CHMOD to 777 hbfriends PHP 10 10-27-04 09:43 PM
CHMOD 777 Directory Vulnerability? phanbox The Lounge 0 10-26-04 10:41 PM
Need Epinions-lite system in PHP & MYSQL wali001 Job Offers & Assistance 4 01-12-04 06:02 AM
count images in a directory using javascript chuck JavaScript 5 12-05-03 01:20 PM
Showing images in a directory Bob PHP 4 08-25-03 08:16 AM


All times are GMT -5. The time now is 05:23 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.