Wednesday, August 17, 2011

Folder to manage php files

Folder to manage php files under wamp server

Make Folders to manage php files - css, db, images & includes

Steps:
1.      Go to  'c:\wamp\www\ folder 
2.      Make all folder css, db, images & includes (all should be in small characters)



‘css’ – Save all css files

‘db’ – Save all database files

‘images’ – Save all images files

‘includes’ - Save header.php, footer.php, left.php, right.php & center.php files



WAMP SERVER Analysis

WAMP SERVER Analysis

main folder -  'www'  (new webpages)

If you have installed into default location "C:\wamp" and all websites pages & folder will be installed under main 'www' folder.... and main file is index.php which works with php webpage.



Folder -  'www' (Existing webpages)

If you have already prepared some php webpages and you want to installed into your local computer then go to path 'c:\wamp\www\' and copy all php files into this 'www' folder and try to run php webpages on browser after running wamserver


Adjust CSS Template

Adjust CSS Template as per your requirement - Header, Footer, Left, Right & Center

Free CSS template

Free CSS template

Running Web & DB Server

Running Web & DB Server on localhost


How to check  Webserver is running


http://localhost/


How to check phpmyadmin will run


http://localhost/phpmyadmin/




When you will click on above link and browser will open with wamp or phpmyadmin page that means both are successfully installed or running.

Install Web & DB Server

Install Web & DB Server on your localhost (local machine)


WAMP stands for Windows Apache MySQL PHP. WAMP Server is an open source software, which is free to use under the GPL licence (General Public Licence). WAMP is a combination of numbers of software that allows to develop dynamic website with Apache Server, MySQL database and PHP script language.

Steps:
  1. Go & Download WAMP Server http://www.wampserver.com/en/download.php
  2. Save WampServer.exe
  3. Double Click on Installer WampServer
  4. Click Run to Install
  5. Click Next
  6. Select Option I accept  and then click on next.
  7. Choose the directory and click next.
  8. Select Additional Icon
  9. Click Install
  10. Installing Process
  11. Click Next (Don’t changes on PHP mail parmaeters)
  12. Click on Finish button
  13. Take a look on Wamp Setting into system try
  14. Click on localhost via Wamp then WampServer page will open on internet browser
  15. Click on phpMyAdmin option via Wamp Server then phpMyAdmin page will open on internet browser
  16. If WampServer & phpMyAdmin page will open successfully then WampServer is successfully installed on your computer

Basic Requirements


Basic Requirements for php site


LanguageHTML, CSS, PHP & mysql
Web & DB ServerWAMP (Apache & mysql)
Folder preparedincludes, images, css & db
Basic php fileindex.php
External php fileheader.php, footer.php, left.php. Right.php & center.php