Php: Unterschied zwischen den Versionen

Aus Vosp.info
Wechseln zu:Navigation, Suche
(Die Seite wurde neu angelegt: „== Debug Einzeiler console.log == <source lang=php> echo("<script>console.log('ncdebug: ".__FILE__.' - '.__CLASS__.' '.__FUNCTION__.' '.__LINE__. ' '.json_enc…“)
 
 
Zeile 1: Zeile 1:
 
== Debug Einzeiler console.log ==
 
== Debug Einzeiler console.log ==
 
<source lang=php>
 
<source lang=php>
  echo("<script>console.log('ncdebug: ".__FILE__.' - '.__CLASS__.' '.__FUNCTION__.' '.__LINE__. ' '.json_encode($_POST) ."');</script><script>console.log(".json_encode($_SERVER)  .");</script>");
+
  echo("<script>console.log('ncdebug: ".__FILE__.' - '.__CLASS__.' '.__FUNCTION__.' '.__LINE__. "');</script><script>console.log(".json_encode($_SERVER)  .");</script>");
 
</source>
 
</source>

Aktuelle Version vom 26. September 2016, 10:04 Uhr

Debug Einzeiler console.log

 echo("<script>console.log('ncdebug: ".__FILE__.' - '.__CLASS__.' '.__FUNCTION__.' '.__LINE__. "');</script><script>console.log(".json_encode($_SERVER)  .");</script>");