tk1 Posted January 3, 2008 Report Share Posted January 3, 2008 Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /www/home/gamming.lv/administration/panel_editor.php(111) : eval()'d code on line 3 echo "<!-- ------------------------------------------------------ //- --> <script LANGUAGE="JavaScript"><!-- Begin jsver = "1.0"; // End --></SCRIPT> <script LANGUAGE="JavaScript1.1"><!-- Begin jsver = "1.1"; // End --></SCRIPT> <script Language="JavaScript1.2"><!-- Begin jsver = "1.2"; // End --></SCRIPT> <script Language="JavaScript1.3"><!-- Begin jsver = "1.3"; // End --></SCRIPT> <script LANGUAGE="JavaScript"><!-- Begin {window.onerror=null; d=document; if (window.screen.fontSmoothingEnabled == true) sfont=1;else sfont=0; hl=history.length; cd=window.screen.colorDepth; sw=window.screen.width; sh=window.screen.height; document.cookie="t=a";c=0;if (document.cookie)c=1; ref=escape(d.referrer); if (self != top)fr=1;else fr=0; t=(new Date()).getTimezoneOffset()/60*-1; if( parent.window.frames.length ){var i = parent.window.frames.length;var p = 'document.referrer'; for ( var e = 0; e<i; e++ ){ p = 'parent.window.'+p; }ref = eval( p ); } document.write("<a href='http://puls.lv' target='_blank'><img width=88 height=31 border='0' alt='PULS.LV Professional statistical system' src=http://u33.puls.lv/?cid=19348&jsver="+jsver+"&sfont="+sfont+"&hl="+hl+"&cd="+cd+"&sw="); document.write(+sw+"&sh="+sh+"&c="+c+"&fr="+fr+"〈=l&t="+t+"&ref="+ref+"></a>"); }// End --></SCRIPT> <noscript> <a href="http://puls.lv/" title="PULS.LV Professional statistical system" target="_blank"> <img src="http://u33.puls.lv/?cid=19348〈=l" width="88" height="31" alt="PULS.LV Professional statistical system" border="0"> </a> </noscript> <!-- ------------------------------------------------------ //- --> "; Kas īsti varētu viņam nepatikt, sis ir plus.lv banneris, googlejot atradu ka nesaskaņas starp JS un PHP Link to comment Share on other sites More sharing options...
Delfins Posted January 3, 2008 Report Share Posted January 3, 2008 Tev taču viss rakstīts priekšā. Eskeipo pēdiņas... PULS baneris ir HTML kodā... tas nenozīmē, ka ieliekot starp echo ""; uzreiz viss strādās... Un vispār... nafig tev ECHO-ot viņu ? Link to comment Share on other sites More sharing options...
andrisp Posted January 3, 2008 Report Share Posted January 3, 2008 (edited) ... ?> html <?php .... Edited January 3, 2008 by andrisp Link to comment Share on other sites More sharing options...
tk1 Posted January 3, 2008 Author Report Share Posted January 3, 2008 Big tnx! :* Link to comment Share on other sites More sharing options...
andrisp Posted January 3, 2008 Report Share Posted January 3, 2008 Tu viņu mēģini evalēt ? Loģiski, ka nevarēsi. Link to comment Share on other sites More sharing options...
Grey_Wolf Posted January 3, 2008 Report Share Posted January 3, 2008 googlejot atradu ka nesaskaņas starp JS un PHP kads sakars JS ar PHP??? --- Ja galigi nevar savadak (par ko Ljoti saubos) tad var echo vieta izmantot <<<END bla a'' sdlldl tiri piri te kautkas rakstiits ... END; tikai jatceras ka pirms END nekas nedrikst buut , tb jabut jauna rinda.... + Var aii izmantot PHP mainigos $kautkas un ja masivu tad {$masivs['katkas']} .... ---------- Bet nu tas ir tikai retos gadijumos...... Link to comment Share on other sites More sharing options...
Recommended Posts