Dein Account wurde ausgeschlossen. Ausschlussgrund: Unbekannt
Ausschluss wird aufgehoben: Unbekannt

  • 0 Bewertung(en) - 0 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with assign and PHPinfo

I have a quite strange problem with Smarty verified on three different machines with different OS, Web-Server and PHP-Version.I have a framework set up with Smarty and its works great. But when I try to insert the output of "phpinfo" into Smarty it is shown once and then my session is killed. I figured out that it has something to do with string itself.When I replace phpinfo() with something like "echo 'Hello World';" there is no problem. I broke done the output of phpinfo and figured out that the content "Array" was the problem. When I replace the string "Array" before assigning it, it works.But this cannot be the solution. Is there a way to verify/escape a string before assigning it ? I tried the modifiers but that did not help. 

Please help.

I did not find the right solution from the internet.

References: -
Explainer video quote


Gehe zu:

Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste