PHP4 ASP.NET - |
ASP.NET - ASP. Microsoft, .NET. .NET , , " " (safe-programming).
PHP - , . , PHP Personal Home Page , . PHP - , HTML. , . , PHP .
PHP . , - . ASP.NET . Visual Studio, MSDN - . MSDN. , , Microsoft - . , - , , . ASP.NET - .
... ? - , . ? - - , . ? - : , , , - ! , ASP.NET Visual Studio Delphi, , , . , ASP.NET-, - Visual Basic.NET C#, - Visual Basic Java/C++. Visual Basic Visual Basic.NET ( ), ++, Java C#, , - .
ASP.NET , . ASP.NET- Visual Basic.NET C# (- managed C++ J#). - , Delphi 8 - ASP.NET, , , .
"" ASP.NET - IIS, Windows. , IIS -, Windows - . .
Windows 2000 IIS, . ASP- (ASP.NET , , , - , , - ). , , . , , FreeBSD 4.x, / . , . , , Windows, FreeBSD. , 90-95% "" , "" .
- , Windows , Unix/Linux. , . ASP.NET - Windows. , , Mono, .NET- Linux (, , FreeBSD ), mod (- - ) Apache ASP.NET-. - ASP.NET *nix - , .
ASP.NET - , . - .NET. .NET, , , ? - . .NET-: . , , - .
Microsoft, - . - , , . - , -, . , , ? , , , , . , Pocket PC, MAC, - . . ASP.NET . , ? ! , , , .
- . ? , , . , .NET. , , Unix- . , Unix - stand-alone-, , , . , 20-50 . , Unix- Unix-, Windows . , MySQL -. Windows Server 2003 SQL Server - ( . Unix . , - , Windows, Unix, . - . ).
ASP.NET. ASP-, . C Perl Basic Pascal. , C - . , PHP, - , .
PHP4 . , , . PHP . . , , , - .
PHP - , , . PHP ( MySQL ), . , PHP .
ASP.NET (- , PHP- ). PHP IIS, Apache (, ) , ASP.NET. , ASP. , Microsoft, , PHP ASP.NET. . , , . "" PHP + MySQL + Apache ASP.NET + IIS + Microsoft SQL Server 2000.
, ASP.NET ? . Microsoft , , Linux/Unix , Windows ( Microsoft . - ). , , . , - , ASP.NET , . , , - , . . + MySQL , . ASP.NET + MS SQL.
( ODBC) . , MS SQL Server, SAP MaxDB ( SAP, 7.5), ASP.NET. , - , ASP.NET , ( ADO.NET MS SQL), .
, Microsoft , Unix/Linux, PHP MySQL, . , , -, , (Linux PHP, , . MySQL. PHP, , , . , Zend, , , . - . ), -, . , Linux Windows. , , , MySQL. ( . Unix . , - , Windows, Unix, . - . .).
PHP. - , . , ( , , , Zend Studio, Visual Studio), , .
, , :
<p><?$bukvi = "abcdefg";$stroka = "abcdefg";echo $stroka[0]; echo "<br>";echo $bukvi[0]; echo "<br>";if ($srtoka[0] == $bukvi[0])echo " ";elseecho " ";?></p>
, .
( ) , C# . , , , , . , .
, , : php.ini . . PHP- , . , PHP 4.3.6 4.3.8, . PHP, , PHP, .
, - , . , , . , . # , , , , - . ASP.NET , . - - ASP.NET , - HTML. PHP- , ASP.NET . . , , .NET, , , . - - .
: - ASP.NET- 3:2, , , , PHP . , , ( 1:10), .
ASP.NET- , PHP- 800, 1000 ( www.job.ru), ASP.NET-, , 800 . - , , , .
, - PHP; - , Microsoft ( - . , PHP ASP.NET. Perl, PHP . - . ), ; HP, IBM, Sun, Oracle, . .
? . , , : - ASP.NET, , . , - 1:9 , .
- " ", . , ( , , ).
( ASP.NET PHP) . () : , .
ASP.NET:
private void Button0_Click(object sender, System.EventArgs e){string alphabyte= "ABCDEFGHIJKLMNOPQRSTUVWXYZި";int[] counter =new int[alphabyte.Length];//-string Text=TextBox1.Text;// Text=Text.ToUpper();// foreach (char t in Text)// {// -for (int i=0; i<alphabyte.Length;i++){// ,// - if (t==((char)alphabyte[i])) counter[i]++;}}//for(int i=0; i<counter.Length;i++){if (count[i]!=0){Response.Write(" "+alphabyte[i]+" "+ Convert.ToString(count[i])+" <BR>");}}}
, Visual Studio. , ""; . , , HTML ASP.NET ( - , ). , , , , . , .
:
<form action="test.php" method="POST"> <input type="text" name="str"><input type="submit" name="submit" value=""><?php$quiz_string=$_POST['str'];if (strlen($quiz_string)!=0){$alphabyte='QWERTYUIOPASDFGHJKLZXCVBNMި';$quiz_string= $quiz_string.strtoupper($quiz_string);for ($i=0; $i<strlen(quiz_string);$i++){for ($j=0; $j<strlen($alphabyte);$j++){if ($alphabyte[$j]==$quiz_string[$i]) {$result[$j]+=1;}}}echo '<br>';for ($j=0; $j<strlen($alphabyte);$j++){if (strlen($result[$j])!=0) {echo " $alphabyte[$j] $result[$j] <BR>";}//echo $quiz_string;}}?></form>
, HTML, ASP.NET , HTML.
ASP.NET: , .
PHP: , , .
: | web- |