foxsk8 Posted September 17, 2006 Report Posted September 17, 2006 Ir tada lieta, man ir viens exploits ko esmu dabujis no savas majas lapas nograusanas caur php, reali ka nokonfiguret php.ini lai tas neizpilditos raditu kludas! Itka testeju sanak, ja izsledzam short open tag tas exploits nestrada, bet man vinu vajag ieslegtu turet jo citas lietas nestrada piem ka cutenews! Zinu ka cutenews nav mode, tapec ludzu lieki nedirst pa to! :) scriptu mest te negribas, saprotiet pasi kapec!
bubu Posted September 17, 2006 Report Posted September 17, 2006 Paņem norepleiso savos skriptos <?[^p] uz <?php Tam nevajadzētu būt ne grūti, ne arī ilgi.
foxsk8 Posted September 17, 2006 Author Report Posted September 17, 2006 Man jau ari bija tada doma, tagad viss iet ka vajag, parlaboju, vienkarsi gribeju parliecinaties! A ko tiesi dod ja neliek to php klat? Nah vispar tas vajadzigs, nu lab vietas zina minimala ko aiznem, ta jau labak jo drosak likt visur klat, kas tas pa kodu, lai parejais negluko! TNX par atbildi!
blackhalt Posted September 17, 2006 Report Posted September 17, 2006 tas <? jau no laika gala ir bijis problemātisks. Vienmēr lieto <?php
foxsk8 Posted September 17, 2006 Author Report Posted September 17, 2006 Ir problemas ar sito te <p></p> <p> <br><b>Jaunākie faili</b> <hr width=70%> <?=$filelist?> <hr width=70%> </p> <p align="left"> </p> <p align="left"> </p> <p align="left"> </p> <p align="left"> </p> <p align="left"> <font face="verdana" color="#bccbdc" size="1.5"> Kā lai sito piedabu ar to <?php darboties itka lieku, tad atver lapu un rada eroru ka pieraksts nav pareiz un nekas neradas, kapec ta? Kipa tas ir upload scripts! Sitais rada pievienotos failus
bubu Posted September 17, 2006 Report Posted September 17, 2006 RTFM varbūt? http://lv.php.net/manual/en/ini.core.php#ini.short-open-tag Note: This directive also affects the shorthand <?=, which is identical to <? echo. Use of this shortcut requires short_open_tag to be on.
Grey_Wolf Posted September 18, 2006 Report Posted September 18, 2006 (edited) <?=$filelist?> visur kur ir <?= uzliec <?php echo ... tik neaizmirsti arii pirms ?> uzikt zemikolu ; Edited September 18, 2006 by Grey_Wolf
andrisp Posted September 18, 2006 Report Posted September 18, 2006 Man šķiet, ka semikols pirms ?> nav obligāts, bet labāk likt gan.
Recommended Posts