Believe it or not it takes 3 months for me to figure out how to make this things out! Ob Sie es glauben oder nicht, es dauert 3 Monate für mich, um herauszufinden, wie man diese Dinge heraus!
Basically Drupal CMS allow us to put PHP code inside every admin post. Grundsätzlich CMS Drupal erlauben uns, die PHP-Code innerhalb jeder admin Post. Posting code below will output exactly as file with .php extension using Posting-Quelltext wird Ausgang genau so, wie Datei mit. Php-Erweiterung mit
eval() function. eval ()-Funktion.
<?php <? php
phpinfo(); phpinfo ();
?>
The results will output phpinfo() information on the posted articles… of course you may use another functions like date() , strtoupper() or what ever. Die Ergebnisse werden ausgegeben phpinfo () Informationen über die veröffentlichten Artikel… natürlich können Sie einen anderen Funktionen wie date (), strtoupper () oder was auch immer. The great things was we also could execute SQL command trough any post. Die große Dinge war könnten wir auch SQL-Befehl Trog jede Post. See the sample code below… Siehe das Beispiel-Quelltext…
<?php <? php
$array = db_fetch_array(db_query('SELECT * FROM {system}')); $ array = db_fetch_array (db_query ( 'SELECT * FROM (System }'));
print_r($array); print_r ($ array);
?>
will return zurück

