chmod(): Operation not permitted

If you get a warning like chmod(): Operation not permitted You can use the ftp_site() function to send a CHMOD command through. [code]$ftp_user_name = ‘username’; $ftp_user_pass = ‘password’; $ftp_server = ‘ftp.server.com’; $connect = ftp_connect($ftp_server); if (!ftp_login($connect, $ftp_user_name, $ftp_user_pass)) die(“Couldn’t connect”); @ftp_site($connect, ‘CHMOD 0777 /public_html/folder_to_chmod/’); … some process … maybe upload … @ftp_site($connect, ‘CHMOD 0755 /public_html/folder_to_chmod/’); … Read more

.htaccess: Invalid command

I need temporarily put up an old page on the website. However, for that I need register_globals on. So i set .htaccess the following text:
[code]php_value register_globals = 1[/code]
But what i got is error page 500. Go to error log and i found this:
[code][Apr 9 08:31:04 2008] [alert] [client xx.xxx.xx.xx] /home/xxx/public_html/.htaccess: Invalid command ‘php_value’, perhaps mis-spelled or defined by a module not included in the server configuration
[Apr 9 08:18:51 2008] [alert] [client xx.xxx.xx.xx] /home/xxx/public_html/.htaccess: Invalid command ‘php_flag’, perhaps mis-spelled or defined by a module not included in the server configuration[/code]
As you can see, i got the same error for php_flag too. What am I missing?

Read more.htaccess: Invalid command