INTRODUCTION
StockPortfolio.com is basically designed for latest news of company and its stock. This is a web based application which covers technical aspect of web application. Through this project user can get all information about company and its stock price and he can create his own portfolio to keep records of his stock and its price.
Acknowledgement
Since many years internet and its applications have been the market winners. It was very obvious to go for one. This led to the development of the StockPortfolio.com. This project satisfies my personal interest in web designing and development. This is Client and Server application. With the advice of Prof. Mahmood, I started this project as a beginner to PHP and web development. It was a great opportunity to work with Dr. Ausif Mahmood (Project Advisor). His skills and advice has made this project a success. Considerable help was also achieved from books like
1. Profession PHP Programming by Wrox Publication.
2. PHPBuilder.com
3. Online Tutorials and websites.
4. Beginning XML By Wrox Publication
5. Web Application Stress Tool from http://webtool.rte.microsoft.com/
There were stages where there were important tips to be needed and Prof. Mahmood is great at that and all who are directly or indirectly involved in making this project a success.
PHP (Hypertext Preprocessor)
PHP is short name what is officially called "PHP: Hypertext Preprocessor." Basically PHP is a server side scripting language, using which you can build dynamic website's, PHP can connect to various databases, perhaps the best part of PHP is that its open-source and It can be run on Unix, Linux, Windows what I mean to say it can be run virtually on all computing platforms so you can write PHP code on your home computer which has windows and then run the same code on a Unix/Linux Server.
PHP Diagram
The diagram below shows how a browser, an HTML form, a PHP script, a web server, and a database interact via the Internet.

In the example below, A.php is a sprinter that can run fast, and B.php is a marathon runner than can jog forever at the nearly the same speed. For light loads, A.php is substantially faster, but as the web traffic increases, the performance of B.php only drops a little bit while A.php just runs out of steam.

Java Scripting vs. PHP Scripting
The key difference between JavaScript (Client side scripting language) and PHP (Server side scripting language) is that, In JavaScript the script is processed on the client machine by the browser, In server-side scripting languages like PHP scripts are processed by the Web server before the page is even sent to the browser. The script is processed entirely by the server. Thus the designation: server-side scripting language.
The Windows® 2000 Server operating system integrates Internet technologies across all services, from File and Print to advanced line-of-business application services. This helps ensure organizations can more effectively exchange information with customers, partners, and employees worldwide.
Windows 2000 Server meets the needs of a broad spectrum of users, from corporate intranets to Internet Service Providers hosting Web sites receiving millions of hits per day. Because Internet Information Server 5.0 (IIS) is fully integrated at the operating system level, Windows 2000 Server lets organizations add Internet capabilities that weave directly into the rest of their computing infrastructure.
Specifically, Windows 2000 Server lets organizations:
§
Share
information more efficiently using the Web.
In the past, performing standard file operations on a network file share was
much easier than performing similar operations on a remote Web site. Now,
Windows 2000 Server technologies such as Web Distributed Authoring and
Versioning (WebDAV) make it as easy to carry out standard file operations on a
Web share.
§
Create
Web-based business applications.
Creating Web-based applications that integrate well into traditional business
applications can be difficult. Windows 2000 Server overcomes this burden by
sharing internet-aware application development tools with IIS, an efficiency
that extends applications to the Web and eliminates awkward bridges between
internal and external processes.
§
Bring
server operating system functionality to the Web.
In addition to allowing organizations to extend basic file and print services to
the Web, Windows 2000 Server supports applications, media, and communications
and networking services from a common server platform. This convergence means
that everything a company can do with Windows 2000 Server is automatically
supported in a fully integrated Web environment.
MySQL
MySQL is the world's most popular Open Source Database, designed for speed, power and precision in mission critical, heavy load use.
Customers such as Yahoo! Finance, MP3.com, Motorola, NASA, Silicon Graphics, and Texas Instruments use the MySQL server in mission-critical applications.
The MySQL database server embodies an ingenious software architecture that maximizes speed and customizability. Extensive reuse of pieces of code within the software and an ambition to produce minimalist but functionally rich features have resulted in a database management system unmatched in speed, compactness, stability and ease of deployment. The unique separation of the core server from the table handler makes it possible to run MySQL under strict transaction control or with ultra fast transaction less disk access, whichever is most appropriate for the situation.
PhpMyAdmin
PhpMyAdmin is intended to handle the adminstration of MySQL over the web. Currently it can:
· create and drop databases
· create, copy, drop and alter tables
· delete, edit and add fields
· execute any SQL-statement, even batch-queries
· manage keys on fields
· load text files into tables
· create and read dumps of tables
· export data to CSV values
· administer multiple servers and single databases
Configuring PHP on IIS Web Server
1) Go to your Windows Control Panel then click on Administrative Tools
then Click on Internet Information Services icon.

2) Expand the tree and Right click on the Default Web Site and click on
the Properties as show in the above fig.

3) The Default Web Site properties appear now click on the Home
Directory

4) In the Home Directory properties click on the Configuration
button as shown in the above figure.

5) In the Application Configuration properties click on the Add
button as shown in the above figure.

6) Now you get the Add/Edit Application Extension Mapping window enter
the executable as C:\PHP\PHP.EXE (or the appropriate location where you
have installed PHP) and the extension as .php as shown in the above
figure and click OK you have successfully configured PHP on your IIS Web Server!