chmod

bobocheez

New Member
Messages
19
Reaction score
0
Points
0
Hi, I recently downloaded a PHP rate and review application and while I was installing it, I came across something that told me to "chmod 777 this directory"
I'm new to PHP, but I know what it stands for. What exactly do I need to do to make it work?
 

ThePaintGuru

New Member
Messages
208
Reaction score
0
Points
0
Click on the file in your Cpanel and click "change permissions", then check every box (read, write, and execute for owner, group, and public). Submit that and you're done. CHMOD isn't PHP specific, it's a linux file permissions thing saying who can do what.
 

Starshine

Legend Killer
Messages
14,423
Reaction score
0
Points
0
And just to add, under our security settings, files can not be set ( CHmodded ) to anything over 755.
I can't remember the exact thing to do ... but in File Manager, you can right click the files and select "Change Permission"
 

bobocheez

New Member
Messages
19
Reaction score
0
Points
0
But it should work if I just change it at the CPanel?

and I need some help with this:
Warning: extract() [function.extract]: First argument should be an array in /home/bobo/public_html/car/review.php on line 31

Warning: extract() [function.extract]: First argument should be an array in /home/bobo/public_html/car/review.php on line 32

this is part of the script:
</head>
<body>
<?php
//Copyright Scriptsez.net
extract($HTTP_GET_VARS);
extract($HTTP_POST_VARS);
function smile(){
?>

with "extract...." being lines 31 and 32
 

ThePaintGuru

New Member
Messages
208
Reaction score
0
Points
0
You can CHMOD files to 777, I've done it before and it worked. It wasn't in the public HTML directory though.
 

bobocheez

New Member
Messages
19
Reaction score
0
Points
0
Well it seems to allow posts but nothing is appearing and I still have that extraction error that I mentioned above.
 

cowctcat

New Member
Messages
401
Reaction score
0
Points
0
I've been testing this out for you and I've had no problem at all with extract.
Could you pm me with the files you are having trouble with?
 

tittat

Active Member
Messages
2,478
Reaction score
1
Points
38
You can CHMOD files to 777, I've done it before and it worked. It wasn't in the public HTML directory though.

Which file was that? Is that a .html file?
did you tried CHMODing .php to 777?
 
Top