note 33558 added to function.eval
| From: | zee at odtu dot com | Date: | Mon, 30 Jun 2003 16:39:32 +0000 |
| Subject: | note 33558 added to function.eval | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-51221@lists.php.net to get a copy of this message | ||
mysql+eval=all website example :
---------------------------------
table :
id = 1
name = index.php
code = echo "in the web site !, links, image,";
mysql_query ("select * from table where adi=home.php");
---------------------------------
mysql_connect(....);
$rows=mysql_query ("select * from table where name='$_GET[name]' ");
while ($row=mysql_fetch_array($rows)):
eval($row[code]);
endwhile;
---------------------------------
index or for other files all web site in the mysql...
----
Manual Page -- http://www.php.net/manual/en/function.eval.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33558
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33558&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33558&report=yes