audibleCode

a code repository for codes that you don’t have enough words to describe

Posts Tagged ‘windows

Send emails in PHP-Using PEAR extensions

with 3 comments

The PHP Extension and Application Repository (PEAR) is an open source structured library of packages for PHP developers. These packages provide routines which solve problems PHP developers regularly face: sending structured e-mail (such as an HTML attachment), interacting with different databases from a single script, error handling, recovery and logging.
The base installation of PEAR is shipped with PHP itself. The programmers working on PEAR have developed a method of installing new packages and keeping your existing installation up-to-date, called the PEAR package manager.

PEAR package manager
If you are using a version of PHP prior to 4.3, you will need to install the PEAR package manager. UNIX users can run the following command:
lynx -source http://go-pear.org/ | /path/to/php

This downloads the source of the page at http://go-pear.org and runs it with the PHP binary (replace /path/to with the path to PHP on your system).

Read the rest of this entry »

Written by audiblecode

May 24, 2008 at 3:43 pm

How to reset MySQL password.

without comments

I am browsing blog and i just found this thing that i didn’t know

Reseting mysql password

 

  1.  
    1.  
      1. Stop the server
      2. #/etc/init.d/mysql stop
      3. Login as root
      4. #mysqld_safe –skip-grant-tables –user=root
      5. #mysql -u root
      6. Enter this command
      7. mysql>update mysql.user set password=password(’newpassword’) where user=’root’;
      8. start the service again
      9. #etc/init.d/mysql start
      10. login again
      11. #mysql -u root -p
The sequence is the same in windows. But the thinks is for the  complete stuff  go to mysql.com aand read the documentation.

Written by audiblecode

May 23, 2008 at 8:37 pm

The Concept Of Intelligent Operating Systems

without comments

As a computer science student i have some experience with operating systems like (our ever famous) Windows, Linux(My personal favorite), Solaris, Apple Mac etc.

The thing is that rather than making operating system just run other programs. Lets make OS’s that have the ability to think,learn,suggest etc. I want the day that OS ceases to become a dumb piece of codes that is executed by the hardware. To the extent that it becomes a complete mother program object.

let me explain. We want to be able to have sentences like the once i have written below

Read the rest of this entry »

Written by audiblecode

May 23, 2008 at 6:34 pm

Using G-Mail as a virtual harddrive on your local computer

with one comment

The two gigabytes of storage you get with a Gmail account seems like an enormous waste of space for just e-mail. You’re not likely ever to fill it; were you to come close, Google would no doubt have doubled the space by then. Wouldn’t it be nice to be able to use some of that storage for something other than mail?

Well, you can. A free piece of software and the know-how to change a few Gmail settings are all you need to turn your Gmail storage into a virtual hard drive you can access any time you’re connected to the Internet. (If you don’t yet have a Gmail account, ask someone you know who has one, or anyone who sends you a message from one, for an invite. Gmail is still technically beta and invitation-only.)

First, get the GMail Drive shell extension fromhttp://www.viksoe.dk/code/gmail.htm and install it. Download the ZIP file, extract all the files into a folder, then run setup.exe. (Note: The GMail Drive shell extension works only with Internet Explorer, Version 5 or above.)

Read the rest of this entry »

Written by audiblecode

May 22, 2008 at 9:13 pm

Using Microsoft Windows XP “lsass.exe” to your advantage.

without comments

lsass.exe is a system process of the Microsoft Windows security mechanisms. It specifically deals with local security and login policies. This program is important for the stable and secure running of your computer and should not be terminated.

The caught is that this program cannot be terminated by the user. Not even using the command prompt. Or task manager. The system will not allow the program to be deleted at all. What do u think. By making or writing a small program that does what ever you want it to do and making it run at start-up to do “WHAT EVER U WANT TO DO” .

The user cannot stop the program until the program terminated. This is a good hack if u want to run a program which you don’t want the user or who ever to close it. 

Just name the program “lsass.exe” and that is all u are there. You can try it. 

You can write any think a trojan, antivirus,worm,trojan etc… anything but beware.

 

Written by audiblecode

May 22, 2008 at 2:24 pm