Shutdown Computer From Mobile Using PHP On the Internet there are some tutorials about shutting down a computer from a mobile phone.But, in this tutorial we'll check out a way to shutdown a computer from a mobile phone using PHP.For those who don't know PHP, it is a scripting language in simple words.We are PHP as it is a server side scripting language,platform independent and open source.That means we don't have to worry about whether the system runs on Windows or Linux.The procedure is really simple.All we have to do is to set up a server on the computer with PHP and execute system command to shutdown the computer.1.SERVER SETUP We'll use XAMPP to set up the server.Believe me it is too easy. Go to xampp home page.Download the available package (installer or zip archive). Now,follow the instruction given on their site to install the server.Actually installation is just unzipping the archive to a directory.The installation will take just around 2 minute. However you check my previous post on setting up server on home computer. 2.PHP code
echo 'Shutting down'; exec("shutdown -s -t 30"); //30 means shutdown after 30 seconds ?> Go to no-ip.com and register a free sub-domain and point it to the the following http://YOUR-IP-ADDRESS/ To find out your ip address just visit any site like http://checkmyip.com/. That's it.Now you visit that link with no-ip subdomain from your mobile phone to shut down the computer. |
This tutorial will address the basic setup of a server on your own computer running with windows platform. This means the removal of hassles of dealing with the company that is running a remote web server. It will be easy to modify. You can add any thing you want to it, be it CGI/Perl, Zope, Roxen, etc, all by your self. You will have unlimited disk space, well at least as big as your hard disk drive . Now that you know the advantages, it is time that I tell you what you will need.You will need XAMPP 1.6.8 which is available for free & combines all of the following * Apache HTTPD 2.2.9 + Openssl 0.9.8i * MySQL 5.0.67 * PHP 5.2.6 * PHP 4.4.9 * phpMyAdmin 2.11.9.2 * FileZilla FTP Server 0.9.27 * Mercury Mail Transport System 4.52 STEP 1 : 1.I recommend to download Self-extracting 7-ZIP archive version because of its low size compared to other two versions. Download Link STEP 2: ![]() After downloading extract the archiveto folder of your choice.Don't panic if it halts for few minutes at some stage (may be at 27%,32% or81%) during extraction. Just be patient. Remember that XAMPP folder will be created automatically which meansyou don't need to create one. STEP 3 Now,loacate the file in the setup-xampp.bat in the XAMPP folder and run it. You will see something like this :: ![]()
STEP 4 XAMPP control Panel Run the file xampp-control.exe present in the folder XAMPP. The XAMPP Control Panel will appear. ![]() To have the Apache server and the MySQL database started upon the system startup, install them as services by checking the Svc checkboxes next to them. Then ckick OK in the XAMPP Control dialog box that opens. The Apache and MySQL servers are installed as services. To start the Apache HTTP server, click Start. To start the MySQL database server, click Start. Here are some more server scripts, you might find useful: STEP 5 Checking XAMPP Installation Open the URL http://localhost or http://127.0.0.1 in your browser .Click on the preferred language and you'll get this welcome screen for English. ![]() UNINSTALLATION:: Shut down the XAMPP server and exit all panels. If you installed any services, shut them down too. Simply delete the entire folder where XAMPP is installed. There are no registry entries and no environment variables to clean up… just simply good, clean code! Don’t forget to uninstall any services you might have installed. |
Showing posts with label Computer Tricks. Show all posts
Showing posts with label Computer Tricks. Show all posts
How To Recover Deleted Files In Windows
Computer Tricks Windows
Undefined Soul
If you have deleted some of your important files accidently then the first thing you will do is panic.But I am going to teach you how you can recover your deleted files.Using this method you can recover files that have been
Before starting the tutorial for recovering the deleted files I will explain the basics of file deletion which will help you understand that how and why file recovery is possible.
How File Deletion Works
Whenever you move a file to recycle bin or permanently delete a file the file is actually not deleted from the hard-disk instead that file space is marked as free by the operating system so that new files can be written at that space.So, if no new file is written at that place then you can recover the file easily but if you have placed some data in that particular drive then it is possible that the data be written on the same location from where you have deleted your file.It will make the data recovery difficult or impossible.
Note:-Donot put any new data on the Drive from which you have to recover you data because it may hamper your data recovery chances.
This method works on windows platform and is completely free.
Now,Lets begin the step by step tutorial with screenshots on How To Recover Deleted Files In Windows
1.Download Recuva .It is a freeware utility.
Click Here To Download Recuva(3.7 MB)
2.Install Recuva and it will ask what sort of file you want to recover.Example pictures,movies.Now select the drive.

3.It will scan and show you all the files that have been deleted from that particular drive.

4.After completion of the drive is complete it will show two types of files.
5.Right click on the file to be recovered and select Recover Highlighted and your file will be recovered.
- Deleted from the Recycle bin
- The files which have been permanently deleted using SHIFT+DELETE key
- Files deleted from your Memory Card
Before starting the tutorial for recovering the deleted files I will explain the basics of file deletion which will help you understand that how and why file recovery is possible.
How File Deletion Works
Whenever you move a file to recycle bin or permanently delete a file the file is actually not deleted from the hard-disk instead that file space is marked as free by the operating system so that new files can be written at that space.So, if no new file is written at that place then you can recover the file easily but if you have placed some data in that particular drive then it is possible that the data be written on the same location from where you have deleted your file.It will make the data recovery difficult or impossible.
Note:-Donot put any new data on the Drive from which you have to recover you data because it may hamper your data recovery chances.
This method works on windows platform and is completely free.
Now,Lets begin the step by step tutorial with screenshots on How To Recover Deleted Files In Windows
1.Download Recuva .It is a freeware utility.
Click Here To Download Recuva(3.7 MB)
2.Install Recuva and it will ask what sort of file you want to recover.Example pictures,movies.Now select the drive.
3.It will scan and show you all the files that have been deleted from that particular drive.
4.After completion of the drive is complete it will show two types of files.
- Those with green icons can be recovered.
- Those with red icons cannot be recovered easily.
5.Right click on the file to be recovered and select Recover Highlighted and your file will be recovered.
Reset BIOS Password Without Removing the CMOS Battery
Computer Tricks Ethical Hacking Hacking Tips and Tricks (GrayHat and BlackHat) Operating Systems Windows
Undefined Soul
Almost everybody of you know how to Reset any computer's BIOS password.
Anyways if there are few who doesn't know then, basically what we have to do is, we just need to open the CPU, and just take out the CMOS BATTERY and put it back in, That will reset the BIOS Settings.
So, if you need to reset the password then what i have here is a utility, that can Clear, Save, Restore BIOS settings.
You can remove the passwords, if you want to save your bios settings, you can save it and later on can restore them.
* Product name: CMOS De-Animator v2 (DE-CMOS2.EXE, 206kB)
* Application version: 2.0
* License: Freeware
* Supported OSs: All Windows OSs except Win95 and NT 3.51
CMOS De-Animator v2
CMOS De-Animator v2 is a service utility for your system's CMOS RAM. Unlike its predecessor, the CMOS De-Animator 1.0, the new version includes a graphical interface and CMOS-backup options along with the "Clear CMOS" procedure, which was the original version's only purpose. So, you can now backup the main CMOS settings to a file, or restore them later. The application supports all 32-bit and 64-bit Windows operating systems except Windows 95 and Windows NT 3.51; for these old systems, you have to use De-Animator's previous version.
Like with De-Animator 1.0, one-time activated administrator privileges are required, if the application is ran for the first time in your system. CMOS De-Animator v2 now includes a self-test on its startup to check, whether the CMOS can be successfully accessed to. After successful execution with the status "Ready to go" visible, the application can be normally used even under non-privileged accounts on your machine (i.e. under an user account). This doesn't apply to Windows 98/ME, where the utility works instantly.
What's new in version 2.0:
- Simple graphical interface with three possible actions: clear, save or restore the CMOS RAM
- Test CMOS reading at the startup, as mentioned above.
- No need to download a separate version for 64-bit systems.
- Compared with De-Animator 1.0 x86, less false-alarm messages from some picky antivirus programs.
Download
MD5 hash: a7d448ae2a52c08e0dc364e717f64db7
Shutdown Computer From Mobile Using PHP
Computer Tricks Mobile Zone
Undefined Soul
On the Internet there are some tutorials about shutting down a computer from a mobile phone.But, in this tutorial we'll check out a way to shutdown a computer from a mobile phone using PHP.For those who don't know PHP, it is a scripting language in simple words.We are PHP as it is a server side scripting language,platform independent and open source.That means we don't have to worry about whether the system runs on Windows or Linux.The procedure is really simple.All we have to do is to set up a server on the computer with PHP and execute system command to shutdown the computer. 1.SERVER SETUP
We'll use XAMPP to set up the server.Believe me it is too easy.
Go to xampp home page.Download the available package (installer or zip archive).
Now,follow the instruction given on their site to install the server.Actually installation is just unzipping the archive to a directory.The installation will take just around 2 minute.
However you check my previous post on setting up server on home computer.
2.PHP code
- After installing XAMPP, just open up XAMPP directory.Then you will locate htdocsshutdown. folder.Open that and create a new directory/folder.You can name it anything you want.Suppose the name of the new folder is
- Open the newly created folder shutdown and create a new file with index.php extension.
- Now open up index.php file and place the nice little code if you run windows.
echo 'Shutting down';
exec("shutdown -s -t 30"); //30 means shutdown after 30 seconds
?>
Go to no-ip.com and register a free sub-domain and point it to the the following
http://YOUR-IP-ADDRESS/shutdown/
To find out your ip address just visit any site like http://checkmyip.com/.
That's it.Now you visit that link with no-ip subdomain from your mobile phone to shut down the computer.
Create a Webserver in your home computer with PHP,MYSQL,APACHE in 5 Easy Steps
Computer Tricks Internet Tips n Tricks Web Tricks
Undefined Soul
This tutorial will address the basic setup of a server on your own computer running with windows platform. This means the removal of hassles of dealing with the company that is running a remote web server. It will be easy to modify. You can add any thing you want to it, be it CGI/Perl, Zope, Roxen, etc, all by your self. You will have unlimited disk space, well at least as big as your hard disk drive . Now that you know the advantages, it is time that I tell you what you will need.You will need XAMPP 1.6.8 which is available for free & combines all of the following
* Apache HTTPD 2.2.9 + Openssl 0.9.8i
* MySQL 5.0.67
* PHP 5.2.6
* PHP 4.4.9
* phpMyAdmin 2.11.9.2
* FileZilla FTP Server 0.9.27
* Mercury Mail Transport System 4.52
STEP 1 :
1.I recommend to download Self-extracting 7-ZIP archive version because of its low size compared to other two versions.
Download Link
STEP 2:
After downloading extract the archive to folder of your choice.Don't panic if it halts for few minutes at some stage (may be at 27%,32% or 81%) during extraction.

After downloading extract the archive to folder of your choice.Don't panic if it halts for few minutes at some stage (may be at 27%,32% or 81%) during extraction.
Just be patient.
Remember that XAMPP folder will be created automatically which meansyou don't need to create one.
STEP 3
Now,loacate the file in the setup-xampp.bat in the XAMPP folder and run it.
You will see something like this ::
Now,loacate the file in the setup-xampp.bat in the XAMPP folder and run it.
You will see something like this ::

NOTE::
To start XAMPP without setup!«
If you extract XAMPP in a top level folder like c:\xampp or d:\xampp etc., you can start XAMPP directly. That means you do not need to execute the “setup_xampp.bat” at all. Apache, MySQL and Mercury Mail server will start up correctly! FileZilla FTP server will not start because it requires absolute paths. Please note: Do not use a double-xampp-folder like c:\xampp\xampp! You need a single-xampp folder like d:\xampp(\apache and so on). Otherwise you must run the “setup-xampp.bat” to set up the path configurations.
STEP 4
XAMPP control Panel
Run the file xampp-control.exe present in the folder XAMPP. The XAMPP Control Panel will appear.

To have the Apache server and the MySQL database started upon the system startup, install them as services by checking the Svc checkboxes next to them. Then ckick OK in the XAMPP Control dialog box that opens.
The Apache and MySQL servers are installed as services.
To start the Apache HTTP server, click Start.
To start the MySQL database server, click Start.
Here are some more server scripts, you might find useful:
* Apache & MySQL start: .\xampp\xampp_start.exe
* Apache & MySQL stop: .\xampp\xampp_stop.exe
* Apache start: .\xampp\apache_start.bat
* Apache stop: .\xampp\apache_stop.bat
* MySQL start: .\xampp\MySQL_start.bat
* MySQL stop: .\xampp\MySQL_stop.bat
* Mercury Mailserver start: .\xampp\mercury_start.bat
* FileZilla Server setup: .\xampp\filezilla_setup.bat
* FileZilla Server start: .\xampp\filezilla_start.bat
* FileZilla Server stop: .\xampp\filezilla_stop.bat
STEP 5
Checking XAMPP Installation
Open the URL http://localhost or http://127.0.0.1 in your browser .Click on the preferred language and you'll get this welcome screen for English.

UNINSTALLATION::
Shut down the XAMPP server and exit all panels. If you installed any services, shut them down too.
Simply delete the entire folder where XAMPP is installed. There are no registry entries and no environment variables to clean up… just simply good, clean code! Don’t forget to uninstall any services you might have installed.
Click Here
How to Format a USB Flash Drive to a NTFS File System ?
Computer Tricks
Undefined Soul
To enable NTFS on your USB Flash Drive drive (USB Flash Memory):
1. Right click My Computer and select Manage.
2. Open the Device Manager and find your USB drive under the Disk Drives heading.
3. Right click the drive and select Properties.
4. Choose Policies tab and select the "Optimize for performance" option.
4. Choose Policies tab and select the "Optimize for performance" option.
5. Click OK.
6. Open My Computer.
7. Select Format on the flash drive.
6. Open My Computer.
7. Select Format on the flash drive.
8. Choose NTFS in the File System dropdown box.
9. Device Formatting is completed.
Important: To remove a device safely without data loss use a "safely remove hardware" procedure or Eject function from Windows Explorer.
Subscribe to:
Posts (Atom)
