cucumber Posted June 8, 2007 Report Share Posted June 8, 2007 (edited) Ir parasta izvade no mysql, lauka tips ir BLOB binary, vai ir iespeja uztaisit ta, lai php kods stradatu, tas ir ierakstit ieksh mysql failu un pie shadas izvades to palaist? while ($line = mysql_fetch_array($result, MYSQL_ASSOC)) { echo "\t<tr>\n"; foreach ($line as $col_value) { echo "\t\t<td>$col_value</td>\n"; Edited June 8, 2007 by cucumber Link to comment Share on other sites More sharing options...
andrisp Posted June 8, 2007 Report Share Posted June 8, 2007 ...to palaist... Tas ir kā ? Kas tas par failu ? Tu varbūt gribi php kodu glabāt iekš mysql ? Tad tev jāskatās uz eval() Link to comment Share on other sites More sharing options...
cucumber Posted June 8, 2007 Author Report Share Posted June 8, 2007 Ja, palaist php scriptu, tikai man nav iespejas neko mainit. Link to comment Share on other sites More sharing options...
andrisp Posted June 8, 2007 Report Share Posted June 8, 2007 Aaa, nepamaniiju topika nosaukumu saakumaa. Kur iisti probleema ir ? Link to comment Share on other sites More sharing options...
cucumber Posted June 8, 2007 Author Report Share Posted June 8, 2007 Kaut kada veida ir jasaglaba php scripts, lai pie shi scripta (pirmais posts), varetu to palaist. Link to comment Share on other sites More sharing options...
andrisp Posted June 8, 2007 Report Share Posted June 8, 2007 http://dev.mysql.com/doc/refman/5.0/en/insert.html Link to comment Share on other sites More sharing options...
cucumber Posted June 8, 2007 Author Report Share Posted June 8, 2007 Ne iebraucu ko tu gribi man pateikt ar to linku? Ne es saprotu, ka ir javeics insert, tani lauka. Bet kadam scriptam jaiskatas, ja uzraksta <?php echo "aa"?>, tad php neizpildisies. Link to comment Share on other sites More sharing options...
GedroX Posted June 8, 2007 Report Share Posted June 8, 2007 Ja, cik es nopratu, tu gribi, nemainot PHP, bet tikai ierakstot MySql-a tabulā skripta tekstu, kautko uzhakot, tad nu nekas nespīd. Link to comment Share on other sites More sharing options...
cucumber Posted June 8, 2007 Author Report Share Posted June 8, 2007 Ja. Ir kaut kads variants, lai spidetu? Tabluas strukturu ir iespejams mainit. Link to comment Share on other sites More sharing options...
andrisp Posted June 8, 2007 Report Share Posted June 8, 2007 Ja mysql rezults netiek evalēts (eval()), tad nav variantu. Link to comment Share on other sites More sharing options...
GedroX Posted June 8, 2007 Report Share Posted June 8, 2007 Visnotaļ naivi. :) Bet XXS gan tu vari uztaisīt. Par pamatpiemēru -- ievieto tabulā <script>location.href="http://www.sex.com";</script> Atkarībā no sistēmas, var saņemt sesijas ID, izdzēst profilu... Have fun! :D Link to comment Share on other sites More sharing options...
cucumber Posted June 8, 2007 Author Report Share Posted June 8, 2007 Nezinu labi javascript, bet ka var dabut sessijas ID un ko tas dos? Link to comment Share on other sites More sharing options...
andrisp Posted June 8, 2007 Report Share Posted June 8, 2007 Vai nu būs labi tādas lietas darīt ? :) Ja tik ļoti interesē tad pameklē gūglē. Link to comment Share on other sites More sharing options...
cucumber Posted June 8, 2007 Author Report Share Posted June 8, 2007 (edited) Doma bija tada, ir uzlazts saits un ieguta mysql administreshana (phpmyadmin). Ta ka var redzet ka saitu update labi ja vienreizs gada, tad uzmest shellu un vienkarshi likt uz ta savus scriptus talakam sliktam lietam ?). Taka tads halavnijs hostings. Edited June 8, 2007 by cucumber Link to comment Share on other sites More sharing options...
andrisp Posted June 8, 2007 Report Share Posted June 8, 2007 Tipa phpmyadminam parole nebija uzlikta ? Tu nu gan esi dīvains, cerēdams, ka mēs tev tagad dosim padomus kā ar nelegālām lietām nodarboties. Link to comment Share on other sites More sharing options...
Recommended Posts