leisure Posted July 25, 2005 Report Share Posted July 25, 2005 Man interesee droshaakie (labaakie) registraaciju un loginu varianti!!! Velams gatavus script! Paldies!!! P.S kas ir "&=" ? Link to comment Share on other sites More sharing options...
bubu Posted July 25, 2005 Report Share Posted July 25, 2005 Izmantot https, nevis http. Datubāzē glabāt userid un paroles md5 hešsummu (paranoiķiem md5(md5(pass).'secret')). Kurā vietā ir &= ? Link to comment Share on other sites More sharing options...
Robis Posted July 25, 2005 Report Share Posted July 25, 2005 Nu &= gan jau ka sastopams $variablis &= new Objekts(); Tādā gadījumā tas nozīmē piešķirt $variablis atsauci uz klasi Objekts. Link to comment Share on other sites More sharing options...
bubu Posted July 25, 2005 Report Share Posted July 25, 2005 Ā, nu &= tipa izveido mainīgā sinonīmu, vienkāršoti sakot. Piešķiršana pēc adreses pareizāk tā tas saucās. Piemēram: $a = 1; $b = $a; $a = 2; echo $b; // izdrukās 1 $a = 1; $b &= $a; $a = 2; echo $b; // izdrukās 2 Link to comment Share on other sites More sharing options...
smarty Posted July 26, 2005 Report Share Posted July 26, 2005 ehh pointeris Link to comment Share on other sites More sharing options...
bubu Posted July 26, 2005 Report Share Posted July 26, 2005 Iekš php nav pointeru. Link to comment Share on other sites More sharing options...
Robis Posted July 26, 2005 Report Share Posted July 26, 2005 Iekš php nav pointeru. 19865[/snapback] Kā tad tu to nosauksi? Par kopiju? Pointeris būtībā ir tā pati norāde (atsauce) uz mainīgā vērtību. Es nez, izskaidro? Link to comment Share on other sites More sharing options...
Delfins Posted July 26, 2005 Report Share Posted July 26, 2005 Iekš php nav pointeru. 19865[/snapback] kaut kāds jaut `tipa pointers` ir... tikai ne gluži kā C/asm/etc iekš PHP tas būtu pointeris uz elementu iekš haštabulas (ko PHP izmanto kā virtuālu atmiņu) Link to comment Share on other sites More sharing options...
v3rb0 Posted July 26, 2005 Report Share Posted July 26, 2005 $b &= $a; vai tad nebūs bitwise operācija bet reference $b = &$a; Link to comment Share on other sites More sharing options...
bubu Posted July 26, 2005 Report Share Posted July 26, 2005 Redz kādi mēs visi stulbi izrādāmies beigās :D Link to comment Share on other sites More sharing options...
Delfins Posted July 26, 2005 Report Share Posted July 26, 2005 $b &= $a; vai tad nebūs bitwise operācijabet reference $b = &$a; 19868[/snapback] aha, es arī pabrīnījos, kāpēc visi uzreiz par pointeriem. Link to comment Share on other sites More sharing options...
Robis Posted July 26, 2005 Report Share Posted July 26, 2005 tiešām, sajuka vietām = & būs references tad Link to comment Share on other sites More sharing options...
Recommended Posts