Codez Revisited
Hi 2yall! As I promised in summer to be back, I am again here in Kolkata and at Codez in winter to feel the hot in this cold. It’s relishing to be a part of Codez team again. This time I am here for just a month but I believe my project to be equally successful to my last which is based on AVL.
AVL stands for Automatic Vehicle Locator. It is a machine by which you can track your vehicle in real time, and, thus it ensures the safety of you vehicle. Installation if the machine in the vehicle is the mechanical thing, at which I am not good at as I am not a mechanical guy.
So I started with the other part of the project, i.e., to build a website which can locate any thing on a map in real time, or in other words, trace the location of any particular on a map by inputting its latitude and longitude. It is relevant to AVL as it takes Latitude and longitude as input which are the output of AVL. It is a totally different mechanism to get the output from the AVL, by using sending specific commands to it as SMS.
To build the website, I thought of using PHP/ MySQL duo on Apache web server as all 3 of these are Open-Source ,Cross-platform and powerful. As I have windows installed on my system, I straightway installed W.A.M.P., which stands for the combination of Windows OS, Apache web server, MySQL and PHP, Perl or Phyton. There are also other features included In WAMP like phpMyAdmin, which is a software tool written in PHP intended to handle the administration of MySQL by a Graphical User Interface over the World Wide Web. phpMyAdmin supports a wide range of operations with MySQL.
The point in installing WAMP on windows is that if get you rid of installing all the 3 packages separately and making them work together which is a tedious task. After installing WAMP, go to ‘php.ini’ file and turn the ‘PHP scripting language engine under Apache’ ON. There are also other occasions when you need to change the ‘php.ini’ file like in email functions.
Apart from these since I needed a PHP Text/Web Editor, I choose Dreamweaver. Working on Dreamweaver is much easy as it gives you the opportunity to work on the Code or the Design simultaneously. At first I concentrated on code part but later I realized it’s also easy to design in Dreamweaver and that get you rid of writing unnecessary code.
After installing Apache, if you open “localhost” in your web browser it will redirect you to your WampServer page on which the server configuration will be displayed. If you are not seeing that, then you need to check that whether IIS web server of your windows is on or off. It isn’t required to be off but then you need to direct both your servers on different ports. For that, go to WAMP->Apache->Service->Ports and test any port other than 80, as 80 is the default and it might be getting used by IIS. If you found it complicated simply turn IIS off from Control Panel-> Program and Features->Turn Windows features On or Off. Check again.
After getting your WAMP server work, look for phpMyAdmin link on the WampServer page. In few tutorials I found the directions to change the password of phpMyAdmin so that it gets secured and hackers can’t access your database. I followed a tutorial and changed the password. After that I, myself was not allowed in it. “Access Denied” was the reply of the server. So, I suggest don’t do it until you know how to access with password. Uninstalling and Re-installing of the WAMP server isn’t of much help as the changes brought by the password are in the Windows Registry.
But for those, who did that mistake, here I am providing a solution to deal with the password. Goto WAMP -> apps -> phpMyAdmin -> config.inc. Open ‘config.inc’ file by in notepad or Dreamweaver. Make sure you have entered the correct userId and password. If it isn’t there, provide the password. And change the status of the “AllowNoPassword” to ‘true’. Save it. Go back to browse and refresh your page. You can now access to phpMyAdmin.
I am currently making web pages and using the database MySQL to store the data.
Latest posts by Ashish Anand
- Don’t Stop the Music - July 10th, 2010
- Automatic SMS Interaction - June 29th, 2010
