Você está na página 1de 25

: Apache

: Downloads C .
c:\downloads

: Apache .
http://httpd.apache.org/download.cgi

Win32 downloads C :

: Apache IIS ASP ASP.NET


. IIS .
IIS :
Start | Control Panel | Administrative Tools | Services

Name
World Wide Web Publishing

. ) stop (
. IIS Apache
.

: Downloads C Apache Next .

Next .

Next .

) (Typical Next .

- Next Install .
Apache .

Finish .

Apache Task bar .

: http://localhost .

: PHP 5
: PHP .
www.php.net/downloads.php

Zip ). Installer !(

ZIP Mirror
) (
: ) . (

Downloads C .

: Zip PHP C ) (Extract php


.

php5ts.dll c:\php Cut ) (


\c:\windows

paste.

php . php Apache


.
: C webs PHP webs
test.
c:\webs\test

: php.ini-dist \ c:\php php.ini -dist) . (


) (php.ini ) (Notepad ) .
- (.
"1. doc_root = "c:\webs\test
"2. extension_dir = "C:\php\ext

)\ ( .

\C:\Program Files\Apache Group\Apache2\conf


httpd.conf
DocumentRoot

.
"DocumentRoot "C:/webs/test

) ( / .

) ( httpd.conf Directory :
>"<Directory "C:/webs/test

httpd.conf . media types


.
"ScriptAlias /php/ "c:/php/
AddType application/x-httpd-php .php .php5
"Action application/x-httpd-php "/php/php-cgi.exe
"SetEnv PHPRC "C:/php

! httpd.conf DirectoryIndex index.php


.
DirectoryIndex index.html index.html.var index.php index.php5

: Apache Apache Restart .


Apache2 Task bar Restart . Restart
.

: Apache PHP 5 index.php


\ c:\webs\test . .
>? ;)"Today is <? print strftime("%m/%d/%Y

: http://localhost Enter .
) !( .

: Restart ) Apache (
Timeout .
Restart http://localhost .

: MySQL
: MySQL .
http://dev.mysql.com/downloads

Community Server ) . (

Pick a mirror )Windows Essential (x86


.

No thanks, just take me to the downloads! : .

Downloads C .

: Downloads C MySQL Next .

Typical Next .

Install .

30 MySQL .

Next Wizard .
Configure the MySQL Server now
. Finish .

) (Configuration Next .

Detailed Configuration Next .

Developer Machine Next .

Multifunctional Database Next .

) (Installation Path Next .

Decision Support (DSS)/OLAP Next .

Next .

Best Support For Multilingualism Next .

. Next ) . (

Modify Security Settings admin


Password . Next .

Execute .

. Finish .

: MySQL Start Run . cmd


OK .

DOS mysql -u root -p Password admin


MySQL .

MySQL demo ) (

demo members firstName lastName.

members .

members Select quit;.


MySQL .

: PHP5 MySQL php_mysqli.dll c:\php\ext


php c:\php .

php.ini c:\php\php.ini )(Comment


. ; .

: Apache Apache Restart .


Apache2 Task bar Restart . Restart
.

: PHP5 MySQL PHP5 MySQL


testmysql.php


\c:\webs\test

. - members demo
.
: PHP Case-Sensitive . .
?<
;)'$mysqli = new mysqli('localhost','root','admin
;)'$mysqli->select_db('demo
;)"$result = $mysqli->query("SELECT * FROM members
{ ))(while($row = $result->fetch_assoc
;'>print $row['firstName'] . ' ' . $row['lastName'] . '<br/
}
;)($result->close
>?

: http://localhost/testmysql.php .

) ( PHP5
MySQL .
php \ c:\webs\test php MySQL
.

ASP.NET
http://www.toofani.net/archive/2002/09/02/asp-net-display-browser-capabilities-article.aspx

HyperLink
http://www.toofani.net/archive/2005/09/29/asp-net-hyperlink-controlarticle.aspx

ArrayList ListBox
http://www.toofani.net/archive/2005/09/10/append-a-listbox-to-an-array-article.aspx

ASP.NET Email
http://www.toofani.net/archive/2005/11/16/sending-email-in-asp-net-article.aspx

ASP.NET
http://www.toofani.net/archive/2005/11/21/ado-net-step-by-step-part-one-article.aspx

- ASP.NET
http://www.toofani.net/archive/2005/11/28/ado-net-step-by-step-part-two-article.aspx

Visual Studio 2005


http://www.toofani.net/archive/2005/12/01/visual-studio-2005-new-features-article.aspx


http://www.toofani.net/archive/2005/12/27/10-reasons-to-learn-and-use-web-standandards-article.aspx

ASP.NET 2.0 Upload


http://www.toofani.net/archive/2006/01/03/how-to-upload-files-in-aspnet-20-article.aspx

CSS -
http://www.toofani.net/archive/2006/04/10/css-layouts-centering-a-design-article.aspx

CSS -
http://www.toofani.net/archive/2006/04/22/create-2-3-css-layouts-fixed-float-article.aspx

Rails app
http://www.toofani.net/archive/2007/09/07/app-directory-structure-in-a-rail-project-article.aspx

Model ActiveRecord
http://www.toofani.net/archive/2007/09/09/activerecord-or-model-in-ruby-on-rails-article.aspx

I share, U share, V learn


Copyright 2008 Shaho Toofani, All rights reserved.

Você também pode gostar