asp.net ?????? ??? ?? PHP ?????? ?? ???? ?????~~ ??? ???? ????!
Jul 29, 2016 am 08:35 AMPHP? ?? ??? ??? ?????~ ?? ??? ??????
??? ??b //?? ??
{
var $db= "localhost";//?????? ??;
var $dbname = "root";//??? ??;
var $dbpwd = "";//Password
var $dbtable = " mysql";//??? ??????
var $conn; //?????? ??;
var $result; //?? ??
var $mysql; //??? mysql
var $row; // ?? ???? ??? ??
function createconn( ) //? ??? ???? conn ??? ??? ?? ?????? ??? ???? ????.
{
$this->conn = mysql_connect($this-> ;db,$this->dbname,$this-> ;dbpwd)
mysql_select_db($this->dbtable,$this->conn)
}
function getresule() / /??? ?? ??? ???? ????.
{
$this->result = mysql_query($this->mysql,$this->conn)
}
function getrow() //??? ?? ?? ??? ??
{
$this->row = mysql_fetch_array($this->result)
return $this->row
}
function closedatabase()
{
mysql_close( $this->conn)
}
}//???? ???? mysql ?????? ???? ?? ?? ???? ???? ?????
/ /?????? ?? ??? ??????.
/* $bb = newcreatedb //??? ?????
$bb->createconn();//??? ?? ??
$bb->mysql ="select * from friends_conf";
$ bb->getresule(); //?? ??? ???? ?? ??? ??
while($bb->getrow()){ //??? ?? ???? ???? ??? ??? ?? ???? ????
echo($bb ->row["confname"])
echo($bb->row["confvalue"]);
}*/
?>
//Paging ???~ ?? ? ???
??? pagefy extendscreatedb{
var $nametatol; of records
var $namemust = 1; //? ???? ????? ?? ??? ?
var $pageall
var $i = 1; var $m; var $p = 8; //??? ??? ??;
var $a
function gettatol() //?? ??? ?? ???? ??
{ //?? ??????? ?????.
$this->nametatol = $this->row[0]; //? ??? ?
}
function getpage() //? ??? ? ????
{
$this->pageall = $this->nametatol % $this->namemust;
if($ this->pageall)
{
$this->pageall = ( int)($this->nametatol / $this->namemust) 1;
return $this->a = $this->pageall
}
else
{
return $this->a = $this->pageall = (int)($this->nametatol / $ this->namemust)
}
}
function num_pl( ) //??? ?? ??
{
$this->pageall = $this->pageall - ($this ->pageall - $this->p)
while($this ->pageall)
{
echo("$this->i")
echo(" "); //?? ??? ?????? ????????? this->pageall =$this->pageall -1
}
}
function get_num_pl() //LIMIT? ?? ????(?? ROW ??)
{
$this->m = $_GET["n"] * $this->namemust - $this->namemust
}
function showpage() //???? ??? ??? ??
{
$this->createconn()
$this->mysql="select * from friends_conflimit $this-> m ,$this->namemust";
$this->getresule();
while($this->getrow())
{
echo($this-> row ["confname"]); //?? ?? ??? ?? ?????
echo($this->row["confvalue"])
}
}
function firstpage ( ) //????
{
echo("????")
}
function backpage() // ?? ???
{
if($this->i = $_GET["n"] - 1)
{
echo("?? ???");
}
}
function nextpage() //?? ???
{
$ this->i = $_GET["n"] 1;
if($this->i <= $this->a)
{
echo("?? ???");
}
}
function footpage() //??? ???
{
echo("< a href='pagefy.php?n=$this->a'>??? ???");
}
}
?>
$mm = new pagefy;
$mm->createconn()
$mm->mysql="select count(*) from friends_conf"; ;getresule();
$mm->gettrow()
$mm->getpage (); $mm->num_pl()
$mm->get_num_pl()
$mm->closedatabase(); ;
$mm->firstpage();
$mm->footpage(); ??>?>
? ???? ????????! ???? ?? ???? ~~~~~~~~~~~~~~~~
???? ?????. ?~ ??? ??? ?? ?? ?? ???? ?? ??? ???? ??!~ ? ???? ??~~
?? ?? ?? ??? ??? ???~~~~~~??????????????????????>??? ? ????? ??? ????? ???~~ ??? ???? ?????~
?? asp.net ?????? ??? ?????. ?? PHP ?????? ?? ???? ???? ??? ???? ????. ?? ?? ????? ??? ?? ????. PHP ??????.

? AI ??

Undress AI Tool
??? ???? ??

Undresser.AI Undress
???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover
???? ?? ???? ??? AI ?????.

Clothoff.io
AI ? ???

Video Face Swap
??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

?? ??

??? ??

???++7.3.1
???? ?? ?? ?? ???

SublimeText3 ??? ??
??? ??, ???? ?? ????.

???? 13.0.1 ???
??? PHP ?? ?? ??

???? CS6
??? ? ?? ??

SublimeText3 Mac ??
? ??? ?? ?? ?????(SublimeText3)

PHP ?? ??? ?? ???? ?? ? ????? ??? ?????. 1. ?? ??? ??? ??? ??? ? ? ??? ??? ??? ?? ?? ??? ???? ???????. 2. ?? ??? ???? ???? ? ?? ????? ?? ?? ?? ??? ?????. 3. $ _get ? $ _post? ?? Hyperglobal ??? ?? ???? ?? ??? ? ??? ??? ??????? ???????. 4. ?? ?? ?? ???? ?? ?? ?? ??? ?????? ?? ??? ??? ?? ??? ???????. ??? ??? ????? ??? ??? ?? ???? ????? ? ??? ? ? ????.

PHP ?? ???? ???? ????? ?? ? ??? ???? ?? ?? ? ??? ???? ?? ??? ?????? ??? ??? ? ? ???????. 1. ??? ?? CSRF? ???? ?? ??? ??? ???? ?????? ??? ???? FINFO_FILE? ?? ?? MIME ??? ?????. 2. ??? ??? ??? ???? ??? ?? ??? ?? ? WEB ????? ??? ???? ??????. 3. PHP ?? ??? ?? ? ?? ???? NGINX/APACHE? ??? ????? ?? ???? ?????. 4. GD ?????? ??? ? ?? ???? ??? ?? ??? ?? ????.

PHP ?? ???? ? ?? ???? ??? ????. 1. // ?? #? ???? ? ?? ??? ???? // ???? ?? ????. 2. ?? /.../ ?? ?? ?? ??? ????? ?? ? ?? ??? ?? ? ? ????. 3. ?? ?? ?? / if () {} /? ?? ?? ??? ????? ??? ?? ?? ?? ??? ???? ????? ???? ??? ?? ???? ???? ??? ? ??? ??????.

Ageneratorinphpisamemory- ???? Way-Erate-Overgedatasetsetsbaluesoneatimeatimeatimeatimallatonce.1.generatorsuseTheyieldKeywordTocroadtOpvaluesondemand, RetingMemoryUsage.2

PHP ??? ???? ??? ??? ??? ????? ????. ??? ????? ?? ???? ??? "?? ? ?"??? "?"? ???????. 1. ??? ? ??? ??? DocBlock (/*/)? ?? ?? ??? ???? ??? ? ?? ???? ??????. 2. JS ??? ???? ?? ???? ??? ?? ??? ??? ?????. 3. ??? ?? ?? ?? ??? ???? ????? ????? ???? ?? ????? ???? ? ??????. 4. Todo ? Fixme? ????? ???? ? ? ??? ??? ???? ?? ?? ? ??? ???????. ??? ???? ?? ??? ??? ?? ?? ?? ???? ???? ? ????.

tolearnpheffectical, startBysetTupaloCalserErverEnmentUsingToolslikexamppandacodeeditor -likevscode.1) installxamppforapache, mysql, andphp.2) useacodeeditorforsyntaxsupport.3)) 3) testimplephpfile.next, withpluclucincludechlucincluclucludechluclucled

PHP??? ???? ??? ?? ?? ????? ???? ??? ?? ??? ??? ?? ? ??? ??? ???? ?????. ???? 0?? ???? ?? ??? ???? ? ?? ???? ?? ?? ? ? ????. MB_SUBSTR? ?? ??? ??? ???????. ? : $ str = "hello"; echo $ str [0]; ?? H; ??? MB_SUBSTR ($ str, 1,1)? ?? ??? ??? ??? ??????. ?? ???????? ???? ??? ???? ?? ???? ?? ?? ???? ?????? ??? ????? ?? ??? ?? ??? ???? ???? ?? ????.

toinstallphpquickly, usexampponwindowsorhomebrewonmacos.1. ??, downloadandinstallxAmpp, selectComponents, startApache ? placefilesinhtdocs.2
