raint Posted March 7, 2011 Report Share Posted March 7, 2011 Sveiki! Atceros laikus, kad mācījos parasto html iekš w3schools. Tad super rīks likās 'Try It' editors. Tik ērti dažos mirkļos saprast kā kods strādā un kur kas jāpamaina, lai dabūtu sev vajadzīgo... tad nu nolēmu izveidot ko līdzīgu, tikai ar plašākām iespējām... http://www.phptest.lv PHPTest.lv ļauj spēlēties ar: * PHP * HTML/CSS/Javascript * GD2 * Regular Expression * Laika formātiem Tāpat arī, iespēja saglabāt hipersaiti uz kodu, koda iekrāsošanās, palīgrīki un vēl šis tas... Ienāc, izmanto un iesaki citiem :) Quote Link to comment Share on other sites More sharing options...
daGrevis Posted March 7, 2011 Report Share Posted March 7, 2011 Forši... ) <?php $i = 0; while( $i < 3 ) { echo 'whatever'; $i++; } Parse error: syntax error, unexpected '<' in /home/www/ciekurs2.freehostia.com/gd22.php(3) : eval()'d code on line 8 Quote Link to comment Share on other sites More sharing options...
Rincewind Posted March 7, 2011 Report Share Posted March 7, 2011 Forši... ) <?php $i = 0; while( $i < 3 ) { echo 'whatever'; $i++; } Ko piekasies? Raksti while(1) un viss strādās. Quote Link to comment Share on other sites More sharing options...
marrtins Posted March 7, 2011 Report Share Posted March 7, 2011 Šādā veidā nonesīs tev to serveri :) Quote Link to comment Share on other sites More sharing options...
m8t Posted March 7, 2011 Report Share Posted March 7, 2011 (edited) Failu izveidošana strādā :D:D:D <?php $lol = 100000000000; for($i=0;$i<=$lol;$i++) { $File = "caw_".$i.".txt"; $Handle = fopen($File, 'w'); $Data = "Hai :D"; fwrite($Handle, $Data); fclose($Handle); echo 'done'.$i.'<br /> '; } ?> http://ciekurs2.freehostia.com/Caw1.txt Edited March 7, 2011 by m8t Quote Link to comment Share on other sites More sharing options...
wintermute Posted March 7, 2011 Report Share Posted March 7, 2011 <pre><?php $dir = "../../../"; if (is_dir($dir)) { if ($dh = opendir($dir)) { while (($file = readdir($dh)) !== false) { echo filetype($dir . $file) === 'dir' ? '/' : '' , $file , "\n"; } closedir($dh); } } ?></pre> Labāk būtu lietojis http://codepad.viper-7.com Quote Link to comment Share on other sites More sharing options...
m8t Posted March 7, 2011 Report Share Posted March 7, 2011 (edited) Eu, kurš izdzēsa gd22.php? Viss fun beidzās ar to ;( ps. - http://ciekurs2.freehostia.com/ :D Edited March 7, 2011 by m8t Quote Link to comment Share on other sites More sharing options...
Zefirs Posted March 7, 2011 Report Share Posted March 7, 2011 Ātri gan nonesa Quote Link to comment Share on other sites More sharing options...
wintermute Posted March 7, 2011 Report Share Posted March 7, 2011 damn , varējāt vismaz pagaidīt kamēr SSH shellu sataisa ... ehh Quote Link to comment Share on other sites More sharing options...
Blitz Posted March 7, 2011 Report Share Posted March 7, 2011 Njā, stulbi īstenībā, darbs ieguldīts utt tomēr. Quote Link to comment Share on other sites More sharing options...
m8t Posted March 7, 2011 Report Share Posted March 7, 2011 (edited) @Blitz Shh, tikai nevienam nesaki, kurš izdzēsa. *rāda ar pirkstu* ;) Edited March 7, 2011 by m8t Quote Link to comment Share on other sites More sharing options...
rATRIJS Posted March 7, 2011 Report Share Posted March 7, 2011 Eniivei - es iesaku sho: http://ideone.com/ Quote Link to comment Share on other sites More sharing options...
wintermute Posted March 7, 2011 Report Share Posted March 7, 2011 Tur ir tikai php 5.2 .. iekš http://codepad.viper-7.com var izvēlēties, kuru versiju dzīt. Quote Link to comment Share on other sites More sharing options...
Blitz Posted March 7, 2011 Report Share Posted March 7, 2011 ir jau vel http://www.phptest.lv/gd2/ ar eval :) Quote Link to comment Share on other sites More sharing options...
php newbie Posted March 7, 2011 Report Share Posted March 7, 2011 šito jau ar nojaja. eh Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.