Aleksejs Posted September 15, 2003 Report Share Posted September 15, 2003 Nu tad jautaajums ir, vai tu tieshaam: 1) Izlabo pareizo failu; 2) Ja labo uz lokaalaa kompja, vai neaizmirsti uzmest uz servera ;) P.S. Starp citu.. <code><font color="#000000"> <font color="#0000CC"><?php $a</font><font color="#006600">=<</font><font color="#0000CC">html</font><font color="#006600">><</font><font color="#0000CC">body</font><font color="#006600">><</font><font color="#0000CC">b</font><font color="#006600">></font><font color="#0000CC">Hello world</font><font color="#006600"></</font><font color="#0000CC">b</font><font color="#006600">></</font><font color="#0000CC">body</font><font color="#006600">></</font><font color="#0000CC">html</font><font color="#006600">> If(</font><font color="#0000CC">$a</font><font color="#006600">=</font><font color="#0000CC">index</font><font color="#006600">.</font><font color="#0000CC">html</font><font color="#006600">); echo </font><font color="#CC0000">"HELLO WORLD "</font><font color="#006600">; exit; else echo </font><font color="#CC0000">"pi....s taalaak:)); ?> </font> </font> </code> ...ir pilns ar kljuudaam :P Link to comment Share on other sites More sharing options...
Uldeens Posted September 15, 2003 Author Report Share Posted September 15, 2003 Aleksej.... Es zinu ka pilns ar kluudaam... :( Man bez kluudaam jau nekaa cita skriptos nav. :( Tapeec jau raxtu kluudas jo ja kluudas iznem araa nekas neoaliek :(( Link to comment Share on other sites More sharing options...
Aleksejs Posted September 15, 2003 Report Share Posted September 15, 2003 Tapeec jau raxtu kluudas jo ja kluudas iznem araa nekas neoaliek :(( Tas nav paaraak labs debugoshanas liidzeklis ;) Tad jau labaak pirms un peec komandas, kas itkaa neiet ieliec echo tjipa: <code><font color="#000000"> <font color="#0000CC"><? </font><font color="#006600">echo(</font><font color="#CC0000">'Pirms komandas'</font><font color="#006600">); </font><font color="#0000CC">superminiextraviltiigaakomanda</font><font color="#006600">(</font><font color="#0000CC">$ar</font><font color="#006600">, </font><font color="#0000CC">$ljoti</font><font color="#006600">, </font><font color="#0000CC">$daudz</font><font color="#006600">, </font><font color="#0000CC">$nesaprotamiem</font><font color="#006600">, </font><font color="#0000CC">$parametriem</font><font color="#006600">); echo(</font><font color="#CC0000">'Peec komandas'</font><font color="#006600">); </font><font color="#0000CC">?> </font> </font> </code> Taa vismaz redzeesi, vai skripta izpilde aiziet liidz tai komandai, paariet tai paari, vai gadiijumaa browseris tev nedod aaraa nocachoto lapu utt. Link to comment Share on other sites More sharing options...
Venom Posted September 15, 2003 Report Share Posted September 15, 2003 if($login==$idiots); <<<<< nu šeit nedrīks būt semikols! citādi sanāk if ($login==$idiots) do nothing and break; else heh? wtf? ERROR { do something } Link to comment Share on other sites More sharing options...
Recommended Posts