Go Back   Novahq.net Forum > Computers > Web design and Programming
FAQ Community Calendar Today's Posts Search

Web design and Programming Discuss website creation and other programming topics.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-06-2006, 08:39 PM
DevilDog#1 is offline DevilDog#1

Join Date: Jul 2002
Posts: 7,040

Running a CHMOD on a local file

I'm running EasyPHP PHP/APACHE/MySQL server. Can't figure out how to run CHMOD on a file in "www" folder. Any ideas? I've tried the FTP. It won't run it coz it's not connectedt to a server as such.
__________________








Quote:
If I don't do that doesn't mean I can't - DD#1
Reply With Quote
  #2  
Old 01-06-2006, 09:10 PM
JonM is offline JonM
Registered User

Join Date: Jun 2004
Posts: 2,156

You could use PHP .. i'll try to help sooN
Reply With Quote
  #3  
Old 01-06-2006, 09:15 PM
DevilDog#1 is offline DevilDog#1

Join Date: Jul 2002
Posts: 7,040

DUH! How come that didn't hit me! LOL!

PHP Code:
<?php
chmod
("/somedir/somefile"0755);  // octal; correct value of mode
?>
__________________








Quote:
If I don't do that doesn't mean I can't - DD#1
Reply With Quote
  #4  
Old 01-07-2006, 04:11 AM
SilentTrigger is offline SilentTrigger
-1PARA-

Join Date: Sep 2002
Location: Sweden
Posts: 3,972

Windows? CHMODing doesnt work on Windows
__________________
-1PARA-AlexKall

My photography website



Reply With Quote
  #5  
Old 01-07-2006, 04:20 AM
katana*GFR* is offline katana*GFR*

Join Date: May 2002
Location: North Sea
Posts: 2,421

Send a message via ICQ to katana*GFR* Send a message via MSN to katana*GFR*
CHMOD needs to be done otherwise, use the sharing tab. Its not really CHMOD, but it almost comes to the same thing.
__________________
<- Sponsored by Chris



Found on Youtube:
Quote:
And if Newton Faulkner's voice can be described as "R&B" then Kurt Cobain must be a member of Boyz II Men.
Link here
Reply With Quote
  #6  
Old 01-07-2006, 10:26 AM
JonM is offline JonM
Registered User

Join Date: Jun 2004
Posts: 2,156

woops for some reason i thought the apache sorta turned the machine into "linux" when showing the PHP. Duh me lol.
Reply With Quote
  #7  
Old 01-07-2006, 11:19 AM
SilentTrigger is offline SilentTrigger
-1PARA-

Join Date: Sep 2002
Location: Sweden
Posts: 3,972

Nope, but you can chance windows permissions that resemble chmodding, but in a windows type format, real crappy that is. Nah just kidding but Windows was never made to be as secure as Linux, they took userbility before security which they probebly did right

Just right click and chose preferences of the file to change permissions on windows.
__________________
-1PARA-AlexKall

My photography website



Reply With Quote
  #8  
Old 01-07-2006, 10:17 PM
JonM is offline JonM
Registered User

Join Date: Jun 2004
Posts: 2,156

windows XP and most of the windows weren't meant to act as a servers i think that's why they chose userability
Reply With Quote
  #9  
Old 01-08-2006, 05:05 AM
SilentTrigger is offline SilentTrigger
-1PARA-

Join Date: Sep 2002
Location: Sweden
Posts: 3,972

Exactly
__________________
-1PARA-AlexKall

My photography website



Reply With Quote
  #10  
Old 01-08-2006, 11:02 AM
DevilDog#1 is offline DevilDog#1

Join Date: Jul 2002
Posts: 7,040

DANG! I guess I should finally go and get that hosting huh?
__________________








Quote:
If I don't do that doesn't mean I can't - DD#1
Reply With Quote
  #11  
Old 01-08-2006, 12:54 PM
JonM is offline JonM
Registered User

Join Date: Jun 2004
Posts: 2,156

yeah. actually devil dog, if you want I'll host ya for free. 5 gigs of bandwidth, 500 mb of space. Then when your either done building your website, or you are getting enough hits, you can buy hosting just pm me desired domain (i.e. thing.wghq.net) and of course your desired username and password if you want hosting.
Reply With Quote
  #12  
Old 01-12-2006, 07:35 PM
DevilDog#1 is offline DevilDog#1

Join Date: Jul 2002
Posts: 7,040

Thanks Elite.

I'm playing with EasyPHP. I'll let you know when I really ready. Haven't had time to really play with code for a week or so.
__________________








Quote:
If I don't do that doesn't mean I can't - DD#1
Reply With Quote
  #13  
Old 01-12-2006, 07:59 PM
Webviper2006 is offline Webviper2006
Registered User

Join Date: Nov 2005
Posts: 495

Quote:
Originally posted by SilentTrigger*MFA*
Windows? CHMODing doesnt work on Windows
Yeah, I think it only works on Lunix.
__________________
Sorry bums, now I'm back! Now I know C++! I use Microsoft Visual C++!
Reply With Quote
  #14  
Old 01-16-2006, 07:53 PM
DevilDog#1 is offline DevilDog#1

Join Date: Jul 2002
Posts: 7,040

Ok tell me what am I don't wrong in SMARTFTP

1. Selected the folder I want to run CHMOD

2. Right click and Custom Commands->Misc.->CHMOD

3. SET CHMOD %a[777] %a[uploads]

Is step 3 correct??
__________________








Quote:
If I don't do that doesn't mean I can't - DD#1
Reply With Quote
  #15  
Old 01-17-2006, 05:12 PM
SilentTrigger is offline SilentTrigger
-1PARA-

Join Date: Sep 2002
Location: Sweden
Posts: 3,972

never used smartftp, but you are on linux right?
__________________
-1PARA-AlexKall

My photography website



Reply With Quote
  #16  
Old 01-17-2006, 05:12 PM
SilentTrigger is offline SilentTrigger
-1PARA-

Join Date: Sep 2002
Location: Sweden
Posts: 3,972

Quote:
Originally posted by Webviper2006
Yeah, I think it only works on Lunix.
works on both linux and unix
__________________
-1PARA-AlexKall

My photography website



Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
i chmod it werewolf phphq.Net Forums 2 11-13-2005 07:39 AM
16 bit Windows Subsystem AUTOEXEC.NT The system file is not...running MS-Dos Hellfighter Tech Support 5 09-13-2005 09:11 PM
the fix for: The system file is not suitable for running MS-DOS and 16bit error Hellfighter Tech Support 1 03-05-2005 06:36 PM
Uploader Chmod Death Sentinals phphq.Net Forums 3 01-26-2005 01:00 AM
Chmod Df2Aus Feedback / Novahq.net Support 1 03-06-2002 01:33 AM


All times are GMT -5. The time now is 10:52 AM.




Powered by vBulletin®