Snippet IT IT News, Programming, Internet and Blogging

4May/092

Gmail: How to Monitor Your Mail Account Activities

How do you know your Gmail account's actitivies like the date and time when you signin, access type (mobile, web and etc) and the IP addresses where you signin your Gmail mail account. 

Sometime you may have signed in at other PC (like cyber cafer, friends's house and etc) and may have forgotten to sign out. How can you ensure that all your Gmail mail account sessions has been signed out.

24Apr/090

PHP: session_start() – No such file or directory error

Have you encountered the following PHP error (or something similar) before in your Windows Vista?

Warning: session_start() [function.session-start]: open(C:\Users\YOURNAME\AppData\Local\Temp\php\session\sess_ficdel21e6lupsojqdk62ofts5, O_RDWR) failed: No such file or directory (2) in C:\webapp\folder\index.php on line 24

The solution to the above error is really simple. Simply re-create the folder C:\Users\YOURNAME\AppData\Local\Temp\php\session\. For some reason, you or your Windows Vista (e.g. during a disk cleanup) may deleted all the files and folder under C:\Users\YOURNAME\AppData\Local\Temp\ and this is the main reason PHP can't find the correct location to create its temporary file for new session.