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:
  1. $ftp_user_name = 'username';
  2. $ftp_user_pass = 'password';
  3. $ftp_server = 'ftp.server.com';
  4.  
  5. $connect = ftp_connect($ftp_server);
  6.  
  7. if (!ftp_login($connect, $ftp_user_name, $ftp_user_pass)) die("Couldn't connect");
  8.  
  9. @ftp_site($connect, 'CHMOD 0777 /public_html/folder_to_chmod/');
  10.  
  11. ... some process ... maybe upload ...
  12.  
  13. @ftp_site($connect, 'CHMOD 0755 /public_html/folder_to_chmod/');
  14. ftp_close($connect);

Remember this is just example, improve it yourself.
Hope this helps someone. You might need this solution if you are on a shared server.

.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:
  1. php_value register_globals = 1

But what i got is error page 500. Go to error log and i found this:

CODE:
  1. [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
  2. [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

As you can see, i got the same error for php_flag too. What am I missing?
Read the rest of this entry »

Disable SMS Conversation / Threaded SMS on WM 6.x

The default sms inbox in WM 6.x is threaded. Similiar with PALM. Some luv it some don't. For me its annoying. Heres the solution, you need regedit software first.

create a folder named OEM in HKEY_CURRENT_USER\Software\M!cro$oft\Inbox\Settings

Then in the new named OEM folder, create a DWORD key called

SMSInboxThreadingDisabled

with a value of 1

Tested and working in my prophet. Careful, do it on your own risk :D
taken from xda-forum by ziadah

Prophet WM6 Upgrade Guide

windows mobile

Bored with WM5?? Heres some tutorial (created by hma4 and translated to Indonesian by varanusvincent), how to upgrade your Prophet to Windows Mobile 6. Please read it carefully and do it on your own risk. This is Indonesian version, you can find English version here

Cara mengupgrade WM6 yang lama sudah tidak berguna. Berikut ini adalah cara mengupgrade WM5 ke WM6 yang baru.
Harap ikuti langkah - langkah berikut satu persatu dengan baik.
Langkah 3 dan langkah 4 , hanya dibutuhkan apabila ROM yang menggunakan OS.nb dan Folder Ext.ROM Read the rest of this entry »